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.
Attachment:
pgpQLzCm0T4TT.pgp
Description: PGP signature
-- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list