[Bug 524119] Review Request: nmon - Nigel's performance MONitor for Linux

bugzilla at redhat.com bugzilla at redhat.com
Sun Sep 20 08:15:02 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=524119





--- Comment #10 from Jussi Lehtola <jussi.lehtola at iki.fi>  2009-09-20 04:15:01 EDT ---
(In reply to comment #9)
> > Not exactly. The RPMs built on different distributions from the same SRPM will
> > be different. But in the review it is generally enough that the package builds
> > in the development tree (rawhide).
> 
> That still confuses me - why then have different SRPMS if they contain the same
> course and SPEC files?

Who said anything about having to have multiple SRPMs? :)
When you generate an srpm, the %{?dist} tag in the Release field gets evaluated
to the value it has on the distribution. So even though the SRPMs generated on
Fedora 10 and Fedora 11 were identical in their content, they still would get
different versions.

But if you built the Fedora 10 SRPM on Fedora 11, you would get out Fedora 11
RPMs.

> > No. The %{?dist} tag is a SHOULD item, and comes from the fact that once the
> > package has been approved and imported in Fedora CVS, you won't be able to
> > build the package for e.g. Fedora 10 and Fedora 11, since the build system
> > won't allow you to tag multiple spec files with the same version and release.
> 
> so does that mean it is only possible to add new packages to rawhide and not to
> currently supported distributions (f10 & f11)

No. If you don't use the %{?dist} tag, then you can add e.g. the -1 release to
F10, the -2 release to F11 and the -3 release to rawhide. With the dist tag,
you can have e.g. -3%{?dist} in all of the distros, since they will be
evaluated as different (-3.fc10, -3.fc11 and -3.fc12).

> also surely it is the other way around, a single SPEC file (in a single SRPM)
> for multiple distributions?

The whole idea of the %{?dist} tag is to make this possible within the
limitations of the build system. Once again: even though the spec file were
identical on all of the distributions, the release tag of the RPMs/SRPMs
generated from it have different revisions since %{?dist} is evaluted to e.g.
fc11.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-package-review mailing list