Update to latest git version
Also switch to use librpm for accessing rpmdb and headers. Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
ddd177330a
commit
c4491bc0aa
1
.gitignore
vendored
1
.gitignore
vendored
@ -34,3 +34,4 @@
|
|||||||
/libsolv-0.6.29.tar.gz
|
/libsolv-0.6.29.tar.gz
|
||||||
/libsolv-0.6.30.tar.gz
|
/libsolv-0.6.30.tar.gz
|
||||||
/libsolv-97b8c0c.tar.gz
|
/libsolv-97b8c0c.tar.gz
|
||||||
|
/libsolv-ae214a6.tar.gz
|
||||||
|
70
libsolv.spec
70
libsolv.spec
@ -36,8 +36,8 @@
|
|||||||
%bcond_without multi_semantics
|
%bcond_without multi_semantics
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%global commitnum 2887
|
%global commitnum 2898
|
||||||
%global commit 97b8c0c2cd220b05bf2758803744bf9b58233595
|
%global commit ae214a654c4c0f3b43ca763e70bde4793d00422a
|
||||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||||
|
|
||||||
Name: lib%{libname}
|
Name: lib%{libname}
|
||||||
@ -59,9 +59,6 @@ BuildRequires: pkgconfig(rpm)
|
|||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
# -DWITH_LIBXML2=ON
|
# -DWITH_LIBXML2=ON
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
# -DFEDORA=1
|
|
||||||
# -DENABLE_RPMDB=ON
|
|
||||||
BuildRequires: libdb-devel
|
|
||||||
# -DENABLE_LZMA_COMPRESSION=ON
|
# -DENABLE_LZMA_COMPRESSION=ON
|
||||||
BuildRequires: xz-devel
|
BuildRequires: xz-devel
|
||||||
# -DENABLE_BZIP2_COMPRESSION=ON
|
# -DENABLE_BZIP2_COMPRESSION=ON
|
||||||
@ -162,48 +159,45 @@ Python 3 version.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 %{?commit:-n %{name}-%{commit}}
|
%autosetup -p1 %{?commit:-n %{name}-%{commit}}
|
||||||
mkdir build
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
pushd build
|
%cmake . -B"%{_vpath_builddir}" \
|
||||||
%cmake \
|
-DFEDORA=1 \
|
||||||
-DFEDORA=1 \
|
-DENABLE_RPMDB=ON \
|
||||||
-DENABLE_RPMDB=ON \
|
-DENABLE_RPMDB_BYRPMHEADER=ON \
|
||||||
-DENABLE_RPMDB_BYRPMHEADER=ON \
|
-DENABLE_RPMDB_LIBRPM=ON \
|
||||||
-DENABLE_RPMMD=ON \
|
-DENABLE_RPMPKG_LIBRPM=ON \
|
||||||
%{?with_comps:-DENABLE_COMPS=ON} \
|
-DENABLE_RPMMD=ON \
|
||||||
%{?with_appdata:-DENABLE_APPDATA=ON} \
|
%{?with_comps:-DENABLE_COMPS=ON} \
|
||||||
-DUSE_VENDORDIRS=ON \
|
%{?with_appdata:-DENABLE_APPDATA=ON} \
|
||||||
-DWITH_LIBXML2=ON \
|
-DUSE_VENDORDIRS=ON \
|
||||||
-DENABLE_LZMA_COMPRESSION=ON \
|
-DWITH_LIBXML2=ON \
|
||||||
-DENABLE_BZIP2_COMPRESSION=ON \
|
-DENABLE_LZMA_COMPRESSION=ON \
|
||||||
%{?with_helix_repo:-DENABLE_HELIXREPO=ON} \
|
-DENABLE_BZIP2_COMPRESSION=ON \
|
||||||
%{?with_suse_repo:-DENABLE_SUSEREPO=ON} \
|
%{?with_helix_repo:-DENABLE_HELIXREPO=ON} \
|
||||||
%{?with_debian_repo:-DENABLE_DEBIAN=ON} \
|
%{?with_suse_repo:-DENABLE_SUSEREPO=ON} \
|
||||||
%{?with_arch_repo:-DENABLE_ARCHREPO=ON} \
|
%{?with_debian_repo:-DENABLE_DEBIAN=ON} \
|
||||||
%{?with_multi_semantics:-DMULTI_SEMANTICS=ON} \
|
%{?with_arch_repo:-DENABLE_ARCHREPO=ON} \
|
||||||
%{?with_complex_deps:-DENABLE_COMPLEX_DEPS=1} \
|
%{?with_multi_semantics:-DMULTI_SEMANTICS=ON} \
|
||||||
%{?with_perl_bindings:-DENABLE_PERL=ON} \
|
%{?with_complex_deps:-DENABLE_COMPLEX_DEPS=1} \
|
||||||
%{?with_ruby_bindings:-DENABLE_RUBY=ON} \
|
%{?with_perl_bindings:-DENABLE_PERL=ON} \
|
||||||
|
%{?with_ruby_bindings:-DENABLE_RUBY=ON} \
|
||||||
%if %{with python_bindings}
|
%if %{with python_bindings}
|
||||||
-DENABLE_PYTHON=ON \
|
-DENABLE_PYTHON=ON \
|
||||||
%if %{with python3}
|
%if %{with python3}
|
||||||
-DENABLE_PYTHON3=ON \
|
-DENABLE_PYTHON3=ON \
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
..
|
%{nil}
|
||||||
%make_build
|
%make_build -C "%{_vpath_builddir}"
|
||||||
popd
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
pushd build
|
%make_install -C "%{_vpath_builddir}"
|
||||||
%make_install
|
|
||||||
popd
|
|
||||||
|
|
||||||
mv %{buildroot}%{_bindir}/repo2solv.sh %{buildroot}%{_bindir}/repo2solv
|
mv %{buildroot}%{_bindir}/repo2solv{.sh,}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
pushd build
|
pushd "%{_vpath_builddir}"
|
||||||
ctest -VV
|
ctest -VV
|
||||||
popd
|
popd
|
||||||
|
|
||||||
@ -294,6 +288,10 @@ popd
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 29 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.30-3.git.2898.ae214a6
|
||||||
|
- Update to latest git version
|
||||||
|
- Switch to use librpm for accessing headers / rpmdb
|
||||||
|
|
||||||
* Mon Nov 20 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.30-3.git.2887.97b8c0c
|
* Mon Nov 20 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.30-3.git.2887.97b8c0c
|
||||||
- Update to latest snapshot
|
- Update to latest snapshot
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (libsolv-97b8c0c.tar.gz) = 15ea0880586e147c487fa0fbc54d183871487729ddfa3b79012287fe281ffc6e4c5c1141ec9fcd9cb49a8fe138d1f3562bb606a725a4456a9a1641279dee17c7
|
SHA512 (libsolv-ae214a6.tar.gz) = e59a8db8442ca71735936603dbd76ee8a69f9a9a22b2650d9e55f8f8a74276e77b4a6747f58a87321152253c326d55b3e33e8c50d9b1218d6b23f16778b5524d
|
||||||
|
Loading…
Reference in New Issue
Block a user