Bug 393951 - unversioned obsoletes and provides
unversioned obsoletes and provides
Product: Fedora
Classification: Fedora
Component: gnuplot (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Ivana Varekova
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-11-21 05:52 EST by Florian La Roche
Modified: 2008-01-29 08:02 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-01-29 08:02:26 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
spec file with versioning obsoletes and remove one provides (1.02 KB, patch)
2007-11-21 06:24 EST, Patrice Dumas
no flags Details | Diff

  None (edit)
Description Florian La Roche 2007-11-21 05:52:14 EST
Description of problem:

Current gnuplot has the following in the spec file:

%package -n emacs-%{name}
Provides: gnuplot-emacs
Obsoletes: gnuplot-emacs

%package -n emacs-%{name}-el
Provides: gnuplot-emacs
Obsoletes: gnuplot-emacs

This adds obsoletes between the above two packages. Better would be
to only have the obsoletes once for the emacs-gnuplot rpm, but not add
it for the -el subrpm.


Florian La Roche

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Patrice Dumas 2007-11-21 06:22:24 EST
The Obsoletes and requires should be versioned, but I can't see what's 
wrong with having 2 obsoletes. This ensures that both packages 
are installed if somebody had gnuplot-emacs installed. Since emacs-gnuplot-el
requires emacs-gnuplot, the obsoletes in emacs-gnuplot is a bit 
superfluous, but since it is more logical I think it should be kept.

Having both packages Provides gnuplot-emacs seems more dubious to me.
Comment 2 Patrice Dumas 2007-11-21 06:24:49 EST
Created attachment 265861 [details]
spec file with versioning obsoletes and remove one provides

This patch versions obsoletes and provides.

It also remove the Provides: gnuplot-emacs from the -el
Comment 3 Stepan Kasal 2007-11-23 08:26:01 EST
Yes, the patch looks ok.
See also
(And I'm changing the summary line.)
Comment 4 Florian La Roche 2007-12-14 10:47:57 EST

can this now go into rawhide?


Florian La Roche
Comment 5 Patrice Dumas 2008-01-28 14:02:17 EST
Comment 6 Ivana Varekova 2008-01-29 08:02:26 EST
Thanks. Fixed in gnuplot-4.2.2-9.fc9.

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