Update to 3.5.0

This commit is contained in:
Jaroslav Mracek 2018-09-07 11:19:28 +02:00
parent 9843c9ce5e
commit 972e9bea4c
3 changed files with 25 additions and 15 deletions

1
.gitignore vendored
View File

@ -118,3 +118,4 @@
/dnf-3.1.0.tar.gz /dnf-3.1.0.tar.gz
/dnf-3.2.0.tar.gz /dnf-3.2.0.tar.gz
/dnf-3.3.0.tar.gz /dnf-3.3.0.tar.gz
/dnf-3.5.0.tar.gz

View File

@ -1,6 +1,5 @@
# default dependencies # default dependencies
%global hawkey_version 0.17.2 %global hawkey_version 0.19.0
%global librepo_version 1.9.0
%global libcomps_version 0.1.8 %global libcomps_version 0.1.8
%global libmodulemd_version 1.4.0 %global libmodulemd_version 1.4.0
%global rpm_version 4.14.0 %global rpm_version 4.14.0
@ -72,7 +71,7 @@
It supports RPMs, modules and comps groups & environments. It supports RPMs, modules and comps groups & environments.
Name: dnf Name: dnf
Version: 3.3.0 Version: 3.5.0
Release: 1%{?dist} Release: 1%{?dist}
Summary: %{pkg_summary} Summary: %{pkg_summary}
# For a breakdown of the licensing, see PACKAGE-LICENSING # For a breakdown of the licensing, see PACKAGE-LICENSING
@ -166,18 +165,13 @@ BuildRequires: python2-hawkey >= %{hawkey_version}
BuildRequires: python2-libdnf >= %{hawkey_version} BuildRequires: python2-libdnf >= %{hawkey_version}
BuildRequires: python2-libcomps >= %{libcomps_version} BuildRequires: python2-libcomps >= %{libcomps_version}
BuildRequires: python2-libdnf BuildRequires: python2-libdnf
BuildRequires: python2-librepo >= %{librepo_version}
BuildRequires: python2-nose BuildRequires: python2-nose
BuildRequires: libmodulemd >= %{libmodulemd_version} BuildRequires: libmodulemd >= %{libmodulemd_version}
Requires: libmodulemd >= %{libmodulemd_version} Requires: libmodulemd >= %{libmodulemd_version}
%if (0%{?rhel} && 0%{?rhel} <= 7) %if (0%{?rhel} && 0%{?rhel} <= 7)
BuildRequires: pygpgme BuildRequires: pygpgme
Requires: pygpgme Requires: pygpgme
BuildRequires: python-gobject-base
Requires: python-gobject-base
%else %else
BuildRequires: python2-gobject-base
Requires: python2-gobject-base
BuildRequires: python2-gpg BuildRequires: python2-gpg
Requires: python2-gpg Requires: python2-gpg
%endif %endif
@ -194,7 +188,6 @@ Requires: python2-hawkey >= %{hawkey_version}
Requires: python2-libdnf >= %{hawkey_version} Requires: python2-libdnf >= %{hawkey_version}
Requires: python2-libcomps >= %{libcomps_version} Requires: python2-libcomps >= %{libcomps_version}
Requires: python2-libdnf Requires: python2-libdnf
Requires: python2-librepo >= %{librepo_version}
%if 0%{?rhel} && 0%{?rhel} <= 7 %if 0%{?rhel} && 0%{?rhel} <= 7
BuildRequires: python-iniparse BuildRequires: python-iniparse
Requires: python-iniparse Requires: python-iniparse
@ -223,11 +216,8 @@ BuildRequires: python3-libdnf >= %{hawkey_version}
BuildRequires: python3-iniparse BuildRequires: python3-iniparse
BuildRequires: python3-libcomps >= %{libcomps_version} BuildRequires: python3-libcomps >= %{libcomps_version}
BuildRequires: python3-libdnf BuildRequires: python3-libdnf
BuildRequires: python3-librepo >= %{librepo_version}
BuildRequires: libmodulemd >= %{libmodulemd_version} BuildRequires: libmodulemd >= %{libmodulemd_version}
Requires: libmodulemd >= %{libmodulemd_version} Requires: libmodulemd >= %{libmodulemd_version}
BuildRequires: python3-gobject-base
Requires: python3-gobject-base
BuildRequires: python3-nose BuildRequires: python3-nose
BuildRequires: python3-gpg BuildRequires: python3-gpg
Requires: python3-gpg Requires: python3-gpg
@ -243,7 +233,6 @@ Requires: python3-libdnf >= %{hawkey_version}
Requires: python3-iniparse Requires: python3-iniparse
Requires: python3-libcomps >= %{libcomps_version} Requires: python3-libcomps >= %{libcomps_version}
Requires: python3-libdnf Requires: python3-libdnf
Requires: python3-librepo >= %{librepo_version}
BuildRequires: python3-rpm >= %{rpm_version} BuildRequires: python3-rpm >= %{rpm_version}
Requires: python3-rpm >= %{rpm_version} Requires: python3-rpm >= %{rpm_version}
%if 0%{?rhel} && 0%{?rhel} <= 7 %if 0%{?rhel} && 0%{?rhel} <= 7
@ -334,6 +323,12 @@ ln -sr %{buildroot}%{_bindir}/dnf-2 %{buildroot}%{_bindir}/yum
%endif %endif
%endif %endif
rm -vf %{buildroot}%{_bindir}/dnf-automatic-* rm -vf %{buildroot}%{_bindir}/dnf-automatic-*
%if "%{yum_subpackage_name}" == "yum"
mkdir -p %{buildroot}%{_sysconfdir}/yum
ln -sr %{buildroot}%{pluginconfpath} %{buildroot}%{_sysconfdir}/yum/pluginconf.d
ln -sr %{buildroot}%{confdir}/protected.d %{buildroot}%{_sysconfdir}/yum/protected.d
ln -sr %{buildroot}%{confdir}/vars %{buildroot}%{_sysconfdir}/yum/vars
%endif
%check %check
@ -426,8 +421,19 @@ rm -vf %{buildroot}%{_bindir}/dnf-automatic-*
%{_bindir}/yum %{_bindir}/yum
%{_mandir}/man8/yum.8* %{_mandir}/man8/yum.8*
%{_sysconfdir}/yum.conf %{_sysconfdir}/yum.conf
%{_sysconfdir}/yum/pluginconf.d
%{_sysconfdir}/yum/protected.d
%{_sysconfdir}/yum/vars
%{_mandir}/man1/repoquery.1.*
%{_mandir}/man5/yum.conf.5.* %{_mandir}/man5/yum.conf.5.*
%{_mandir}/man8/yum.8* %{_mandir}/man8/yum.8*
%{_mandir}/man8/yum-shell.8*
%else
%exclude %{_mandir}/man1/repoquery.1.*
%exclude %{_mandir}/man8/yum-shell.8*
%exclude %{_sysconfdir}/yum/pluginconf.d
%exclude %{_sysconfdir}/yum/protected.d
%exclude %{_sysconfdir}/yum/vars
%endif %endif
%if "%{yum_subpackage_name}" == "yum4" %if "%{yum_subpackage_name}" == "yum4"
@ -439,8 +445,8 @@ rm -vf %{buildroot}%{_bindir}/dnf-automatic-*
%endif %endif
%if "%{yum_subpackage_name}" == "%{name}-yum" %if "%{yum_subpackage_name}" == "%{name}-yum"
%{_sysconfdir}/yum.conf
%{_bindir}/yum %{_bindir}/yum
%{_sysconfdir}/yum.conf
%{_mandir}/man5/yum.conf.5* %{_mandir}/man5/yum.conf.5*
%{_mandir}/man8/yum.8* %{_mandir}/man8/yum.8*
%endif %endif
@ -481,6 +487,9 @@ rm -vf %{buildroot}%{_bindir}/dnf-automatic-*
%endif %endif
%changelog %changelog
* Fri Sep 07 2018 Jaroslav Mracek <jmracek@redhat.com> - 3.5.0-1
- New implementation of modularity
* Mon Aug 13 2018 Daniel Mach <dmach@redhat.com> - 3.3.0-1 * Mon Aug 13 2018 Daniel Mach <dmach@redhat.com> - 3.3.0-1
- [misc] Fallback to os.getuid() if /proc/self/loginuid can't be read (RhBug:1597005) - [misc] Fallback to os.getuid() if /proc/self/loginuid can't be read (RhBug:1597005)
- [translations] Update translations from zanata. - [translations] Update translations from zanata.

View File

@ -1 +1 @@
SHA512 (dnf-3.3.0.tar.gz) = 850e5783b96deb3d6c8fd16beb1f1ceccbca70fcf2efd139a4786b017eca45993ac86dfa1d6131729083519be0c22846b7d06b005cb7f006b35ba8460662f4de SHA512 (dnf-3.5.0.tar.gz) = 8a72b8e4480951b325e234c1f836b51415e2dd088cd4d4fdf62d492e3da49c477e8d8d54ad862ee30009b5c96cb2d1f4abf0095ccde1a892ec20c0ef2e12df5c