Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libzypp for openSUSE:Factory checked in at 2022-10-10 18:44:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libzypp (Old) and /work/SRC/openSUSE:Factory/.libzypp.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libzypp" Mon Oct 10 18:44:19 2022 rev:463 rq:1008276 version:17.31.2 Changes: -------- --- /work/SRC/openSUSE:Factory/libzypp/libzypp.changes 2022-09-04 22:11:34.508250739 +0200 +++ /work/SRC/openSUSE:Factory/.libzypp.new.2275/libzypp.changes 2022-10-10 18:44:50.530904768 +0200 @@ -1,0 +2,9 @@ +Wed Oct 5 18:02:15 CEST 2022 - m...@suse.de + +- Resolver: Fix missing --[no]-recommends initialization in + update (fixes #openSUSE/zypper#459, bsc#1201972) +- Log ONLY_NAMESPACE_RECOMMENDED because this is what corresponds + to --[no]-recommends. +- version 17.31.2 (22) + +------------------------------------------------------------------- @@ -13,0 +23,3 @@ +- Remove no longer needed %post code (bsc#1203649) +- Enable zck support for SLE15-SP4 and newer. On Leap it is enabled + since 15.1 (bsc#1189282) Old: ---- libzypp-17.31.1.tar.bz2 New: ---- libzypp-17.31.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libzypp.spec ++++++ --- /var/tmp/diff_new_pack.UkCGu0/_old 2022-10-10 18:44:51.130906060 +0200 +++ /var/tmp/diff_new_pack.UkCGu0/_new 2022-10-10 18:44:51.134906068 +0200 @@ -16,7 +16,7 @@ # -%if 0%{?is_opensuse} && (0%{?sle_version} >= 150100 || 0%{?suse_version} > 1500) +%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150400 || (0%{?is_opensuse} && 0%{?sle_version} >= 150100) %bcond_without zchunk %else %bcond_with zchunk @@ -43,7 +43,7 @@ %bcond_with enable_preview_single_rpmtrans_as_default_for_zypper Name: libzypp -Version: 17.31.1 +Version: 17.31.2 Release: 0 License: GPL-2.0-or-later URL: https://github.com/openSUSE/libzypp ++++++ libzypp-17.31.1.tar.bz2 -> libzypp-17.31.2.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-17.31.1/VERSION.cmake new/libzypp-17.31.2/VERSION.cmake --- old/libzypp-17.31.1/VERSION.cmake 2022-09-02 16:44:58.000000000 +0200 +++ new/libzypp-17.31.2/VERSION.cmake 2022-10-05 18:39:29.000000000 +0200 @@ -61,8 +61,8 @@ SET(LIBZYPP_MAJOR "17") SET(LIBZYPP_COMPATMINOR "22") SET(LIBZYPP_MINOR "31") -SET(LIBZYPP_PATCH "1") +SET(LIBZYPP_PATCH "2") # -# LAST RELEASED: 17.31.1 (22) +# LAST RELEASED: 17.31.2 (22) # (The number in parenthesis is LIBZYPP_COMPATMINOR) #======= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-17.31.1/doc/autoinclude/Services.doc new/libzypp-17.31.2/doc/autoinclude/Services.doc --- old/libzypp-17.31.1/doc/autoinclude/Services.doc 2022-07-07 14:19:44.000000000 +0200 +++ new/libzypp-17.31.2/doc/autoinclude/Services.doc 2022-09-22 15:29:53.000000000 +0200 @@ -189,7 +189,10 @@ </repoindex> \endverbatim -%{VAR} always refers to the value defined in the <tt>repoindex</tt> tag (reserved names are 'ttl' and 'alias'). %{alias} is available within a <tt>repo</tt> tag after the alias was defined there. +%{VAR} always refers to the value defined in the <tt>repoindex</tt> tag. Reserved names are 'ttl' and 'alias'. + +- <tt>ttl="SECONDS"</tt> defines the matadata's expected time to live in case autorefresh is turned on for the service. It's the number of seconds that should pass before the service is autorefreshed again. It is not available as variable. +- %{alias} is available within a <tt>repo</tt> tag after the alias was defined there. Given the file is located at /somewhere/repo/repoindex.xml, add the service by: \verbatim diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-17.31.1/libzypp.spec.cmake new/libzypp-17.31.2/libzypp.spec.cmake --- old/libzypp-17.31.1/libzypp.spec.cmake 2022-08-31 11:46:35.000000000 +0200 +++ new/libzypp-17.31.2/libzypp.spec.cmake 2022-09-22 10:55:23.000000000 +0200 @@ -15,7 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%if 0%{?is_opensuse} && (0%{?sle_version} >= 150100 || 0%{?suse_version} > 1500) +%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150400 || (0%{?is_opensuse} && 0%{?sle_version} >= 150100) %bcond_without zchunk %else %bcond_with zchunk diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-17.31.1/package/libzypp.changes new/libzypp-17.31.2/package/libzypp.changes --- old/libzypp-17.31.1/package/libzypp.changes 2022-09-02 16:44:58.000000000 +0200 +++ new/libzypp-17.31.2/package/libzypp.changes 2022-10-05 18:39:29.000000000 +0200 @@ -1,4 +1,13 @@ ------------------------------------------------------------------- +Wed Oct 5 18:02:15 CEST 2022 - m...@suse.de + +- Resolver: Fix missing --[no]-recommends initialization in + update (fixes #openSUSE/zypper#459, bsc#1201972) +- Log ONLY_NAMESPACE_RECOMMENDED because this is what corresponds + to --[no]-recommends. +- version 17.31.2 (22) + +------------------------------------------------------------------- Fri Sep 2 16:38:42 CEST 2022 - m...@suse.de - UsrEtc: Store logrotate files in %{_distconfdir} if defined @@ -11,6 +20,9 @@ - Stop using std::*ary_function; deprecated and removed in c++17. - Don't expose header files which use types not available in c++11. In 15.3 and older, YAST and PK compile with -std=c++11. +- Remove no longer needed %post code (bsc#1203649) +- Enable zck support for SLE15-SP4 and newer. On Leap it is enabled + since 15.1 (bsc#1189282) - version 17.31.1 (22) ------------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-17.31.1/po/de.po new/libzypp-17.31.2/po/de.po --- old/libzypp-17.31.1/po/de.po 2022-07-07 14:19:44.000000000 +0200 +++ new/libzypp-17.31.2/po/de.po 2022-09-10 20:14:04.000000000 +0200 @@ -18,10 +18,10 @@ "Project-Id-Version: zypp.de\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-03-14 15:21+0100\n" -"PO-Revision-Date: 2022-03-04 18:12+0000\n" -"Last-Translator: Gemineo <vista...@gemineo.de>\n" -"Language-Team: German <https://l10n.opensuse.org/projects/libzypp/master/de/" -">\n" +"PO-Revision-Date: 2022-09-10 18:13+0000\n" +"Last-Translator: Ettore Atalan <atalantt...@googlemail.com>\n" +"Language-Team: German <https://l10n.opensuse.org/projects/libzypp/master/de/>" +"\n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -4637,11 +4637,11 @@ #: zypp/target/rpm/RpmDb.cc:1271 msgid "Package header is not signed!" -msgstr "" +msgstr "Paket-Kopfdaten sind nicht signiert!" #: zypp/target/rpm/RpmDb.cc:1273 msgid "Package payload is not signed!" -msgstr "" +msgstr "Paket-Nutzdaten sind nicht signiert!" #. Translator: %s = name of an rpm package. A list of diffs follows #. this message. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-17.31.1/zypp/ZYpp.h new/libzypp-17.31.2/zypp/ZYpp.h --- old/libzypp-17.31.1/zypp/ZYpp.h 2022-07-07 14:19:45.000000000 +0200 +++ new/libzypp-17.31.2/zypp/ZYpp.h 2022-09-21 15:06:25.000000000 +0200 @@ -153,7 +153,7 @@ explicit ZYpp( const Impl_Ptr & impl_r ); private: /** Deleted via shared_ptr */ - friend void ::boost::checked_delete<ZYpp>(ZYpp*); // template<class T> inline void checked_delete(T * x) + friend void ::boost::checked_delete<ZYpp>(ZYpp*) BOOST_NOEXCEPT; // template<class T> inline void checked_delete(T * x) /** Dtor */ ~ZYpp(); private: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-17.31.1/zypp/solver/detail/Resolver.cc new/libzypp-17.31.2/zypp/solver/detail/Resolver.cc --- old/libzypp-17.31.1/zypp/solver/detail/Resolver.cc 2022-07-29 11:57:20.000000000 +0200 +++ new/libzypp-17.31.2/zypp/solver/detail/Resolver.cc 2022-10-05 18:01:07.000000000 +0200 @@ -64,9 +64,7 @@ OUTS( _upgradeMode ); OUTS( _updateMode ); OUTS( _verifying ); - OUTS( _onlyRequires ); OUTS( _solveSrcPackages ); - OUTS( _cleandepsOnRemove ); OUTS( _ignoreAlreadyRecommended ); #undef OUT return os << "<resolver/>"; @@ -82,9 +80,7 @@ , _upgradeMode ( false ) , _updateMode ( false ) , _verifying ( false ) - , _onlyRequires ( ZConfig::instance().solver_onlyRequires() ) , _solveSrcPackages ( false ) - , _cleandepsOnRemove ( ZConfig::instance().solver_cleandepsOnRemove() ) , _ignoreAlreadyRecommended ( true ) , _applyDefault_focus ( true ) , _applyDefault_forceResolve ( true ) @@ -156,18 +152,14 @@ { return ZVARNAME; } \ // Flags stored here follow the naming convention,... -// TODO: But why do we need them here? Probably too many layers and they can -// go to _satResolver too. -#define ZOLV_FLAG_LOCALTB( ZSETTER, ZGETTER, ZVARDEFAULT ) \ - ZOLV_FLAG_TRIBOOL( ZSETTER, ZGETTER, ZVARDEFAULT, _##ZGETTER ) -// Flags down in _satResolver don't (yet). +// Flags down in _satResolver don't. Could match `_satResolver->_##ZGETTER` #define ZOLV_FLAG_SATSOLV( ZSETTER, ZGETTER, ZVARDEFAULT, ZVARNAME ) \ ZOLV_FLAG_TRIBOOL( ZSETTER, ZGETTER, ZVARDEFAULT, _satResolver->ZVARNAME ) // NOTE: ZVARDEFAULT must be in sync with SATResolver ctor ZOLV_FLAG_SATSOLV( setForceResolve ,forceResolve ,false ,_allowuninstall ) -ZOLV_FLAG_LOCALTB( setCleandepsOnRemove ,cleandepsOnRemove ,ZConfig::instance().solver_cleandepsOnRemove() ) -ZOLV_FLAG_LOCALTB( setOnlyRequires ,onlyRequires ,ZConfig::instance().solver_onlyRequires() ) +ZOLV_FLAG_SATSOLV( setCleandepsOnRemove ,cleandepsOnRemove ,ZConfig::instance().solver_cleandepsOnRemove() ,_cleandepsOnRemove ) +ZOLV_FLAG_SATSOLV( setOnlyRequires ,onlyRequires ,ZConfig::instance().solver_onlyRequires() ,_onlyRequires ) ZOLV_FLAG_SATSOLV( setAllowDowngrade ,allowDowngrade ,false ,_allowdowngrade ) ZOLV_FLAG_SATSOLV( setAllowNameChange ,allowNameChange ,true /*bsc#1071466*/ ,_allownamechange ) ZOLV_FLAG_SATSOLV( setAllowArchChange ,allowArchChange ,false ,_allowarchchange ) @@ -177,7 +169,6 @@ ZOLV_FLAG_SATSOLV( dupSetAllowArchChange ,dupAllowArchChange ,ZConfig::instance().solver_dupAllowArchChange() ,_dup_allowarchchange ) ZOLV_FLAG_SATSOLV( dupSetAllowVendorChange ,dupAllowVendorChange ,ZConfig::instance().solver_dupAllowVendorChange() ,_dup_allowvendorchange ) #undef ZOLV_FLAG_SATSOLV -#undef ZOLV_FLAG_LOCALTB #undef ZOLV_FLAG_TRIBOOL //--------------------------------------------------------------------------- @@ -348,10 +339,8 @@ _satResolver->setFixsystem ( isVerifyingMode() ); _satResolver->setIgnorealreadyrecommended ( ignoreAlreadyRecommended() ); - _satResolver->setOnlyRequires ( onlyRequires() ); _satResolver->setUpdatesystem (_updateMode); _satResolver->setSolveSrcPackages ( solveSrcPackages() ); - _satResolver->setCleandepsOnRemove ( cleandepsOnRemove() ); _satResolver->setDistupgrade (_upgradeMode); if (_upgradeMode) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-17.31.1/zypp/solver/detail/Resolver.h new/libzypp-17.31.2/zypp/solver/detail/Resolver.h --- old/libzypp-17.31.1/zypp/solver/detail/Resolver.h 2022-07-07 14:19:45.000000000 +0200 +++ new/libzypp-17.31.2/zypp/solver/detail/Resolver.h 2022-10-05 18:01:07.000000000 +0200 @@ -80,9 +80,7 @@ bool _upgradeMode:1; // Resolver has been called with doUpgrade bool _updateMode:1; // Resolver has been called with doUpdate bool _verifying:1; // The system will be checked - bool _onlyRequires:1; // do install required resolvables only bool _solveSrcPackages:1; // whether to generate solver jobs for selected source packges. - bool _cleandepsOnRemove:1; // whether removing a package should also remove no longer needed requirements bool _ignoreAlreadyRecommended:1; // ignore recommended packages that have already been recommended by the installed packages //@} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-17.31.1/zypp/solver/detail/SATResolver.cc new/libzypp-17.31.2/zypp/solver/detail/SATResolver.cc --- old/libzypp-17.31.1/zypp/solver/detail/SATResolver.cc 2022-07-29 11:57:20.000000000 +0200 +++ new/libzypp-17.31.2/zypp/solver/detail/SATResolver.cc 2022-09-29 09:27:41.000000000 +0200 @@ -256,7 +256,7 @@ OUTS( ALLOW_UNINSTALL ); OUTS( NO_UPDATEPROVIDE ); OUTS( SPLITPROVIDES ); - OUTS( IGNORE_RECOMMENDED ); + OUTS( ONLY_NAMESPACE_RECOMMENDED ); OUTS( ADD_ALREADY_RECOMMENDED ); OUTS( NO_INFARCHCHECK ); OUTS( KEEP_EXPLICIT_OBSOLETES ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-17.31.1/zypp-core/TriBool.h new/libzypp-17.31.2/zypp-core/TriBool.h --- old/libzypp-17.31.1/zypp-core/TriBool.h 2022-07-07 14:19:45.000000000 +0200 +++ new/libzypp-17.31.2/zypp-core/TriBool.h 2022-10-05 18:01:07.000000000 +0200 @@ -55,6 +55,10 @@ return ret; } + /** Convert TriBool to bool returning \a default_r if indeterminate.*/ + inline bool tri2bool( const TriBool & val_r, bool default_r ) + { return indeterminate(val_r) ? default_r : bool(val_r); } + ///////////////////////////////////////////////////////////////// } // namespace zypp ///////////////////////////////////////////////////////////////////