From c83af8c65f727eac7d32500c0f9ddb2f641284b20dff05444e53ae0bec190832 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Wed, 1 Feb 2012 14:54:03 +0000 Subject: [PATCH] - Update to version 1.2.0: * Python 3.2 compatibility. * Dropped Python 2.4 and 2.5 compatibility - Set license to SPDX style (ZPL-2.1) - Ran spec-cleaner OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transaction?expand=0&rev=17 --- python-transaction.changes | 9 ++++++++ python-transaction.spec | 43 ++++++++++++++++---------------------- transaction-1.1.1.tar.bz2 | 3 --- transaction-1.2.0.tar.gz | 3 +++ 4 files changed, 30 insertions(+), 28 deletions(-) delete mode 100644 transaction-1.1.1.tar.bz2 create mode 100644 transaction-1.2.0.tar.gz diff --git a/python-transaction.changes b/python-transaction.changes index 92abd48..7e1ddb0 100644 --- a/python-transaction.changes +++ b/python-transaction.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Feb 1 14:52:12 UTC 2012 - saschpe@suse.de + +- Update to version 1.2.0: + * Python 3.2 compatibility. + * Dropped Python 2.4 and 2.5 compatibility +- Set license to SPDX style (ZPL-2.1) +- Ran spec-cleaner + ------------------------------------------------------------------- Mon Oct 11 10:00:37 UTC 2010 - coolo@novell.com diff --git a/python-transaction.spec b/python-transaction.spec index 71c5ab0..22a9d6a 100644 --- a/python-transaction.spec +++ b/python-transaction.spec @@ -1,7 +1,7 @@ # -# spec file for package python-transaction (Version 1.1.0) +# spec file for package python-transaction # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,25 +15,21 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild -%define modname transaction - -Name: python-%{modname} -Version: 1.1.1 -Release: 1 -License: PSF or ZPL -Source: %{modname}-%{version}.tar.bz2 -Group: Development/Libraries/Python +Name: python-transaction +Version: 1.2.0 +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-distribute +Requires: python-zope.interface BuildRoot: %{_tmppath}/%{name}-%{version}-build -AutoReqProv: on -Url: http://pypi.python.org/pypi/Extremes - -BuildRequires: python-setuptools -Requires: python-zopeinterface -%py_requires -%if %suse_version > 1120 +%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()")} +%else BuildArch: noarch %endif @@ -48,20 +44,17 @@ presented in detail through examples of a sample data manager in transaction.tests.test_SampleDataManager. %prep -%setup -q -n %modname-%version +%setup -q -n transaction-%{version} %build -export CFLAGS="$RPM_OPT_FLAGS" python setup.py build %install -python setup.py install --prefix=%_prefix --root=%buildroot --record-rpm=INSTALLED_FILES +python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%clean -rm -rf %buildroot - -%files -f INSTALLED_FILES +%files %defattr(-,root,root) %doc CHANGES.txt COPYRIGHT.txt LICENSE.txt PKG-INFO README.txt +%{python_sitelib}/* %changelog diff --git a/transaction-1.1.1.tar.bz2 b/transaction-1.1.1.tar.bz2 deleted file mode 100644 index 2bf0e7c..0000000 --- a/transaction-1.1.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9f8ac5fb7efe4632034cf4528cc2b799a318da22bf857e438f8e6993f8bde9a0 -size 32966 diff --git a/transaction-1.2.0.tar.gz b/transaction-1.2.0.tar.gz new file mode 100644 index 0000000..0a302f3 --- /dev/null +++ b/transaction-1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:41ac906c58c4cbf3635956f0cf5b4dee783dec285ac037852484f0a21181c773 +size 42272