Hello community,
here is the log from the commit of package libzypp.14955 for
openSUSE:Leap:15.1:Update checked in at 2020-11-17 12:27:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.1:Update/libzypp.14955 (Old)
and /work/SRC/openSUSE:Leap:15.1:Update/.libzypp.14955.new.24930 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libzypp.14955"
Tue Nov 17 12:27:30 2020 rev:1 rq:848489 version:17.25.1
Changes:
--------
New Changes file:
--- /dev/null 2020-11-12 01:11:43.462704170 +0100
+++
/work/SRC/openSUSE:Leap:15.1:Update/.libzypp.14955.new.24930/libzypp.changes
2020-11-17 12:27:36.328687232 +0100
@@ -0,0 +1,12159 @@
+-------------------------------------------------------------------
+Fri Sep 25 13:39:38 CEST 2020 - [email protected]
+
+- Fix bsc#1176902: When kernel-rt has been installed, the
+ purge-kernels service fails during boot.
+- Use package name provides as group key in purge-kernel
+ (bsc#1176740 bsc#1176192)
+ kernel-default-base has new packaging, where the kernel uname -r
+ does not reflect the full package version anymore. This patch
+ adds additional logic to use the most generic/shortest edition
+ each package provides with %{packagename}=<version> to group the
+ kernel packages instead of the rpm versions.
+ This also changes how the keep-spec for specific versions is
+ applied, instead of matching the package versions, each of the
+ package name provides will be matched.
+- version 17.25.1 (22)
+
+-------------------------------------------------------------------
+Fri Sep 18 16:45:49 CEST 2020 - [email protected]
+
+- RepoInfo: Return the type of the local metadata cache as
+ fallback (bsc#1176435)
+- VendorAttr: Fix broken "suse,opensuse" equivalence handling.
+ Enhance API and testcases. (bsc#1174918)
+- Update docs regarding 'opensuse' namepace matching.
+- New solver testcase format.
+- Link against libzsd to close libsolvs open references
+ (as we link statically)
+- BuildRequires: libsolv-devel >= 0.7.15.
+- version 17.25.0 (22)
+
+-------------------------------------------------------------------
+Fri Aug 28 17:09:59 CEST 2020 - [email protected]
+
+- VendorAttr: Const-correct API and let Target provide its
+ settings (bsc#1174918)
+- Support buildnr with commit hash in purge-kernels (bsc#1175342)
+ This adds special behaviour for when a kernel version has the
+ rebuild counter before the kernel commit hash.
+- Improve Italian traslation of the "breaking dependencies"
+ message (bsc#1173529)
+- Make sure reading from lsof does not block forever (bsc#1174240)
+- Just collect details for the signatures found (fixes #229)
+- version 17.24.2 (22)
+
+-------------------------------------------------------------------
+Thu Jul 16 18:04:18 CEST 2020 - [email protected]
+
+- Fix bsc#1174011 auth=basic ignored in some cases (bsc#1174011)
+ Proactively send credentials if the URL specifes '?auth=basic'
+ and a username.
+- ZYPP_MEDIA_CURL_DEBUG: Strip credentials in header log (bsc#1174011)
+- version 17.24.1 (22)
+
+-------------------------------------------------------------------
+Tue Jul 14 13:19:56 CEST 2020 - [email protected]
+
+- Completey rework the purge-kernels algorithm (fix bsc#1173106)
+ The new code is closer to the original perl script, grouping the
+ packages by name before applying the keep spec.
+- Set ZYPP_RPM_DEBUG=1 to capture verbose rpm command output
+ (implements #228)
+- version 17.24.0 (22)
+
+-------------------------------------------------------------------
+Fri Jun 26 14:13:10 CEST 2020 - [email protected]
+
+- Fix core dump with corrupted history file (bsc#1170801)
+- version 17.23.8 (22)
+
+-------------------------------------------------------------------
+Tue Jun 23 17:44:21 CEST 2020 - [email protected]
+
+- Enable zchunk metadata download if libsolv supports it.
+- version 17.23.7 (22)
+
+-------------------------------------------------------------------
+Thu Jun 4 11:45:03 CEST 2020 - [email protected]
+
+- Revert "Enable zchunk on SLE-15-SP2".
+- version 17.23.6 (22)
+
+-------------------------------------------------------------------
+Wed May 27 18:50:32 CEST 2020 - [email protected]
+
+- Enable zchunk on SLE-15-SP2.
+- Older kernel-devel packages are not properly purged (bsc#1171224)
+- doc: enhance service plugin example.
+- version 17.23.5 (22)
+
+-------------------------------------------------------------------
+Thu Apr 9 12:52:10 CEST 2020 - [email protected]
+
+- Get retracted patch status from updateinfo data (jsc#SLE-8770)
+ libsolv injects the indicator provides into packages only.
+- remove 'using namespace std;' (bsc#1166610, fixes #218)
+- Online doc: add 'Hardware (modalias) dependencies' page
+ (fixes #216)
+- version 17.23.4 (22)
+
+-------------------------------------------------------------------
+Wed Mar 25 15:26:14 CET 2020 - [email protected]
+
+- Add HistoryLogReader actionFilter to parse only specific
+ HistoryActionIDs.
+- version 17.23.3 (22)
+
+-------------------------------------------------------------------
+Fri Mar 20 12:28:18 CET 2020 - [email protected]
+
+- RepoVariables: Add safe guard in case the caller does not own a
+ zypp instance.
+- Enable c++17. Define libyzpp CXX_STANDARD in ZyppCommon.cmake.
+- version 17.23.2 (22)
+
+-------------------------------------------------------------------
+Mon Mar 2 19:53:51 CET 2020 - [email protected]
+
+- Fix package status computation regarding unneeded, orphaned, recommended
+ and suggested packages (broken in 17.23.0) (bsc#1165476)
+- version 17.23.1 (22)
+
+-------------------------------------------------------------------
+Fri Feb 21 16:06:57 CET 2020 - [email protected]
+
+- Log patch status changes to history (jsc#SLE-5116)
+- Allow to disable all WebServer dependent tests when building. OBS
+ wants to be able to get rid of the nginx/FastCGI-devel build
+ requirement. Use 'rpmbuild --without mediabackend_tests' or
+ 'cmake -DDISABLE_MEDIABACKEND_TESTS=1'.
+- version 17.23.0 (22)
+
+-------------------------------------------------------------------
+Fri Feb 7 14:56:40 CET 2020 - [email protected]
+
+- update translations
+- Replace mongoose/webrick with nginx in test suite.
+ This patch makes use of nginx to replace the current WebServer
+ mongoose implementation. Also adds support for registering
+ callback functions for certain URL requests via FCGI, making it
+ possible to mock HTTP responses and test more complex HTTP setups.
+- boost: Fix deprecated auto_unit_test.hpp includes.
+- Disable zchunk on Leap-15.0 and SLE15-* while there is no libzck.
+- Fix decision whether to download ZCHUNK files.
+ libzypp and libsolv must both be able to read the format.
+- version 17.22.1 (22)
+
+-------------------------------------------------------------------
+Thu Jan 23 16:30:19 CET 2020 - [email protected]
+
+- yum::Downloader: Prefer zchunk compressed metadata if libvsolv
+ supports it.
+- BuildRequires: libsolv-devel >= 0.7.11.
+- version 17.22.0 (22)
+
+-------------------------------------------------------------------
+Mon Jan 20 12:53:12 CET 2020 - [email protected]
+
+- Selectable: Fix highestAvailableVersionObj if only retracted
+ packages are available. Avoid using retracted items as candidate
+ (jsc#SLE-8770)
+- version 17.21.0 (20)
+
+-------------------------------------------------------------------
+Thu Dec 19 13:28:00 CET 2019 - [email protected]
+
+- BuildRequires: libsolv-devel >= 0.7.10.
+- RpmDb: Become rpmdb backend independent (jsc#SLE-7272)
+- RpmDb: Close API offering a custom rpmdb path
+ It's actually not needed and for this to work also libsolv needs
+ to support it. You can sill use a librpmDb::db_const_iterator to
+ access a database at a custom location (ro).
+- Remove legacy rpmV3database conversion code.
+- version 17.20.0 (20)
+
+-------------------------------------------------------------------
+Wed Dec 11 09:51:10 CET 2019 - [email protected]
+
+- MediaCurl: assert cookie file has mode 0600 (bsc#1158763, CVE-2019-18900)
+- version 17.19.0 (12)
+
+-------------------------------------------------------------------
+Mon Dec 9 10:22:56 CET 2019 - [email protected]
+
+- dup: fix removing orphaned packages dropped by to-be-installed
+ products (bsc#1155819)
+- version 17.18.1 (12)
+
+-------------------------------------------------------------------
+Thu Dec 5 14:23:52 CET 2019 - [email protected]
+
+- Resolver: add solution actions for SOLVER_SOLUTION_BLACK
+ (retracted/PTF)
+- Solvable: add isRetracted and isPtf attributes.
+- version 17.18.0 (12)
+
+-------------------------------------------------------------------
++++ 11962 more lines (skipped)
++++ between /dev/null
++++ and
/work/SRC/openSUSE:Leap:15.1:Update/.libzypp.14955.new.24930/libzypp.changes
New:
----
libzypp-17.25.1.tar.bz2
libzypp-rpmlintrc
libzypp.changes
libzypp.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libzypp.spec ++++++
#
# spec file for package libzypp
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%if 0%{?is_opensuse} && (0%{?sle_version} >= 150100 || 0%{?suse_version} > 1500)
%bcond_without zchunk
%else
%bcond_with zchunk
%endif
# libsolvs external references require us to link against it:
%if 0%{?sle_version} >= 150000 || 0%{?suse_version} >= 1500
%bcond_without zstd
%else
%bcond_with zstd
%endif
%bcond_without mediabackend_tests
Name: libzypp
Version: 17.25.1
Release: 0
URL: https://github.com/openSUSE/libzypp
Summary: Library for package, patch, pattern and product management
License: GPL-2.0-or-later
Group: System/Packages
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: %{name}-%{version}.tar.bz2
Source1: %{name}-rpmlintrc
Provides: yast2-packagemanager
Obsoletes: yast2-packagemanager
# Features we provide (update doc/autoinclude/FeatureTest.doc):
Provides: libzypp(plugin) = 0.1
Provides: libzypp(plugin:appdata) = 0
Provides: libzypp(plugin:commit) = 1
Provides: libzypp(plugin:services) = 1
Provides: libzypp(plugin:system) = 1
Provides: libzypp(plugin:urlresolver) = 0
Provides: libzypp(repovarexpand) = 1.1
%if 0%{?suse_version}
Recommends: logrotate
# lsof is used for 'zypper ps':
Recommends: lsof
%endif
BuildRequires: cmake >= 3.1
BuildRequires: openssl-devel
BuildRequires: pkgconfig(libudev)
%if 0%{?suse_version} >= 1330
BuildRequires: libboost_headers-devel
BuildRequires: libboost_program_options-devel
BuildRequires: libboost_test-devel
BuildRequires: libboost_thread-devel
%else
BuildRequires: boost-devel
%endif
BuildRequires: dejagnu
BuildRequires: doxygen
BuildRequires: gcc-c++ >= 7
BuildRequires: gettext-devel
BuildRequires: graphviz
BuildRequires: libxml2-devel
BuildRequires: yaml-cpp-devel
%if 0%{?suse_version} != 1110
# No libproxy on SLES
BuildRequires: libproxy-devel
%endif
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
BuildRequires: pkgconfig
%else
BuildRequires: pkg-config
%endif
BuildRequires: libsolv-devel >= 0.7.15
%if 0%{?suse_version} >= 1100
BuildRequires: libsolv-tools
%requires_eq libsolv-tools
%else
Requires: libsolv-tools
%endif
BuildRequires: glib2-devel
BuildRequires: libsigc++2-devel
# required for testsuite
%if %{with mediabackend_tests}
BuildRequires: nginx
%endif
Requires: rpm
%if 0%{?suse_version}
BuildRequires: rpm-devel > 4.4
%endif
%if 0%{?fedora_version} || 0%{?rhel_version} >= 600 || 0%{?centos_version} >=
600
BuildRequires: popt-devel
BuildRequires: rpm-devel > 4.4
%endif
%if 0%{?mandriva_version}
BuildRequires: librpm-devel > 4.4
%endif
%if 0%{?suse_version}
BuildRequires: libgpgme-devel
#testsuite
%if %{with mediabackend_tests}
BuildRequires: FastCGI-devel
%endif
%else
BuildRequires: gpgme-devel
#testsuite
%if %{with mediabackend_tests}
BuildRequires: fcgi-devel
%endif
%endif
%define min_curl_version 7.19.4
%if 0%{?suse_version}
%if 0%{?suse_version} >= 1100
# Code11+
BuildRequires: libcurl-devel >= %{min_curl_version}
Requires: libcurl4 >= %{min_curl_version}
%else
# Code10
BuildRequires: curl-devel
%endif
%else
# Other distros (Fedora)
BuildRequires: libcurl-devel >= %{min_curl_version}
Requires: libcurl >= %{min_curl_version}
%endif
# required for documentation
%if 0%{?suse_version} >= 1330
BuildRequires: rubygem(asciidoctor)
%else
BuildRequires: asciidoc
BuildRequires: libxslt-tools
%endif
%if %{with zchunk}
BuildRequires: libzck-devel
%endif
%if %{with zstd}
BuildRequires: libzstd-devel
%endif
%description
libzypp is the package management library that powers applications
like YaST, zypper and the openSUSE/SLE implementation of PackageKit.
libzypp provides functionality for a package manager:
* An API for package repository management, supporting most common
repository metadata formats and signed repositories.
* An API for solving packages, products, patterns and patches
(installation, removal, update and distribution upgrade
operations) dependencies, with additional features like locking.
* An API for commiting the transaction to the system over a rpm
target. Supporting deltarpm calculation, media changing and
installation order calculation.
* An API for browsing available and installed software, with some
facilities for programs with an user interface.
%package devel
Summary: Header files for libzypp, a library for package management
Group: Development/Libraries/C and C++
Provides: yast2-packagemanager-devel
Obsoletes: yast2-packagemanager-devel
%if 0%{?suse_version} >= 1330
Requires: libboost_headers-devel
Requires: libboost_program_options-devel
Requires: libboost_test-devel
Requires: libboost_thread-devel
%else
Requires: boost-devel
%endif
Requires: bzip2
Requires: glibc-devel
Requires: libstdc++-devel
Requires: libudev-devel
Requires: libxml2-devel
Requires: libzypp = %{version}
Requires: openssl-devel
Requires: popt-devel
Requires: rpm-devel > 4.4
Requires: zlib-devel
%if 0%{?suse_version}
%if 0%{?suse_version} >= 1100
# Code11+
Requires: libcurl-devel >= %{min_curl_version}
%else
# Code10
Requires: curl-devel
%endif
%else
# Other distros (Fedora)
Requires: libcurl-devel >= %{min_curl_version}
%endif
%if 0%{?suse_version} >= 1100
%requires_ge libsolv-devel
%else
Requires: libsolv-devel
%endif
%description devel
Development files for libzypp, a library for package, patch, pattern
and product management.
%package devel-doc
Summary: Developer documentation for libzypp
Group: Documentation/HTML
%description devel-doc
Developer documentation for libzypp.
%prep
%setup -q
%build
mkdir build
cd build
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
unset EXTRA_CMAKE_OPTIONS
# No libproxy on SLE11
%if 0%{?suse_version} == 1110
export EXTRA_CMAKE_OPTIONS="-DDISABLE_LIBPROXY=ON"
%endif
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DENABLE_BUILD_DOCS=TRUE \
-DENABLE_BUILD_TRANS=TRUE \
-DENABLE_BUILD_TESTS=TRUE \
-DDOC_INSTALL_DIR=%{_docdir} \
-DLIB=%{_lib} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=1 \
%{?with_zchunk:-DENABLE_ZCHUNK_COMPRESSION=1} \
%{?with_zstd:-DENABLE_ZSTD_COMPRESSION=1} \
%{!?with_mediabackend_tests:-DDISABLE_MEDIABACKEND_TESTS=1} \
${EXTRA_CMAKE_OPTIONS} \
..
make %{?_smp_mflags} VERBOSE=1
%install
cd build
%make_install
%if 0%{?fedora_version} || 0%{?rhel_version} >= 600 || 0%{?centos_version} >=
600
ln -s %{_sysconfdir}/yum.repos.d %{buildroot}/%{_sysconfdir}/zypp/repos.d
%else
mkdir -p %{buildroot}/%{_sysconfdir}/zypp/repos.d
%endif
mkdir -p %{buildroot}/%{_sysconfdir}/zypp/services.d
mkdir -p %{buildroot}/%{_sysconfdir}/zypp/systemCheck.d
mkdir -p %{buildroot}/%{_sysconfdir}/zypp/vars.d
mkdir -p %{buildroot}/%{_sysconfdir}/zypp/vendors.d
mkdir -p %{buildroot}/%{_sysconfdir}/zypp/multiversion.d
mkdir -p %{buildroot}/%{_sysconfdir}/zypp/needreboot.d
mkdir -p %{buildroot}/%{_sysconfdir}/zypp/credentials.d
mkdir -p %{buildroot}/%{_prefix}/lib/zypp
mkdir -p %{buildroot}/%{_prefix}/lib/zypp/plugins
mkdir -p %{buildroot}/%{_prefix}/lib/zypp/plugins/appdata
mkdir -p %{buildroot}/%{_prefix}/lib/zypp/plugins/commit
mkdir -p %{buildroot}/%{_prefix}/lib/zypp/plugins/services
mkdir -p %{buildroot}/%{_prefix}/lib/zypp/plugins/system
mkdir -p %{buildroot}/%{_prefix}/lib/zypp/plugins/urlresolver
mkdir -p %{buildroot}/%{_var}/lib/zypp
mkdir -p %{buildroot}/%{_var}/log/zypp
mkdir -p %{buildroot}/%{_var}/cache/zypp
# Default to 'solver.dupAllowVendorChange = false' on TW and post SLE12
%if 0%{?suse_version} >= 1330 || "%{distribution}" == "openSUSE Tumbleweed"
sed -i "s|# solver.dupAllowVendorChange = true|solver.dupAllowVendorChange =
false|g" %{buildroot}%{_sysconfdir}/zypp/zypp.conf
%endif
cd ..
# Create filelist with translations
%{find_lang} zypp
%check
pushd build/tests
LD_LIBRARY_PATH="$(pwd)/../zypp:$LD_LIBRARY_PATH" ctest --output-on-failure .
popd
%post
/sbin/ldconfig
if [ -f /var/cache/zypp/zypp.db ]; then rm /var/cache/zypp/zypp.db; fi
# convert old lock file to new
# TODO make this a separate file?
# TODO run the sript only when updating form pre-11.0 libzypp versions
LOCKSFILE=%{_sysconfdir}/zypp/locks
OLDLOCKSFILE=%{_sysconfdir}/zypp/locks.old
is_old(){
# if no such file, exit with false (1 in bash)
test -f ${LOCKSFILE} || return 1
TEMP_FILE=`mktemp`
cat ${LOCKSFILE} | sed '/^\#.*/ d;/.*:.*/d;/^[^[a-zA-Z\*?.0-9]*$/d' >
${TEMP_FILE}
if [ -s ${TEMP_FILE} ]
then
RES=0
else
RES=1
fi
rm -f ${TEMP_FILE}
return ${RES}
}
append_new_lock(){
case "$#" in
1 )
echo "
solvable_name: $1
match_type: glob
" >> ${LOCKSFILE}
;;
2 ) #TODO version
echo "
solvable_name: $1
match_type: glob
version: $2
" >> ${LOCKSFILE}
;;
3 ) #TODO version
echo "
solvable_name: $1
match_type: glob
version: $2 $3
" >> ${LOCKSFILE}
;;
esac
}
die() {
echo $1
exit 1
}
if is_old ${LOCKSFILE}
then
mv -f ${LOCKSFILE} ${OLDLOCKSFILE} || die "cannot backup old locks"
cat ${OLDLOCKSFILE}| sed "/^\#.*/d"| while read line
do
append_new_lock $line
done
fi
%postun -p /sbin/ldconfig
%files -f zypp.lang
%defattr(-,root,root)
%if 0%{?suse_version} >= 1500
%license COPYING
%endif
%dir %{_sysconfdir}/zypp
%if 0%{?fedora_version} || 0%{?rhel_version} >= 600 || 0%{?centos_version} >=
600
%{_sysconfdir}/zypp/repos.d
%else
%dir %{_sysconfdir}/zypp/repos.d
%endif
%dir %{_sysconfdir}/zypp/services.d
%dir %{_sysconfdir}/zypp/systemCheck.d
%dir %{_sysconfdir}/zypp/vars.d
%dir %{_sysconfdir}/zypp/vendors.d
%dir %{_sysconfdir}/zypp/multiversion.d
%config(noreplace) %{_sysconfdir}/zypp/needreboot
%dir %{_sysconfdir}/zypp/needreboot.d
%dir %{_sysconfdir}/zypp/credentials.d
%config(noreplace) %{_sysconfdir}/zypp/zypp.conf
%config(noreplace) %{_sysconfdir}/zypp/systemCheck
%config(noreplace) %{_sysconfdir}/logrotate.d/zypp-history.lr
%dir %{_var}/lib/zypp
%dir %attr(750,root,root) %{_var}/log/zypp
%dir %{_var}/cache/zypp
%{_prefix}/lib/zypp
%{_datadir}/zypp
%{_bindir}/*
%{_libdir}/libzypp*so.*
%doc %{_mandir}/man1/*.1.*
%doc %{_mandir}/man5/*.5.*
%files devel
%defattr(-,root,root)
%{_libdir}/libzypp.so
%{_includedir}/zypp
%{_datadir}/cmake/Modules/*
%{_libdir}/pkgconfig/libzypp.pc
%files devel-doc
%defattr(-,root,root)
%{_docdir}/%{name}
%changelog
++++++ libzypp-rpmlintrc ++++++
addFilter("libzypp.* shlib-policy-name-error")
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives:
https://lists.opensuse.org/archives/list/[email protected]