Re: building CVS rpm versioning

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

 



Ian Malone wrote:
> I'd like to build an RPM or two from the CVS source, while I can get
> rpmbuild to spit out a set of RPMs I'd like to be able to do the
> versioning so a new release from Core/Extras/elsewhere would still
> replace it once available.  What's the best way to go about this?

Check out the Naming Guidelines page on the Fedora Wiki:

http://fedoraproject.org/wiki/Packaging/NamingGuidelines#head-18aa467fc6925455e44be682fd336667a17e8933

There you'll find some guidelines with a discussion of how to handle
cvs versions and such.

A quick example.  Say you're building gtkpod from CVS.

You could use something like this in your spec file:

%define cvs_date 20061126

Name: gtkpod
Version: 0.99.9
Release: 0.2.%{cvs_date}

This way, whenever 0.99.9 is released you can simply bump the Release
field to 1 and it will take precedence over all of your 0.99.9 CVS
builds.

HTH,

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
======================================================================
The less a statesman amounts to, the more he loves the flag.
    -- Kin Hubbard

Attachment: pgppckosT11Bw.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux