Update to 1.3.2.
This commit is contained in:
parent
44fad709e1
commit
4db6a1944f
@ -1 +1 @@
|
||||
py-1.3.1.tar.gz
|
||||
py-1.3.2.tar.gz
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user