[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: How to affix packager label to package
- From: Valery Reznic <valery_reznic yahoo com>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: How to affix packager label to package
- Date: Sat, 1 Mar 2008 23:16:47 -0800 (PST)
--- Drew Bertola <drew drewb com> wrote:
> Hi,
>
> I'd like to build a set of rpms for internal usage.
> I'd like the
> resulting srpms and bin rpms to carry an identifier
> for our repo, since
> a lot of the packages are going to be created from
> rebuilding those from
> other repos, I don't want to have to edit all the
> spec files. Is this
> possible?
>
> 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.
For binary rpm you can use rpmrebuild
(http://rpmrebuild.sf.net) to change revision (or
anything else).
Valery.
>
> I know how to do this by editing the spec file, but
> there must be a
> convenient way to do this with one step, as in doing
> the --rebuild of an
> existing srpm.
>
> Any ideas?
>
> --
> Drew Bertola
>
> -------------------------------------------------
> * PHP/LAMP Consultant, ZCE-1000 *
> * *
> * Tel: 408-966-6671 *
> * *
> * current resume: *
> * http://drewb.com/blog/about/resume/ *
> -------------------------------------------------
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list redhat com
> https://www.redhat.com/mailman/listinfo/rpm-list
>
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]