Update to 4.16.1

This commit is contained in:
Jan Kolarik 2023-05-30 08:35:46 +02:00
parent e1d55d6da2
commit 44b006f83c
3 changed files with 42 additions and 25 deletions

1
.gitignore vendored
View File

@ -156,3 +156,4 @@
/dnf-4.15.0.tar.gz
/dnf-4.15.1.tar.gz
/dnf-4.16.0.tar.gz
/dnf-4.16.1.tar.gz

View File

@ -65,7 +65,7 @@
It supports RPMs, modules and comps groups & environments.
Name: dnf
Version: 4.16.0
Version: 4.16.1
Release: 1%{?dist}
Summary: %{pkg_summary}
# For a breakdown of the licensing, see PACKAGE-LICENSING
@ -86,29 +86,6 @@ Requires: %{_bindir}/sqlite3
%else
Recommends: (python3-dbus if NetworkManager)
%endif
Provides: dnf-command(alias)
Provides: dnf-command(autoremove)
Provides: dnf-command(check-update)
Provides: dnf-command(clean)
Provides: dnf-command(distro-sync)
Provides: dnf-command(downgrade)
Provides: dnf-command(group)
Provides: dnf-command(history)
Provides: dnf-command(info)
Provides: dnf-command(install)
Provides: dnf-command(list)
Provides: dnf-command(makecache)
Provides: dnf-command(mark)
Provides: dnf-command(provides)
Provides: dnf-command(reinstall)
Provides: dnf-command(remove)
Provides: dnf-command(repolist)
Provides: dnf-command(repoquery)
Provides: dnf-command(repository-packages)
Provides: dnf-command(search)
Provides: dnf-command(updateinfo)
Provides: dnf-command(upgrade)
Provides: dnf-command(upgrade-to)
Conflicts: python3-dnf-plugins-core < %{conflicts_dnf_plugins_core_version}
Conflicts: python3-dnf-plugins-extras-common < %{conflicts_dnf_plugins_extras_version}
@ -118,7 +95,9 @@ Conflicts: python3-dnf-plugins-extras-common < %{conflicts_dnf_plugins_extr
%package data
Summary: Common data and configuration files for DNF
Requires: libreport-filesystem
%if 0%{?fedora} > 38
Requires: libdnf5
%endif
Obsoletes: %{name}-conf <= %{version}-%{release}
Provides: %{name}-conf = %{version}-%{release}
@ -168,6 +147,29 @@ Requires: rpm-plugin-systemd-inhibit
%else
Recommends: (rpm-plugin-systemd-inhibit if systemd)
%endif
Provides: dnf-command(alias)
Provides: dnf-command(autoremove)
Provides: dnf-command(check-update)
Provides: dnf-command(clean)
Provides: dnf-command(distro-sync)
Provides: dnf-command(downgrade)
Provides: dnf-command(group)
Provides: dnf-command(history)
Provides: dnf-command(info)
Provides: dnf-command(install)
Provides: dnf-command(list)
Provides: dnf-command(makecache)
Provides: dnf-command(mark)
Provides: dnf-command(provides)
Provides: dnf-command(reinstall)
Provides: dnf-command(remove)
Provides: dnf-command(repolist)
Provides: dnf-command(repoquery)
Provides: dnf-command(repository-packages)
Provides: dnf-command(search)
Provides: dnf-command(updateinfo)
Provides: dnf-command(upgrade)
Provides: dnf-command(upgrade-to)
%description -n python3-%{name}
Python 3 interface to DNF.
@ -232,6 +234,9 @@ ln -sr %{buildroot}%{confdir}/protected.d %{buildroot}%{_sysconfdir}/yum/protec
ln -sr %{buildroot}%{confdir}/vars %{buildroot}%{_sysconfdir}/yum/vars
%endif
%if 0%{?fedora} > 38
rm %{buildroot}%{confdir}/%{name}.conf
%endif
%check
@ -284,8 +289,15 @@ popd
%dir %{confdir}/modules.d
%dir %{confdir}/modules.defaults.d
%dir %{pluginconfpath}
%if 0%{?fedora} <= 38
%dir %{confdir}/protected.d
%dir %{confdir}/vars
%endif
%dir %{confdir}/aliases.d
%exclude %{confdir}/aliases.d/zypper.conf
%if 0%{?fedora} <= 38
%config(noreplace) %{confdir}/%{name}.conf
%endif
# No longer using `noreplace` here. Older versions of DNF 4 marked `dnf` as a
# protected package, but since Fedora 39, DNF needs to be able to update itself
# to DNF 5, so we need to replace the old /etc/dnf/protected.d/dnf.conf.
@ -365,6 +377,10 @@ popd
%{python3_sitelib}/%{name}/automatic/
%changelog
* Mon May 29 2023 Jan Kolarik <jkolarik@redhat.com> - 4.16.1-1
- Update to 4.16.1
- DNF5 should not deprecate DNF on Fedora 38
* Thu May 25 2023 Jan Kolarik <jkolarik@redhat.com> - 4.16.0-1
- Update to 4.16.0
- Remove ownership of dnf.conf, protected.d, vars

View File

@ -1 +1 @@
SHA512 (dnf-4.16.0.tar.gz) = bfebb358b6d49e898a5a1dd4395e35869b317c8a7bc82bde463d859c2cfe3fc8c7c9f21b99dbd381dde0a0a689fc278a32cb9c39784a990a71dcdd86c7d2225e
SHA512 (dnf-4.16.1.tar.gz) = b478b0ff851333591f4bb42b01a344377ee14ffd892e1897b59ecd34c08042d9366b97c0c50175b6744726d2e29476a208545b5c4b6e7188acfd7e5e26d33161