Re: How to affix packager label to package

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

 



On Sat, Mar 01, 2008 at 08:53:44PM -0800, Drew Bertola wrote:
> I can give an example:  I'd like to use php-5.2.4 on our centos servers,
> so I grab the rpm from fedora and try rpmbuild --rebuild
> php-5.2.4...fc8.srpm.  During the rebuild, a macro is picked up
> (somewhere in /etc/rpm/macro*, I'd guess) that appends ".abc" to the
> release number.

Since you're building on Fedora, there happens to be a convention which will
help you. Almost all Fedora packages contain %{?dist} as part of their
release string, so, put something like 

%dist           %{?dist}.abc

in your ~/.rpmmacros file and there you go.


-- 
Matthew Miller           mattdm@xxxxxxxxxx          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux