[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: How to affix packager label to package
- From: Matthew Miller <mattdm mattdm org>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: How to affix packager label to package
- Date: Sun, 2 Mar 2008 07:59:24 -0500
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 mattdm org <http://mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]