Re: using rpmmacros to automatically update release

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

 



Do you really want change package release, or just
name of the resulting binary rpm files ?
If later, than you can use _build_name_fmt macro.

Valery
--- Sebastien BLAISOT <sblaisot@xxxxxxxxxxx> wrote:

> Hi all,
> 
> I'm trying to build a bunch of .src.rpm files that
> are not maintained by 
> me and that I don't want to modify.
> 
> This can be done without problem.
> 
> But I also want to update all package releases to
> release.repo (say repo 
> is MY repository name (like .rf in rpmforge
> packages), or if it could be 
> the distro against which the package has been build
> (like .EL4 in some 
> redhat packages))
> 
> is there a way to define a macro saying something
> like
> Release: %{release}.repo
> 
> i don't want to edit all spec files by hand and
> maintain a fork for each 
> package.
> 
> alternatively, if there is no solution with an rpm
> macro, I will have to 
> script it. is there a way to know the name of the
> spec file from a 
> srp.rpm source package ?
> 
> thanks in advance
> 
> -- 
> Sebastien BLAISOT
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/rpm-list
> 



 
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 

_______________________________________________
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