Bug 854873 - python-django-tagging does not Obsolete / Provide django-tagging
Summary: python-django-tagging does not Obsolete / Provide django-tagging
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-django-tagging
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Runge
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-06 08:13 UTC by Hans de Goede
Modified: 2012-09-17 22:23 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-09-17 22:23:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Hans de Goede 2012-09-06 08:13:59 UTC
While running package-cleanup --orphans on my F-18 install it said django-tagging was an orphan, according to: http://pkgs.fedoraproject.org/cgit/django-tagging.git/tree/dead.package  this is because it was renamed to python-django-tagging.

But renamed packages MUST Obsolete and Provide their old name, so that upgrading works properly, an other form of the same problem is:

sudo yum install python-django-tagging

...

Transaction Check Error:
  file /usr/lib/python2.7/site-packages/django_tagging-0.3.1-py2.7.egg-info from install of python-django-tagging-0.3.1-5.fc18.noarch conflicts with file from package django-tagging-0.3.1-3.fc17.noarch


So the spec file should have the following lines added:

Obsoletes: django-tagging < %{version}-%{release}
Provides: django-tagging = %{version}-%{release}


Note the same goes for any other renamed django packages!

Comment 1 Hans de Goede 2012-09-06 08:21:20 UTC
Hi,

After manual upgrading I see the problem is not a missing obsoletes but a wrong obsoletes:

[hans@shalem f17]$ rpm -q --obsoletes python-django-tagging
django-tagging < 0.3.1-3

But F-17 has:
django-tagging-0.3.1-3.fc17.noarch

So the Obsoletes should be:
django-tagging <= 0.3.1-3

Regards,

Hans

Comment 2 Matthias Runge 2012-09-06 08:37:05 UTC
Hans, thank you for the report, you're absolutely right!

I'm pushing a fix in a couple of minutes.

Comment 3 Fedora Update System 2012-09-06 08:53:33 UTC
python-django-tagging-0.3.1-6.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/python-django-tagging-0.3.1-6.fc18

Comment 4 Fedora Update System 2012-09-07 19:39:52 UTC
Package python-django-tagging-0.3.1-6.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-django-tagging-0.3.1-6.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-13580/python-django-tagging-0.3.1-6.fc18
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-09-17 22:23:06 UTC
python-django-tagging-0.3.1-6.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.