Hello community,

here is the log from the commit of package dnf for openSUSE:Factory checked in 
at 2019-12-03 15:20:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dnf (Old)
 and      /work/SRC/openSUSE:Factory/.dnf.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dnf"

Tue Dec  3 15:20:04 2019 rev:15 rq:752750 version:4.2.17

Changes:
--------
--- /work/SRC/openSUSE:Factory/dnf/dnf.changes  2019-05-12 11:45:22.811978298 
+0200
+++ /work/SRC/openSUSE:Factory/.dnf.new.4691/dnf.changes        2019-12-03 
15:20:06.662569181 +0100
@@ -1,0 +2,78 @@
+Sun Dec  1 17:16:02 UTC 2019 - Neal Gompa <ngomp...@gmail.com>
+
+- Update to version 4.2.17
+  + Set default to skip_if_unavailable=false (rh#1679509)
+  + Fix package reinstalls during yum module remove (rh#1700529)
+  + Fail when "-c" option is given nonexistent file (rh#1512457)
+  + Reuse empty lock file instead of stopping dnf (rh#1581824)
+  + Propagate comps 'default' value correctly (rh#1674562)
+  + Better search of provides in /(s)bin/ (rh#1657993)
+  + Add detection for armv7hcnl (rh#1691430)
+  + Fix group install/upgrade when group is not available (rh#1707624)
+  + Report not matching plugins when using --enableplugin/--disableplugin
+    (rh#1673289, rh#1467304)
+  + Add support of modular FailSafe (rh#1623128)
+  + Replace logrotate with build-in log rotation for dnf.log and dnf.rpm.log
+    (rh#1702690)
+  + Enhance synchronization of rpm transaction to swdb
+  + Accept multiple specs in repoquery options (rh#1667898)
+  + Prevent switching modules in all cases (rh#1706215)
+  + [history] Don't store failed transactions as succeeded
+  + [history] Do not require root for informative commands
+  + [dnssec] Fix UnicodeWarning when using new rpm (rh#1699650)
+  + Print rpm error messages during transaction (rh#1677199)
+  + Report missing default profile as an error (rh#1669527)
+  + Apply excludes before modular excludes (rh#1709453)
+  + Improve help for command line arguments (rh#1659328)
+  + [doc] Describe a behavior when plugin is removed (rh#1700741)
+  + Add new modular API method ModuleBase.get_modules
+  + Mark features used by ansible, anaconda and subscription-manager as an API
+  + Prevent printing empty Error Summary (rh#1690414)
+  + [doc] Add user_agent and countme options
+  + Improve modularity documentation (rh#1730162, rh#1730162, rh#1730807, 
rh#1734081)
+  + Fix detection whether system is running on battery (used by metadata 
caching timer) (rh#1498680)
+  + New repoquery queryformat: %{reason}
+  + Print rpm errors during test transaction (rh#1730348) 
+  + Fix: --setopt and repo with dots
+  + Fix incorrectly marked profile and stream after failed rpm transaction 
check (rh#1719679)
+  + Show transaction errors inside dnf shell (rh#1743644)
+  + Don't reinstall modified packages with the same NEVRA (rh#1644241)
+  + dnf-automatic now respects versionlock excludes (rh#1746562)
+  + Fix downloading local packages into destdir (rh#1727137)
+  + Report skipped packages with identical nevra only once (rh#1643109)
+  + Restore functionality of dnf remove --duplicates (rh#1674296)
+  + Improve API documentation
+  + Document NEVRA parsing in the man page
+  + Do not wrap output when no terminal (rh#1577889)
+  + Allow to ship alternative dnf.conf (rh#1752249)
+  + Don't check if repo is expired if it doesn't have loaded metadata 
(rh#1745170)
+  + Remove duplicate entries from "dnf search" output (rh#1742926)
+  + Set default value of repo name attribute to repo id (rh#1669711)
+  + Allow searching in disabled modules using "dnf module provides" 
(rh#1629667)
+  + Group install takes obsoletes into account (rh#1761137)
+  + Improve handling of vars
+  + Do not load metadata for repolist commands (rh#1697472, rh#1713055, 
rh#1728894)
+  + Don't show older install-only pkgs updates in updateinfo (rh#1649383, 
rh#1728004)
+  + Add --ids option to the group command (rh#1706382)
+  + Add --with_cve and --with_bz options to the updateinfo command (rh#1750528)
+  + Make DNF compatible with FIPS mode (rh#1762032)
+  + Return always alphabetically sorted modular profiles
+  + Enable versionlock for check-update command (rh#1750620)
+  + Add error message when no active modules matched (rh#1696204)
+  + Log mirror failures as warning when repo load fails (rh#1713627)
+  + dnf-automatic: Change all systemd timers to a fixed time of day 
(rh#1754609)
+  + DNF can use config from the remote location (rh#1721091)
+  + [doc] update reference to plugin documentation (rh#1706386)
+  + [yum compatibility] Report all packages in repoinfo
+  + [doc] Add definition of active/inactive module stream
+  + repoquery: Add a switch to disable modular excludes
+  + Report more informative messages when no match for argument (rh#1709563)
+  + [doc] Add description of excludes in dnf
+  + Report more descriptive message when removed package is excluded
+  + Add module repoquery command
+  + Fix assumptions about ARMv8 and the way the rpm features work (rh#1691430)
+  + Add Requires information into module info commands
+  + Enhance inheritance of transaction reasons (rh#1672618, rh#1769788)
+- Rename dnf-yum package to yum and have it replace removed yum package on 
Tumbleweed
+
+-------------------------------------------------------------------

Old:
----
  dnf-4.2.6.tar.gz

New:
----
  dnf-4.2.17.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ dnf.spec ++++++
--- /var/tmp/diff_new_pack.6PCCCb/_old  2019-12-03 15:20:07.454568820 +0100
+++ /var/tmp/diff_new_pack.6PCCCb/_new  2019-12-03 15:20:07.458568818 +0100
@@ -17,10 +17,10 @@
 #
 
 
-%global hawkey_version 0.33.0
+%global hawkey_version 0.39.1
 %global libcomps_version 0.1.8
 %global rpm_version 4.14.0
-%global min_plugins_core 4.0.6
+%global min_plugins_core 4.0.12
 %global min_plugins_extras 4.0.4
 
 %global confdir %{_sysconfdir}/%{name}
@@ -29,12 +29,26 @@
 
 %global py3pluginpath %{python3_sitelib}/dnf-plugins
 
+# YUM v3 has been removed from openSUSE Tumbleweed as of 20191119
+%if 0%{?sle_version} && 0%{?sle_version} < 160000
+%bcond_with as_yum
+%else
+%bcond_without as_yum
+%endif
+
+%if %{with as_yum}
+%global yum_subpackage_name yum
+%else
+%global yum_subpackage_name dnf-yum
+%endif
+
+
 # Tests fail (possibly due to failures in libdnf tests on SUSE)
 # Until those are resolved, these will remain disabled
 %bcond_with tests
 
 Name:           dnf
-Version:        4.2.6
+Version:        4.2.17
 Release:        0
 Summary:        Package manager forked from Yum, using libsolv as a dependency 
resolver
 # For a breakdown of the licensing, see PACKAGE-LICENSING
@@ -52,7 +66,7 @@
 Requires:       python3-dnf = %{version}-%{release}
 Recommends:     %{name}-lang >= %{version}
 Recommends:     dnf-plugins-core
-Recommends:     dnf-yum
+Recommends:     %{yum_subpackage_name}
 Conflicts:      dnf-plugins-core < %{min_plugins_core}
 Provides:       dnf-command(autoremove)
 Provides:       dnf-command(check-update)
@@ -91,13 +105,41 @@
 %description conf
 This package provides the configuration files for DNF.
 
-%package yum
+%package -n %{yum_subpackage_name}
 Summary:        As a Yum CLI compatibility layer, supplies %{_bindir}/yum 
redirecting to DNF
 Group:          System/Packages
 Requires:       dnf = %{version}-%{release}
+%if %{with as_yum}
+Obsoletes:      yum < 4.0.0
+Obsoletes:      dnf-yum < %{version}-%{release}
+Provides:       dnf-yum = %{version}-%{release}
+# SUSE-specific split up of yum-utils features obsoleted by DNF itself...
+%global yum_replaces() \
+Obsoletes:      %{1} < 4.0.0 \
+Provides:       %{1} = %{version}-%{release}
+
+%yum_replaces  yum-aliases
+%yum_replaces  yum-allowdowngrade
+%yum_replaces  yum-basearchonly
+%yum_replaces  yum-downloadonly
+%yum_replaces  yum-fastestmirror
+%yum_replaces  yum-priorities
+%yum_replaces  yum-protect-packages
+%yum_replaces  yum-protectbase
+%yum_replaces  yum-refresh-updatesd
+%yum_replaces  yum-tsflags
+
+# yum-utils plugins with no replacement
+Conflicts:      yum-filter-data
+Conflicts:      yum-list-data
+Conflicts:      yum-tmprepo
+Conflicts:      yum-upgrade-helper
+Conflicts:      yum-verify
+%else
 Conflicts:      yum
+%endif
 
-%description yum
+%description -n %{yum_subpackage_name}
 As a Yum CLI compatibility layer, it supplies %{_bindir}/yum redirecting to 
DNF.
 
 %package -n python3-dnf
@@ -171,8 +213,20 @@
 mv %{buildroot}%{_bindir}/dnf-automatic-3 %{buildroot}%{_bindir}/dnf-automatic
 ln -sr %{buildroot}%{_bindir}/dnf-3 %{buildroot}%{_bindir}/yum
 
+%if %{with as_yum}
+mkdir -p %{buildroot}%{_sysconfdir}/yum
+ln -sr  %{buildroot}%{confdir}/%{name}.conf 
%{buildroot}%{_sysconfdir}/yum/yum.conf
+ln -sr  %{buildroot}%{pluginconfpath} 
%{buildroot}%{_sysconfdir}/yum/pluginconf.d
+ln -sr  %{buildroot}%{confdir}/protected.d 
%{buildroot}%{_sysconfdir}/yum/protected.d
+ln -sr  %{buildroot}%{confdir}/repos.d %{buildroot}%{_sysconfdir}/yum/repos.d
+ln -sr  %{buildroot}%{confdir}/vars %{buildroot}%{_sysconfdir}/yum/vars
+%else
 # We don't want this just yet...
 rm -f %{buildroot}%{confdir}/protected.d/yum.conf
+%endif
+
+# This file is not used...
+rm -f %{buildroot}%{confdir}/dnf-strict.conf
 
 # We don't have ABRT/libreport in openSUSE
 rm -rf %{buildroot}%{_sysconfdir}/libreport
@@ -188,8 +242,9 @@
 %license COPYING PACKAGE-LICENSING
 %doc AUTHORS README.rst
 %{_bindir}/dnf
-%{_mandir}/man8/dnf.8.*
-%{_mandir}/man8/yum2dnf.8.*
+%{_mandir}/man8/dnf.8*
+%{_mandir}/man8/yum2dnf.8*
+%{_mandir}/man7/dnf.modularity.7*
 %dir %{_var}/cache/dnf
 %{_unitdir}/dnf-makecache.service
 %{_unitdir}/dnf-makecache.timer
@@ -222,7 +277,7 @@
 %{_mandir}/man5/dnf.conf.5.*
 %{_tmpfilesdir}/dnf.conf
 
-%files yum
+%files -n %{yum_subpackage_name}
 %license COPYING PACKAGE-LICENSING
 %doc AUTHORS README.rst
 %{_bindir}/yum
@@ -230,6 +285,15 @@
 %{_mandir}/man8/yum-shell.8*
 %{_mandir}/man5/yum.conf.5*
 %{_mandir}/man1/yum-aliases.1*
+%if %{with as_yum}
+%dir %{_sysconfdir}/yum
+%{_sysconfdir}/yum/yum.conf
+%{_sysconfdir}/yum/pluginconf.d
+%{_sysconfdir}/yum/protected.d
+%{_sysconfdir}/yum/repos.d
+%{_sysconfdir}/yum/vars
+%config(noreplace) %{confdir}/protected.d/yum.conf
+%endif
 
 %files -n python3-dnf
 %license COPYING PACKAGE-LICENSING
@@ -273,5 +337,29 @@
 %postun automatic
 %systemd_postun_with_restart %{name}-automatic.timer 
%{name}-automatic-notifyonly.timer %{name}-automatic-download.timer 
%{name}-automatic-install.timer
 
+%if %{with as_yum}
+%pretrans -n %{yum_subpackage_name} -p <lua>
+-- Backup all legacy YUM package manager configuration subdirectories if they 
exist
+yumconfpath = "%{_sysconfdir}/yum"
+chkst = posix.stat(yumconfpath)
+if chkst and chkst.type == "directory" then
+  yumdirs = {"%{_sysconfdir}/yum/pluginconf.d", 
"%{_sysconfdir}/yum/protected.d", "%{_sysconfdir}/yum/repos.d", 
"%{_sysconfdir}/yum/vars"}
+  for num,path in ipairs(yumdirs)
+  do
+    st = posix.stat(path)
+    if st and st.type == "directory" then
+      status = os.rename(path, path .. ".rpmmoved")
+      if not status then
+        suffix = 0
+        while not status do
+          suffix = suffix + 1
+          status = os.rename(path .. ".rpmmoved", path .. ".rpmmoved." .. 
suffix)
+        end
+        os.rename(path, path .. ".rpmmoved")
+      end
+    end
+  end
+end
+%endif
 
 %changelog

++++++ dnf-4.2.6.tar.gz -> dnf-4.2.17.tar.gz ++++++
++++ 278451 lines of diff (skipped)


Reply via email to