Bug 1740801 - Please add Obsoletes + Provides gcompris to F31+ branches
Summary: Please add Obsoletes + Provides gcompris to F31+ branches
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcompris-qt
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andrea Musuruane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-13 16:03 UTC by Hans de Goede
Modified: 2019-08-17 18:30 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-08-17 17:20:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Hans de Goede 2019-08-13 16:03:37 UTC
The original gcompris has been retired for F31+ since it requires Python 2 which is going away.

Can you please add the necessary Obsoletes + Provides to gomcpris-qt to the f31++ branches of gcompris-qt, so that it will automatically replace gcompris?

Comment 1 Andrea Musuruane 2019-08-14 08:38:50 UTC
(In reply to Hans de Goede from comment #0)
> Can you please add the necessary Obsoletes + Provides to gomcpris-qt to the
> f31++ branches of gcompris-qt, so that it will automatically replace
> gcompris?

I'm not sure this is the right thing to do.

Packaging guidelines states:
"If a package is being renamed without any functional changes, or is a compatible enough replacement to an existing package (where "enough" means that it includes only changes of magnitude that are commonly found in version upgrade changes), provide clean upgrade paths and compatibility with:

Provides: oldpackagename = $provEVR
Obsoletes: oldpackagename < $obsEVR

[...]

If a package supersedes/replaces an existing package without being a sufficiently compatible replacement as defined above, use only the Obsoletes: line from the above example."

https://docs.fedoraproject.org/en-US/packaging-guidelines/#renaming-or-replacing-existing-packages

But gcompris-qt is a complete rewrite of gcompris. Maybe it's better to use only Obsoletes.

Comment 2 Hans de Goede 2019-08-14 13:08:48 UTC
Only using the Obsoletes will make rpmlint unhappy (*) and having the Provides will also allow "dnf install gcompris" to work, which is useful to have IMHO since it makes it easier for users to install gcompris.

But if you prefer to just have the Obsoletes and not the Provides that is fine with me too.


*) this can be silenced with a gcompris-qt.rpmlintrc file

Comment 3 Andrea Musuruane 2019-08-17 17:20:42 UTC
It should be fixed for F31+.

Comment 4 Hans de Goede 2019-08-17 18:30:25 UTC
(In reply to Andrea Musuruane from comment #3)
> It should be fixed for F31+.

Thank you.


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