rpms/mock/devel .cvsignore, 1.25, 1.26 mock.spec, 1.43, 1.44 sources, 1.28, 1.29

Todd Zullinger tmz at pobox.com
Wed Nov 7 02:36:11 UTC 2007


Michael E Brown wrote:
> +# Compat for RHEL3 build
> +%if %(test "%{dist}" == ".el3" && echo 1 || echo 0)
> +# needed for RHEL3 build, python-devel doesnt seem to Require: python in
> +# RHEL3
> +BuildRequires:  python
> +# override sitelib because this messes up on x86_64
> +%define python_sitelib %{_exec_prefix}/lib/python2.2/site-packages/
> +%endif

Would it be cleaner to use the %{rhel} macro for this test?  Or isn't
that available outside of the build system?

# Compat for RHEL3 build
%if 0%{?rhel}>= 3
# python-devel doesn't seem to Require: python in RHEL3
BuildRequires:  python
# override sitelib because this messes up on x86_64
%define python_sitelib %{_exec_prefix}/lib/python2.2/site-packages/
%endif

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
But I have grown older, and you have grown colder.  And nothing is
very much fun, anymore.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20071106/a37cd930/attachment.sig>


More information about the fedora-devel-list mailing list