Accepting request 186459 from home:frispete:python

don't package PKG-INFO

OBS-URL: https://build.opensuse.org/request/show/186459
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transaction?expand=0&rev=27
This commit is contained in:
Sascha Peilicke 2013-08-09 08:34:17 +00:00 committed by Git OBS Bridge
parent 7417dab737
commit b6e3724af3
4 changed files with 40 additions and 8 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Aug 2 18:27:32 UTC 2013 - hpj@urpla.net
- Update to 1.4.1 version:
* Document that values returned by sortKey must be strings, in order
to guarantee total ordering.
* Fix occasional RuntimeError: dictionary changed size during iteration
errors in transaction.weakset on Python 3.
- Generate and install documentation in separate package
- Run tests
-------------------------------------------------------------------
Tue Jan 15 15:52:04 UTC 2013 - p.drouand@gmail.com

View File

@ -17,16 +17,20 @@
Name: python-transaction
Version: 1.4.0
Version: 1.4.1
Release: 0
Summary: Transaction management for Python
License: ZPL-2.1
Group: Development/Libraries/Python
Url: http://www.zope.org/Products/ZODB
Source: http://pypi.python.org/packages/source/t/transaction/transaction-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-distribute
Source: https://pypi.python.org/packages/source/t/transaction/transaction-%{version}.zip
BuildRequires: python-setuptools
BuildRequires: python-zope.interface
BuildRequires: unzip
Requires: python-zope.interface
# Documentation requirements:
BuildRequires: python-Sphinx
BuildRequires: python-repoze.sphinx.autointerface
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
@ -44,18 +48,34 @@ express in the interface. This could probably use more work. The semantics are
presented in detail through examples of a sample data manager in
transaction.tests.test_SampleDataManager.
%package doc
Summary: Transaction management for Python
Group: Development/Libraries/Python
Requires: %{name} = %{version}
%description doc
This package contains documentation files for %{name}.
%prep
%setup -q -n transaction-%{version}
%build
python setup.py build
python setup.py build_sphinx && rm build/sphinx/html/.buildinfo
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
python setup.py test
%files
%defattr(-,root,root)
%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt PKG-INFO README.txt
%doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst
%{python_sitelib}/*
%files doc
%defattr(-,root,root,-)
%doc build/sphinx/html/
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:19d41c018f1c012768c6cb3f3a79a9c7668bf34a323099318607d3dced8d2c9a
size 58550

3
transaction-1.4.1.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:252d51aa0540a7af4097ff2e1829495e4744563f4b82dd054307eb40734b29de
size 77817