rpms/mercurial/EL-4 mercurial.spec,1.17,1.18

Neal Becker (nbecker) fedora-extras-commits at redhat.com
Fri Sep 21 01:20:10 UTC 2007


Author: nbecker

Update of /cvs/pkgs/rpms/mercurial/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16523

Modified Files:
	mercurial.spec 
Log Message:
Change setup.py install to -O2 to get bytecompile on EL-4


Index: mercurial.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mercurial/EL-4/mercurial.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- mercurial.spec	20 Sep 2007 23:08:45 -0000	1.17
+++ mercurial.spec	21 Sep 2007 01:19:37 -0000	1.18
@@ -1,7 +1,7 @@
 Summary: A fast, lightweight distributed source control management system 
 Name: mercurial
 Version: 0.9.4
-Release: 5%{?dist}
+Release: 7%{?dist}
 License: GPL
 Group: Development/Tools
 URL: http://www.selenic.com/mercurial/
@@ -27,7 +27,7 @@
 
 %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
@@ -51,11 +51,16 @@
 %defattr(-,root,root,-)
 %doc CONTRIBUTORS README contrib/sample.hgrc
 %{_sysconfdir}/mercurial/
-%dir %{_datadir}/mercurial/
-%ghost %{_datadir}/mercurial/contrib/*.py[co]
+%{_datadir}/mercurial/contrib/*.py[co]
 %{_mandir}/man*/*
 
 %changelog
+* Thu Sep 20 2007 Neal Becker <ndbecker2 at 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 at gmail.com> - 0.9.4-6
+- Revert last change.
+
 * Thu Sep 20 2007 Neal Becker <ndbecker2 at gmail.com> - 0.9.4-5
 - Use %ghost on contrib, otherwise EL-4 build fails
 




More information about the fedora-extras-commits mailing list