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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 #11 from Dylan Swift <dylan.swift@xxxxxxxxx>  2009-09-20 05:29:45 EDT ---
> > 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.

when I run rpmbuild -ba I get an SRPM file with the %{?dist} tag in the
filename. So when I run on my f10 machine I get one file, when I run on my f11
machine I get another.

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

Understood

> > > 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.

but if the %{?dist} tag is irrelevant to the binary (the system building the
binary determines that) then why have the %{?dist} tag in the SRPM?

Ultimately what I need to know is what do I upload nmon-12d-1-f10.srpm or
nmon-12d-1-f11.srpm or does it not matter?

I haven't attempted to build on f12 yet - I don't have a copy of the latest.
Should I be worried about that?


thanks again for your help on this.

-- 
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.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]