Bug 1740801

Summary: Please add Obsoletes + Provides gcompris to F31+ branches
Product: [Fedora] Fedora Reporter: Hans de Goede <hdegoede>
Component: gcompris-qtAssignee: Andrea Musuruane <musuruan>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: musuruan, samuel-rhbugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-17 17:20:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.