[Bug 668591] Review Request: python26-markupsafe - Implements a XML/HTML/XHTML Markup safe string for Python

bugzilla at redhat.com bugzilla at redhat.com
Tue Jan 11 20:52:06 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=668591

--- Comment #2 from Steve Traylen <steve.traylen at cern.ch> 2011-01-11 15:52:05 EST ---
Hi Jeffrey,

http://cern.ch/straylen/rpms/python26-markupsafe/python26-markupsafe.spec
http://cern.ch/straylen/rpms/python26-markupsafe/python26-markupsafe-0.11-3.el5.src.rpm

your comments are both certainly valid, thank you.

I've left the hardcoded 2.6 in the sitearch variable since the whole package
is very hardcoded to 2.6 and RHEL5 anyway. Of course I now use %{_libdir} for
the 32bit vs 64bit.

In fact if use

%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%endif

in this case you get an error in koji since %{_pyhton} (python2.6) does
not exist when the .srpm is created.

Steve.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list