Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'update-solv-options' into 'master'
Update libsolv build options based on Fedora package

See merge request mer-core/libsolv!5
  • Loading branch information
Andrew Branson committed Dec 17, 2018
2 parents e842db8 + 51df684 commit c2582f7
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 c2582f7

Please sign in to comment.