Add new libdnf build deps
This commit is contained in:
parent
97dfb21638
commit
1bbf6bb833
@ -58,7 +58,7 @@ BuildRequires: pkgconfig(libcurl)
|
|||||||
# We're using RPATH to pick up our bundled version
|
# We're using RPATH to pick up our bundled version
|
||||||
%global __requires_exclude ^libdnf[.]so[.].*$
|
%global __requires_exclude ^libdnf[.]so[.].*$
|
||||||
|
|
||||||
# Our bundled libdnf.so.1 is for us only
|
# Our bundled libdnf.so.2 is for us only
|
||||||
%global __provides_exclude_from ^%{_libdir}/%{name}/.*$
|
%global __provides_exclude_from ^%{_libdir}/%{name}/.*$
|
||||||
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
@ -73,6 +73,20 @@ BuildRequires: pkgconfig(libsolv)
|
|||||||
# We need g++ for libdnf
|
# We need g++ for libdnf
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
|
||||||
|
|
||||||
|
# more libdnf build deps (see libdnf's spec for versions)
|
||||||
|
%global swig_version 3.0.12
|
||||||
|
%global libmodulemd_version 1.6.1
|
||||||
|
BuildRequires: swig >= %{swig_version}
|
||||||
|
BuildRequires: pkgconfig(modulemd) >= %{libmodulemd_version}
|
||||||
|
BuildRequires: pkgconfig(json-c)
|
||||||
|
BuildRequires: pkgconfig(cppunit)
|
||||||
|
BuildRequires: pkgconfig(sqlite3)
|
||||||
|
BuildRequires: pkgconfig(smartcols)
|
||||||
|
BuildRequires: gpgme-devel
|
||||||
|
|
||||||
|
Requires: libmodulemd%{?_isa} >= %{libmodulemd_version}
|
||||||
|
|
||||||
# In CentOS7/RHEL the package is client-only right now, but we can do both
|
# In CentOS7/RHEL the package is client-only right now, but we can do both
|
||||||
%if 0%{?rhel} != 0 && 0%{?rhel} <= 7
|
%if 0%{?rhel} != 0 && 0%{?rhel} <= 7
|
||||||
Provides: rpm-ostree-client
|
Provides: rpm-ostree-client
|
||||||
|
Loading…
Reference in New Issue
Block a user