using rpmmacros to automatically update release

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

 



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

[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