Use librpm to access DB

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-30 11:18:20 +01:00
parent c841754d4b
commit 6e7b38d1d9
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C
3 changed files with 9 additions and 6 deletions

1
.gitignore vendored
View File

@ -35,3 +35,4 @@
/libsolv-0.6.30.tar.gz /libsolv-0.6.30.tar.gz
/libsolv-97b8c0c.tar.gz /libsolv-97b8c0c.tar.gz
/libsolv-ae214a6.tar.gz /libsolv-ae214a6.tar.gz
/libsolv-8bdcce1.tar.gz

View File

@ -32,13 +32,13 @@
%bcond_without multi_semantics %bcond_without multi_semantics
%endif %endif
%global commitnum 2898 %global commitnum 2900
%global commit ae214a654c4c0f3b43ca763e70bde4793d00422a %global commit 8bdcce1f41a8a12ce4ca1b5ac9502a8ddca4a6e4
%global shortcommit %(c=%{commit}; echo ${c:0:7}) %global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: lib%{libname} Name: lib%{libname}
Version: 0.6.30 Version: 0.6.30
Release: 7%{?commit:.git.%{commitnum}.%{?shortcommit}}%{?dist} Release: 8%{?commit:.git.%{commitnum}.%{?shortcommit}}%{?dist}
Summary: Package dependency solver Summary: Package dependency solver
License: BSD License: BSD
@ -54,7 +54,6 @@ BuildRequires: gcc-c++
BuildRequires: ninja-build BuildRequires: ninja-build
BuildRequires: pkgconfig(rpm) BuildRequires: pkgconfig(rpm)
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRequires: libdb-devel
# -DWITH_LIBXML2=ON # -DWITH_LIBXML2=ON
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
# -DENABLE_LZMA_COMPRESSION=ON # -DENABLE_LZMA_COMPRESSION=ON
@ -163,7 +162,7 @@ Python 3 version.
-DFEDORA=1 \ -DFEDORA=1 \
-DENABLE_RPMDB=ON \ -DENABLE_RPMDB=ON \
-DENABLE_RPMDB_BYRPMHEADER=ON \ -DENABLE_RPMDB_BYRPMHEADER=ON \
-DENABLE_RPMDB_LIBRPM=OFF \ -DENABLE_RPMDB_LIBRPM=ON \
-DENABLE_RPMPKG_LIBRPM=OFF \ -DENABLE_RPMPKG_LIBRPM=OFF \
-DENABLE_RPMMD=ON \ -DENABLE_RPMMD=ON \
%{?with_comps:-DENABLE_COMPS=ON} \ %{?with_comps:-DENABLE_COMPS=ON} \
@ -278,6 +277,9 @@ mv %{buildroot}%{_bindir}/repo2solv{.sh,}
%endif %endif
%changelog %changelog
* Tue Jan 30 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.30-8.git.2900.8bdcce1
- Use librpm to access DB
* Tue Jan 30 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.30-7.git.2898.ae214a6 * Tue Jan 30 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.30-7.git.2898.ae214a6
- Switch to %%ldconfig_scriptlets - Switch to %%ldconfig_scriptlets

View File

@ -1 +1 @@
SHA512 (libsolv-ae214a6.tar.gz) = e59a8db8442ca71735936603dbd76ee8a69f9a9a22b2650d9e55f8f8a74276e77b4a6747f58a87321152253c326d55b3e33e8c50d9b1218d6b23f16778b5524d SHA512 (libsolv-8bdcce1.tar.gz) = f927943c6c9f0e987ea64a397ff10a75fd7dd86b1ec8b179cf7c4b55fc250684db05344c29978a620108ff479da7fcf8edf1eb6c39efd66ae8fb42808c536197