Re: Defines for detecting build OS?

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

 





On Tue, Mar 3, 2009 at 5:55 PM, Matthew Pounsett <matt@xxxxxxxxxxxxx> wrote:

On 03-Mar-2009, at 11:41, devzero2000 wrote:

http://en.opensuse.org/Build_Service/cross_distribution_package_how_to

That page references %centos_version, but that doesn't appear to be defined on the CentOS 5 box I've got here.  Nothing in /etc/rpm or /usr/lib/rpm defines it, and a quick test in a spec file suggests that it isn't set.


There are macros defined by the "Build Service": CentoOS or Fedora (or Debian) don't know it. But i think it is not a problem to put an

%centos_version 501

in your preferite rpm macros file (for example ~/.rpmmacros) .

Regards






 


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/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