Clean up BRs
The libhif BRs should only be pulled in if building with bundled libhif.
This commit is contained in:
parent
8a57b061b9
commit
2f39d383bb
@ -24,30 +24,32 @@ BuildRequires: chrpath
|
|||||||
BuildRequires: gtk-doc
|
BuildRequires: gtk-doc
|
||||||
BuildRequires: gnome-common
|
BuildRequires: gnome-common
|
||||||
BuildRequires: gobject-introspection
|
BuildRequires: gobject-introspection
|
||||||
BuildRequires: cmake
|
|
||||||
# Core requirements
|
# Core requirements
|
||||||
BuildRequires: pkgconfig(ostree-1) >= 2015.1
|
BuildRequires: pkgconfig(ostree-1) >= 2015.1
|
||||||
BuildRequires: pkgconfig(libgsystem)
|
BuildRequires: pkgconfig(libgsystem)
|
||||||
BuildRequires: pkgconfig(json-glib-1.0)
|
BuildRequires: pkgconfig(json-glib-1.0)
|
||||||
BuildRequires: pkgconfig(rpm)
|
BuildRequires: pkgconfig(rpm)
|
||||||
BuildRequires: pkgconfig(libarchive)
|
BuildRequires: pkgconfig(libarchive)
|
||||||
%if %{with bundled_libhif}
|
|
||||||
%else
|
|
||||||
BuildRequires: pkgconfig(libhif)
|
|
||||||
%endif
|
|
||||||
BuildRequires: libcap-devel
|
BuildRequires: libcap-devel
|
||||||
BuildRequires: libattr-devel
|
BuildRequires: libattr-devel
|
||||||
# libhif deps
|
|
||||||
|
# We currently interact directly with librepo
|
||||||
BuildRequires: pkgconfig(librepo)
|
BuildRequires: pkgconfig(librepo)
|
||||||
|
|
||||||
|
%if %{with bundled_libhif}
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRequires: pkgconfig(expat)
|
||||||
|
BuildRequires: pkgconfig(check)
|
||||||
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: python-sphinx
|
||||||
%if (0%{?rhel} != 0 && 0%{?rhel} <= 7)
|
%if (0%{?rhel} != 0 && 0%{?rhel} <= 7)
|
||||||
BuildRequires: libsolv-devel
|
BuildRequires: libsolv-devel
|
||||||
%else
|
%else
|
||||||
BuildRequires: pkgconfig(libsolv)
|
BuildRequires: pkgconfig(libsolv)
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: pkgconfig(expat)
|
%else
|
||||||
BuildRequires: pkgconfig(check)
|
BuildRequires: pkgconfig(libhif)
|
||||||
BuildRequires: python-devel
|
%endif
|
||||||
BuildRequires: python-sphinx
|
|
||||||
|
|
||||||
Requires: ostree >= 2014.6
|
Requires: ostree >= 2014.6
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user