From 353ad9c1d936ebb8d9151c31f22260f24905b4e3 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Sat, 1 Jan 2011 11:43:11 -0800 Subject: [PATCH] - Fix scripts so they're the python2 versions not the python3 versions --- python-docutils.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/python-docutils.spec b/python-docutils.spec index 5b7e5b3..ea4c4a5 100644 --- a/python-docutils.spec +++ b/python-docutils.spec @@ -11,7 +11,7 @@ Name: python-%{srcname} Version: 0.7 -Release: 2%{?dist} +Release: 3%{?dist} Summary: System for processing plaintext documentation Group: Development/Languages @@ -104,8 +104,8 @@ popd rm -rf %{buildroot} # Must do the python3 install first because the scripts in /usr/bin are -# overwritten with every setup.py install (and we want the python2 version -# to be the default for now). +# overwritten by setup.py install (and we want the python2 version to be the +# default for now). %if 0%{?with_python3} pushd %{py3dir} %{__python3} setup.py install --skip-build --root %{buildroot} @@ -121,6 +121,8 @@ extradest=%{python3_sitelib} fullextradest=%{buildroot}/$extradest install -D -m 0644 extras/$file $fullextradest/$file popd + +rm -rf %{buildroot}%{_bindir}/* %endif # with_python3 %{__python} setup.py install --skip-build --root %{buildroot} @@ -166,6 +168,9 @@ rm -rf %{buildroot} %{python3_sitelib}/* %changelog +* Sat Jan 1 2011 Toshio Kuratomi - 0.7-3 +- Fix scripts so they're the python2 versions not the python3 versions + * Thu Dec 30 2010 Toshio Kuratomi - 0.7-2 - Build for python3