Sync from SUSE:ALP:Source:Standard:1.0 libsolv revision 3c1ae30e262e5f19f407b68f440a2b19

This commit is contained in:
Adrian Schröter 2024-11-07 10:12:39 +01:00
parent be082ec921
commit a4612fdff0
4 changed files with 61 additions and 11 deletions

BIN
libsolv-0.7.28.tar.bz2 (Stored with Git LFS)

Binary file not shown.

BIN
libsolv-0.7.30.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Thu Jul 11 13:19:18 CEST 2024 - mls@suse.de
- removed dependency on external find program in the repo2solv tool
- bindings: fix return value of repodata.add_solv()
- new SOLVER_FLAG_FOCUS_NEW flag
- bump version to 0.7.30
-------------------------------------------------------------------
Fri Jun 7 11:33:19 CEST 2024 - mls@suse.de
- add a conflict to older libsolv-tools to libsolv-tools-base
- report unsupported compression in solv_xfopen() with errno
- fix return value of repodata.add_solv() in the bindings
- fix SHA-224 oid in solv_pgpvrfy
-------------------------------------------------------------------
Tue Apr 30 15:15:45 CEST 2024 - mls@suse.de
- improve updating of installed multiversion packages
- fix decision introspection going into an endless loop in some
cases
- added experimental lua bindings
- bump version to 0.7.29
-------------------------------------------------------------------
Mon Apr 22 19:16:03 UTC 2024 - Dirk Müller <dmueller@suse.com>
- split libsolv-tools into libsolv-tools-base [jsc#PED-8153]
-------------------------------------------------------------------
Fri Jan 26 11:19:39 CET 2024 - mls@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package libsolv
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -65,7 +65,7 @@
%bcond_with zypp
Name: libsolv
Version: 0.7.28
Version: 0.7.30
Release: 0
Summary: Package dependency solver using a satisfiability algorithm
License: BSD-3-Clause
@ -153,6 +153,7 @@ so-called satisfiability algorithm for resolving package
dependencies.
%endif
%package devel
Summary: Development files for libsolv, a package solver
Group: Development/Libraries/C and C++
@ -166,13 +167,22 @@ Conflicts: libsatsolver-devel
Development files for libsolv, a library for solving packages and
reading repositories.
%package tools-base
Summary: Utilities used by libzypp to manage .solv files
Group: System/Management
Provides: libsolv-tools:%{_bindir}/repo2solv
Conflicts: libsolv-tools < %{version}
%description tools-base
This subpackage contains utilities used by libzypp to manage solv files.
%package tools
Summary: Utilities to work with .solv files
Group: System/Management
Conflicts: satsolver-tools-obsolete
Obsoletes: satsolver-tools < 0.18
Provides: satsolver-tools = 0.18
Requires: findutils
Requires: libsolv-tools-base = %{version}
%description tools
libsolv is a library for solving packages and reading repositories.
@ -256,6 +266,7 @@ cmake . $CMAKE_FLAGS \
-DWITH_LIBXML2=1 \
-DENABLE_APPDATA=1 \
-DENABLE_COMPS=1 \
-DMULTI_SEMANTICS=1 \
%{?with_static:-DENABLE_STATIC=1} \
%{!?with_shared:-DDISABLE_SHARED=1} \
%{?with_perl:-DENABLE_PERL=1} \
@ -285,8 +296,8 @@ ln -s repo2solv %{buildroot}/%{_bindir}/repo2solv.sh
%endif
%endif
%if %{with python_singlespec}
%{python_expand
pyver=%%python_version
%{python_expand #
pyver=%{$python_version}
cmake . -U '*PYTHON*' -DENABLE_PYTHON=1 -DPYTHON_VERSION_MAJOR=${pyver%%.*} -DPYTHON_VERSION_MINOR=${pyver#*.}
make DESTDIR=%{buildroot} -C bindings/python clean
make DESTDIR=%{buildroot} -C bindings/python install
@ -294,7 +305,6 @@ make DESTDIR=%{buildroot} -C bindings/python install
%python_compileall
%endif
%check
make ARGS=--output-on-failure test
@ -310,6 +320,13 @@ make ARGS=--output-on-failure test
%{_libdir}/libsolvext.so.*
%endif
%files tools-base
%defattr(-,root,root)
%{_bindir}/repo2solv
%{_bindir}/rpmdb2solv
%{_mandir}/man1/repo2solv.1*
%{_mandir}/man1/rpmdb2solv.1*
%files tools
%defattr(-,root,root)
%if 0%{?suse_version}
@ -317,7 +334,11 @@ make ARGS=--output-on-failure test
%exclude %{_mandir}/man1/helix2solv*
%endif
%exclude %{_mandir}/man1/solv.1*
%exclude %{_mandir}/man1/repo2solv.1*
%exclude %{_mandir}/man1/rpmdb2solv.1*
%exclude %{_bindir}/solv
%exclude %{_bindir}/repo2solv
%exclude %{_bindir}/rpmdb2solv
%{_bindir}/*
%{_mandir}/man1/*
@ -381,5 +402,4 @@ make ARGS=--output-on-failure test
%endif
%endif
%changelog