diff --git a/.cvsignore b/.cvsignore index 2bc7989..c5c31cd 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -py-1.3.1.tar.gz +py-1.3.2.tar.gz diff --git a/import.log b/import.log index ccc3d91..2d7db78 100644 --- a/import.log +++ b/import.log @@ -7,3 +7,4 @@ python-py-1_2_0-1_fc12:HEAD:python-py-1.2.0-1.fc12.src.rpm:1264852599 python-py-1_2_1-1_fc12:HEAD:python-py-1.2.1-1.fc12.src.rpm:1266185181 python-py-1_3_0-1_fc12:HEAD:python-py-1.3.0-1.fc12.src.rpm:1273321309 python-py-1_3_1-1_fc13:HEAD:python-py-1.3.1-1.fc13.src.rpm:1275117472 +python-py-1_3_2-1_fc13:HEAD:python-py-1.3.2-1.fc13.src.rpm:1278758608 diff --git a/python-py.spec b/python-py.spec index acf7af9..683af7c 100644 --- a/python-py.spec +++ b/python-py.spec @@ -1,7 +1,7 @@ %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: python-py -Version: 1.3.1 +Version: 1.3.2 Release: 1%{?prerelease:.%{prerelease}}%{?dist} Summary: Rapid testing (py.test) and development utils (pylib) Group: Development/Languages @@ -29,6 +29,11 @@ and distributing code across machines. %prep %setup -q -n py-%{version}%{?prerelease} +# remove shebangs and fix permissions +find -type f -a \( -name '*.py' -o -name 'py.*' \) \ + -exec sed -i '1{/^#!/d}' {} \; \ + -exec chmod u=rw,go=r {} \; + %build CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build @@ -38,10 +43,8 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build rm -rf %{buildroot} %{__python} setup.py install -O1 --skip-build --root %{buildroot} -# remove shebangs and fix permissions -find %{buildroot}%{python_sitelib} \( -name '*.py' -o -name 'py.*' \) \ - -exec sed -i '1{/^#!/d}' {} \; \ - -exec chmod u=rw,go=r {} \; +# remove hidden file +rm -f doc/.coverage %check @@ -61,6 +64,11 @@ rm -rf %{buildroot} %changelog +* Sat Jul 10 2010 Thomas Moschny - 1.3.2-1 +- Update to 1.3.2. +- Do cleanups already in %%prep to avoid inconsistent mtimes between + source files and bytecode. + * Sat May 29 2010 Thomas Moschny - 1.3.1-1 - Update to 1.3.1. diff --git a/sources b/sources index cd2183a..68098b4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0cf1fa3d0f281a2bb7ed38ad0b7169da py-1.3.1.tar.gz +9e3d99966385854fc07004e8a07cf9d4 py-1.3.2.tar.gz