Bug 681343 - major problems with rawhide package
Summary: major problems with rawhide package
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: mathgl
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: D Haley
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-01 21:16 UTC by Alex Lancaster
Modified: 2014-01-15 10:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-15 10:36:19 UTC
Type: ---


Attachments (Terms of Use)

Description Alex Lancaster 2011-03-01 21:16:13 UTC
There are multiple problems with the rawhide package:

1. the N-V-R is lower than the f15 branch:

1.11.0.1-3.fc16 < 1.11.0.1-4.fc15

this will break the upgrade path.  If you need to bump an older branch without having to rebuild the rawhide branch, you should use the post-disttag ".rel" convention, i.e. just add ".1" *after* the disttag, so that:

1.11.0.1-3.fc16 > 1.11.0.1-3.fc15.1

2. removing the octave package as done here:

http://pkgs.fedoraproject.org/gitweb/?p=mathgl.git;a=commitdiff;h=39f9fd1eb1cac187261f99b83b2cf9a5a7bcc881

causes broken deps in the rawhide tree.  If you are removing a subpackage, you need to add the appropriate Obsoletes/Provides so that the old subpackage (in this case mathgl-octave) are removed when updating an installation that has the old subpackage to the new package, which does not contain the subpackage, see:

https://fedoraproject.org/wiki/Packaging/NamingGuidelines#Renaming.2Freplacing_existing_packages

for details on how to do this:

Comment 1 Alex Lancaster 2011-03-01 21:27:52 UTC
(In reply to comment #0)

> 2. removing the octave package as done here:

> https://fedoraproject.org/wiki/Packaging/NamingGuidelines#Renaming.2Freplacing_existing_packages
> 
> for details on how to do this:

Actually even better is this:

http://fedoraproject.org/wiki/Upgrade_paths_%E2%80%94_renaming_or_splitting_packages

Since the new package doesn't provide the octave bindings at all, you probably don't want to include "Provides" (but you will need the "Obsoletes").

Comment 2 D Haley 2011-03-27 16:52:06 UTC
Im a little confused -- I have never offered a fedora package called mathgl-octave, as far as I know -- that diff does not include the keyword "%package", which is what I am reading those docs as describing. The "package" that is offered is a .pkg file, which is specific to octave, and should not be visible to yum.

The other problem was a missing git commit :/.

Comment 3 Susi Lehtola 2011-08-12 17:35:05 UTC
What's the status of this bug?

Comment 4 D Haley 2011-08-14 11:45:22 UTC
The NVR problem was fixed quite some time ago -- I cannot comment on the second "problem", as I have no idea what Alex is talking about -- there was never a -octave subpackage, what I am removing is the .pkg file, which is not handled directly by any RPM (build)requires graph.

Comment 5 D Haley 2011-08-14 11:47:12 UTC
Oh, I should add one thing -- Until it is clear that I have actually addresed this bug correctly, I am loath to close it myself. If someone could clarify what the problem is, if any, I will fix it. 

OTOH, if there is no problem, can someone else close the bug, or give me the all-clear to do so?

Comment 6 Fedora End Of Life 2013-04-03 16:27:16 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 7 Dominik 'Rathann' Mierzejewski 2013-07-21 21:23:02 UTC
(In reply to D Haley from comment #5)
> Oh, I should add one thing -- Until it is clear that I have actually
> addresed this bug correctly, I am loath to close it myself. If someone could
> clarify what the problem is, if any, I will fix it. 
> 
> OTOH, if there is no problem, can someone else close the bug, or give me the
> all-clear to do so?

You used to include an octave module inside the main package, so there's nothing to obsolete or provide after you stopped including it. FWIW, I think you did the right thing disabling the module if it was non-functional. You can safely close this bug.

By the way, if you ever re-enable it in the package, please follow the guidelines https://fedoraproject.org/wiki/Packaging:Octave and maybe put it in a subpackage.

Comment 8 Dmitrij S. Kryzhevich 2014-01-15 10:36:19 UTC
Octave module is removed for now (version 2.2, wich will be in the repo in a week or so).

It will be readded some time later in octave-mathgl subpackage. Some not-very-very-long time later.

I think I could close this report with NEXTRELEASE resolution.


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