From 6e7b38d1d90c93a2cefbf6a3297c56f32745c38e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 30 Jan 2018 11:18:20 +0100 Subject: [PATCH] Use librpm to access DB Signed-off-by: Igor Gnatenko --- .gitignore | 1 + libsolv.spec | 12 +++++++----- sources | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index cce0b1a..c7c26b9 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,4 @@ /libsolv-0.6.30.tar.gz /libsolv-97b8c0c.tar.gz /libsolv-ae214a6.tar.gz +/libsolv-8bdcce1.tar.gz diff --git a/libsolv.spec b/libsolv.spec index 1b9c685..17d8122 100644 --- a/libsolv.spec +++ b/libsolv.spec @@ -32,13 +32,13 @@ %bcond_without multi_semantics %endif -%global commitnum 2898 -%global commit ae214a654c4c0f3b43ca763e70bde4793d00422a +%global commitnum 2900 +%global commit 8bdcce1f41a8a12ce4ca1b5ac9502a8ddca4a6e4 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: lib%{libname} Version: 0.6.30 -Release: 7%{?commit:.git.%{commitnum}.%{?shortcommit}}%{?dist} +Release: 8%{?commit:.git.%{commitnum}.%{?shortcommit}}%{?dist} Summary: Package dependency solver License: BSD @@ -54,7 +54,6 @@ BuildRequires: gcc-c++ BuildRequires: ninja-build BuildRequires: pkgconfig(rpm) BuildRequires: zlib-devel -BuildRequires: libdb-devel # -DWITH_LIBXML2=ON BuildRequires: libxml2-devel # -DENABLE_LZMA_COMPRESSION=ON @@ -163,7 +162,7 @@ Python 3 version. -DFEDORA=1 \ -DENABLE_RPMDB=ON \ -DENABLE_RPMDB_BYRPMHEADER=ON \ - -DENABLE_RPMDB_LIBRPM=OFF \ + -DENABLE_RPMDB_LIBRPM=ON \ -DENABLE_RPMPKG_LIBRPM=OFF \ -DENABLE_RPMMD=ON \ %{?with_comps:-DENABLE_COMPS=ON} \ @@ -278,6 +277,9 @@ mv %{buildroot}%{_bindir}/repo2solv{.sh,} %endif %changelog +* Tue Jan 30 2018 Igor Gnatenko - 0.6.30-8.git.2900.8bdcce1 +- Use librpm to access DB + * Tue Jan 30 2018 Igor Gnatenko - 0.6.30-7.git.2898.ae214a6 - Switch to %%ldconfig_scriptlets diff --git a/sources b/sources index 773e5ca..897904d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libsolv-ae214a6.tar.gz) = e59a8db8442ca71735936603dbd76ee8a69f9a9a22b2650d9e55f8f8a74276e77b4a6747f58a87321152253c326d55b3e33e8c50d9b1218d6b23f16778b5524d +SHA512 (libsolv-8bdcce1.tar.gz) = f927943c6c9f0e987ea64a397ff10a75fd7dd86b1ec8b179cf7c4b55fc250684db05344c29978a620108ff479da7fcf8edf1eb6c39efd66ae8fb42808c536197