Update to 1.3.2.

This commit is contained in:
Thomas Moschny 2010-07-10 10:45:54 +00:00
parent 44fad709e1
commit 4db6a1944f
4 changed files with 16 additions and 7 deletions

View File

@ -1 +1 @@
py-1.3.1.tar.gz
py-1.3.2.tar.gz

View File

@ -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

View File

@ -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 <thomas.moschny@gmx.de> - 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 <thomas.moschny@gmx.de> - 1.3.1-1
- Update to 1.3.1.

View File

@ -1 +1 @@
0cf1fa3d0f281a2bb7ed38ad0b7169da py-1.3.1.tar.gz
9e3d99966385854fc07004e8a07cf9d4 py-1.3.2.tar.gz