Hello community, here is the log from the commit of package dnf for openSUSE:Factory checked in at 2017-08-30 11:59:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dnf (Old) and /work/SRC/openSUSE:Factory/.dnf.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "dnf" Wed Aug 30 11:59:19 2017 rev:3 rq: version:2.6.3 Changes: -------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dnf.spec ++++++ --- /var/tmp/diff_new_pack.aAEARI/_old 2017-08-30 11:59:22.942440328 +0200 +++ /var/tmp/diff_new_pack.aAEARI/_new 2017-08-30 11:59:22.958438077 +0200 @@ -1,6 +1,7 @@ # # spec file for package dnf # +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 Neal Gompa <ngompa13@gmail.com>. # # All modifications and additions to the file contributed by third parties @@ -22,56 +23,39 @@ %global rpm_version 4.13.0 %global min_plugins_core 2.1.3 %global min_plugins_extras 0.10.0 - %global confdir %{_sysconfdir}/%{name} - %global pluginconfpath %{confdir}/plugins - # Compat definitions %{!?python2_sitelib: %global python2_sitelib %{python_sitelib}} -%{!?make_build: %global make_build %{__make} -O %{?_smp_mflags}} - +%{!?make_build: %global make_build make -O %{?_smp_mflags}} %global py2pluginpath %{python2_sitelib}/dnf-plugins %global py3pluginpath %{python3_sitelib}/dnf-plugins - +# Fedora package release versions are committed as versions in upstream +%global origrel %{?prerel:0.%{prerel}.}1 # Disable services units stuff, as we're not using them on openSUSE %bcond_with service_units - # Tests fail (possibly due to failures in libdnf tests on SUSE) # Until those are resolved, these will remain disabled %bcond_with tests - -# Fedora package release versions are committed as versions in upstream -%global origrel %{?prerel:0.%{prerel}.}1 - Name: dnf Version: 2.6.3 Release: 0 Summary: Package manager forked from Yum, using libsolv as a dependency resolver # For a breakdown of the licensing, see PACKAGE-LICENSING -License: GPL-2.0+ and GPL-2.0 +License: GPL-2.0+ AND GPL-2.0 Group: System/Packages Url: https://github.com/rpm-software-management/dnf Source0: %{url}/archive/%{name}-%{version}-%{origrel}.tar.gz - # PATCH-FIX-OPENSUSE dnf-2.6.3-Switch-default-reposdir-to-etc-dnf-repos.d.patch ngompa13@gmail.com -- Switch default reposdir to /etc/dnf/repos.d Patch1000: dnf-2.6.3-Switch-default-reposdir-to-etc-dnf-repos.d.patch - -BuildArch: noarch BuildRequires: cmake BuildRequires: gettext BuildRequires: python-Sphinx BuildRequires: python-bugzilla -%if %{with service_units} -BuildRequires: systemd-rpm-macros -%{?systemd_requires} -%endif - Requires: python3-dnf = %{version}-%{release} - Recommends: %{name}-lang >= %{version} -Recommends: dnf-yum Recommends: dnf-plugins-core +Recommends: dnf-yum Conflicts: dnf-plugins-core < %{min_plugins_core} Provides: dnf-command(autoremove) Provides: dnf-command(check-update) @@ -95,6 +79,11 @@ Provides: dnf-command(updateinfo) Provides: dnf-command(upgrade) Provides: dnf-command(upgrade-to) +BuildArch: noarch +%if %{with service_units} +BuildRequires: systemd-rpm-macros +%{?systemd_requires} +%endif %description DNF is an package manager for RPM systems that was forked from Yum. Among the @@ -109,18 +98,17 @@ This package provides the configuration files for DNF. %package yum -Conflicts: yum -Requires: dnf = %{version}-%{release} -Summary: As a Yum CLI compatibility layer, supplies /usr/bin/yum redirecting to DNF +Summary: As a Yum CLI compatibility layer, supplies %{_bindir}/yum redirecting to DNF Group: System/Packages +Requires: dnf = %{version}-%{release} +Conflicts: yum %description yum -As a Yum CLI compatibility layer, it supplies /usr/bin/yum redirecting to DNF. +As a Yum CLI compatibility layer, it supplies %{_bindir}/yum redirecting to DNF. %package -n python2-dnf Summary: Python 2 interface to DNF Group: System/Packages -Provides: python-dnf = %{version}-%{release} BuildRequires: python-gpg BuildRequires: python-pyliblzma BuildRequires: python2-curses @@ -131,7 +119,6 @@ BuildRequires: python2-librepo >= %{librepo_version} BuildRequires: python2-nose BuildRequires: rpm-python >= %{rpm_version} -Recommends: bash-completion # boolean dependencies cause issues in the susetags repotype; disabled, until we finish migration to pure rpm-md #Recommends: (python2-dbus-python if NetworkManager) Requires: deltarpm @@ -143,9 +130,11 @@ Requires: python2-libcomps >= %{libcomps_version} Requires: python2-librepo >= %{librepo_version} Requires: rpm-python >= %{rpm_version} +Recommends: bash-completion # DNF 2.0 doesn't work with old plugins Conflicts: python2-dnf-plugins-core < %{min_plugins_core} Conflicts: python2-dnf-plugins-extras-common < %{min_plugins_extras} +Provides: python-dnf = %{version}-%{release} %description -n python2-dnf This package provides the Python 2 interface to DNF. @@ -162,8 +151,8 @@ BuildRequires: python3-librepo >= %{librepo_version} BuildRequires: python3-nose BuildRequires: python3-rpm >= %{rpm_version} -Recommends: bash-completion -Recommends: (python3-dbus-python if NetworkManager) +# boolean dependencies cause issues in the susetags repotype; disabled, until we finish migration to pure rpm-md +#Recommends: (python3-dbus-python if NetworkManager) Requires: deltarpm Requires: dnf-conf = %{version}-%{release} Requires: python3-gpg @@ -172,6 +161,7 @@ Requires: python3-libcomps >= %{libcomps_version} Requires: python3-librepo >= %{librepo_version} Requires: python3-rpm >= %{rpm_version} +Recommends: bash-completion # DNF 2.0 doesn't work with old plugins Conflicts: python3-dnf-plugins-core < %{min_plugins_core} Conflicts: python3-dnf-plugins-extras-common < %{min_plugins_extras} @@ -186,8 +176,8 @@ Summary: Alternative CLI to "dnf upgrade" suitable for automatic, regular execution Group: System/Packages BuildRequires: systemd-rpm-macros -%{?systemd_requires} Requires: dnf = %{version}-%{release} +%{?systemd_requires} %description automatic Alternative CLI to "dnf upgrade" suitable for automatic, regular execution.