Change setup.py install to -O2 to get bytecompile on EL-4

This commit is contained in:
Neal Becker 2007-09-21 01:21:24 +00:00
parent 204edc7efe
commit c606469454

View File

@ -1,7 +1,7 @@
Summary: A fast, lightweight distributed source control management system
Name: mercurial
Version: 0.9.4
Release: 6%{?dist}
Release: 7%{?dist}
License: GPL
Group: Development/Tools
URL: http://www.selenic.com/mercurial/
@ -27,7 +27,7 @@ pushd doc ; make man ; popd
%install
rm -rf $RPM_BUILD_ROOT
python ./setup.py install -O1 --root=$RPM_BUILD_ROOT --record=%{name}.files
python ./setup.py install -O2 --root=$RPM_BUILD_ROOT --record=%{name}.files
# and we have to install the man pages
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1 $RPM_BUILD_ROOT/%{_mandir}/man5
@ -55,6 +55,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man*/*
%changelog
* Thu Sep 20 2007 Neal Becker <ndbecker2@gmail.com> - 0.9.4-7
- Change setup.py install to -O2 to get bytecompile on EL-4
* Thu Sep 20 2007 Neal Becker <ndbecker2@gmail.com> - 0.9.4-6
- Revert last change.