15
0

Accepting request 306255 from home:benoit_monin:branches:devel:languages:python

- update to version 4.0.9
- update project URL
- point the source URL to pypi
- drop type-mismatch.patch: fixed upstream
- add fix_32-bit_timestamp_hashcode.patch: fix timestamp hash computation on 32 bit platform
- pass -q to test to avoid spamming the build log
- rename CHANGES.txt and README.txt to CHANGES.rst and README.rst: changed upstream

OBS-URL: https://build.opensuse.org/request/show/306255
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=5
This commit is contained in:
2015-05-11 06:23:41 +00:00
committed by Git OBS Bridge
parent b6cfd62ffe
commit 0356b6357d
6 changed files with 182 additions and 103 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-persistent
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -18,15 +18,15 @@
Name: python-persistent
Version: 4.0.6
Version: 4.0.9
Release: 0
Url: http://www.python.org/pypi/persistent
Url: https://github.com/zopefoundation/persistent
Summary: Translucent persistent objects
License: ZPL-2.1
Group: Development/Languages/Python
Source: persistent-%{version}.tar.gz
# PATCH-FIX-UPSTREAM https://github.com/zopefoundation/persistent/commit/33daf91246f85c3248658c4d81d768bd78617003
Patch: type-mismatch.patch
Source: https://pypi.python.org/packages/source/p/persistent/persistent-%{version}.tar.gz
# PATCH-FIX-UPSTREAM fix_32-bit_timestamp_hashcode.patch -- fix timestamp hash computation on 32-bit platform
Patch: fix_32-bit_timestamp_hashcode.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-setuptools
@@ -75,11 +75,11 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
rm %{buildroot}%python_sitearch/persistent/*.c
%check
python setup.py test
python setup.py -q test
%files
%defattr(-,root,root,-)
%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt
%doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst
%exclude %python_sitearch/persistent/*.h
%python_sitearch/*