Skip to content

Commit

Permalink
[libsolv] Update libsolv build options based on Fedora package. Fixes…
Browse files Browse the repository at this point in the history
… MER#1990

- Enable support for comps and appdata repodata
- Enable complex dependency handling support
- Enable handling compressed repodata files
- Change to use librpm for rpmdb access

Signed-off-by: Neal Gompa <ngompa13@gmail.com>
  • Loading branch information
Conan-Kudo committed Nov 20, 2018
1 parent e842db8 commit 51df684
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion rpm/libsolv.spec
Expand Up @@ -10,7 +10,8 @@ URL: https://github.com/openSUSE/libsolv
Source0: %{name}-%{version}.tar.gz
BuildRequires: pkgconfig(rpm)
BuildRequires: pkgconfig(zlib)
BuildRequires: db4-devel
BuildRequires: bzip2-devel
BuildRequires: xz-devel
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: perl-devel
Expand Down Expand Up @@ -90,6 +91,14 @@ A new approach to package dependency solving.
%build
%cmake . \
-DFEDORA=1 \
-DENABLE_COMPS=1 \
-DENABLE_APPDATA=1 \
-DENABLE_COMPLEX_DEPS=1 \
-DENABLE_RPMDB_BYRPMHEADER=1 \
-DENABLE_RPMDB_LIBRPM=1 \
-DENABLE_RPMPKG_LIBRPM=1 \
-DENABLE_LZMA_COMPRESSION=1 \
-DENABLE_BZIP2_COMPRESSION=1 \
-DENABLE_SUSEREPO=1 -DENABLE_HELIXREPO=1 \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DLIB=%{_lib} \
Expand Down

0 comments on commit 51df684

Please sign in to comment.