Bug 112384

Summary: rpm and serial tags dependancy resolutiuon problem
Product: [Fedora] Fedora Reporter: simon
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED NOTABUG QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-12-18 18:52:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description simon 2003-12-18 18:37:11 UTC
Description of problem:
Building rpms with a Serial number defined causes problems with
library core / devel pair (or even debuginfo). The devel package will
not see the core package as compatible when the tag is there. Removal
of the tag fixes this problem.

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

How reproducible:
Always

Steps to Reproduce:
1. Create a spec file for a library with the Serial tag
2. Build rpms
3. Try and install devel rpm after the core rpm has been installed (or
at the same time)
  
Actual results:
 Complaints about incorrect dependancies

Expected results:
 Devel package should install no problem 

Additional info:

Comment 1 Jeff Johnson 2003-12-18 18:52:46 UTC
BTW, Epoch: is the preferred syntax for Serial: for years. Yes
they are treated as synonyms.

If the libraray has an epoch, then the epoch must be specified
in the -devel package.

That means if the main pkg has, say,
    Name: foo
    Epoch: 42
    Version: 1.0
    Release: 1
then the -devel dependency needs to bre written
    Requires: foo = 42:1.0-1

This is the behavior in 4.2.1 and later.