rpm-software-management / dnf-plugin-system-upgrade

A DNF plugin for system upgrades (moved to dnf-plugins-extras!)
GNU General Public License v2.0
24 stars 22 forks source link

require versioned python library #30

Closed kparal closed 9 years ago

kparal commented 9 years ago

In the spec file there's this:

%if 0%{?fedora} >= 23
# DNF in Fedora 23 uses Python 3 by default
Requires: python3-%{name}
%else
Requires: python2-%{name}
%endif

And so when we instruct people to use the latest system-upgrade from updates-testing, they do this:

sudo dnf update dnf-plugin-system-upgrade --enablerepo=updates-testing

which will not update python*-dnf-plugin-system-upgrade. See here:

OK.... That did improve things... But one thing to note.... I updated dnf-plugin-system-upgrade from updates-testing but it did NOT pull-in python2-dnf-plugin-system-upgrade. Without pulling in python2-dnf-plugin-system-upgrade the issues I had still remained. https://lists.fedoraproject.org/pipermail/test/2015-November/128413.html

Please use a versioned python dependency in the spec file, thanks.