autospec/patches/autospec-1.4.9-python_opt.patch
2011-04-26 21:39:44 +02:00

12 lines
394 B
Diff

--- autospec-1.4.9/templates/python.orig 2010-01-07 13:40:56.000000000 +0100
+++ autospec-1.4.9/templates/python 2010-01-07 13:44:18.000000000 +0100
@@ -27,6 +27,8 @@
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
python setup.py install \
+ -O1 \
+ --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch}