2010/1/2 Peter Meier <[email protected]>:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

By the way, is it possible to recognize CentOS in the specfile?  There
is a small section

     %if 0%{?fedora} || 0%{?rhel} >= 5
     BuildArch:      noarch
     Requires:       ruby(abi) = 1.8
     Requires:       ruby-shadow
     %endif

and it would be nice to get those settings when building on CentOS
as well.  I thought there would be some macro for that, but I can't
find anything obvious when looking at rpmbuild --showrc.

I have one for that, but can't access the box currently on which it
lays. I can send you to it later.

If you can send it as a patch to the spec file I'll apply it.

Regards

James Turnbull

--
Author of:
* Pro Linux System Administration (http://tinyurl.com/linuxadmin)
* Pulling Strings with Puppet (http://tinyurl.com/pupbook)
* Pro Nagios 2.0 (http://tinyurl.com/pronagios)
* Hardening Linux (http://tinyurl.com/hardeninglinux)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to