From: Harald Hoyer Date: Wed, 30 Sep 2015 12:10:20 +0000 (+0200) Subject: dracut.spec: omit pkg-config from dependencies X-Git-Tag: 044~96 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9befacf0c51e15fe8a199242c3bfd97d1adf455c;p=thirdparty%2Fdracut.git dracut.spec: omit pkg-config from dependencies --- diff --git a/dracut.spec b/dracut.spec index 6ef5de7af..d0bb9bd77 100644 --- a/dracut.spec +++ b/dracut.spec @@ -1,6 +1,11 @@ %define dracutlibdir %{_prefix}/lib/dracut %bcond_without doc +# We ship a .pc file but don't want to have a dep on pkg-config. We +# strip the automatically generated dep here and instead co-own the +# directory. +%global __requires_exclude pkg-config + # Variables must be defined %define with_nbd 1 @@ -327,6 +332,7 @@ rm -rf -- $RPM_BUILD_ROOT %endif %dir %{_sysconfdir}/dracut.conf.d %dir %{dracutlibdir}/dracut.conf.d +%dir %{_datadir}/pkgconfig %{_datadir}/pkgconfig/dracut.pc %if %{with doc}