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

using rpmmacros to automatically update release



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


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