diff --git a/mercurial.spec b/mercurial.spec index 15be827..71e282c 100644 --- a/mercurial.spec +++ b/mercurial.spec @@ -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 @@ 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 @@ -51,11 +51,16 @@ rm -rf $RPM_BUILD_ROOT %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 - 0.9.4-7 +- Change setup.py install to -O2 to get bytecompile on EL-4 + +* Thu Sep 20 2007 Neal Becker - 0.9.4-6 +- Revert last change. + * Thu Sep 20 2007 Neal Becker - 0.9.4-5 - Use %ghost on contrib, otherwise EL-4 build fails