- 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
This commit is contained in:
Sascha Peilicke 2012-02-01 14:54:03 +00:00 committed by Git OBS Bridge
parent 15160b9149
commit c83af8c65f
4 changed files with 30 additions and 28 deletions

View File

@ -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 Mon Oct 11 10:00:37 UTC 2010 - coolo@novell.com

View File

@ -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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,25 +15,21 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
%define modname transaction Name: python-transaction
Version: 1.2.0
Name: python-%{modname} Release: 0
Version: 1.1.1
Release: 1
License: PSF or ZPL
Source: %{modname}-%{version}.tar.bz2
Group: Development/Libraries/Python
Summary: Transaction management for Python 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: on %if 0%{?suse_version} && 0%{?suse_version} <= 1110
Url: http://pypi.python.org/pypi/Extremes %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildRequires: python-setuptools
Requires: python-zopeinterface
%py_requires
%if %suse_version > 1120
BuildArch: noarch BuildArch: noarch
%endif %endif
@ -48,20 +44,17 @@ presented in detail through examples of a sample data manager in
transaction.tests.test_SampleDataManager. transaction.tests.test_SampleDataManager.
%prep %prep
%setup -q -n %modname-%version %setup -q -n transaction-%{version}
%build %build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build python setup.py build
%install %install
python setup.py install --prefix=%_prefix --root=%buildroot --record-rpm=INSTALLED_FILES python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%clean %files
rm -rf %buildroot
%files -f INSTALLED_FILES
%defattr(-,root,root) %defattr(-,root,root)
%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt PKG-INFO README.txt %doc CHANGES.txt COPYRIGHT.txt LICENSE.txt PKG-INFO README.txt
%{python_sitelib}/*
%changelog %changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9f8ac5fb7efe4632034cf4528cc2b799a318da22bf857e438f8e6993f8bde9a0
size 32966

3
transaction-1.2.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:41ac906c58c4cbf3635956f0cf5b4dee783dec285ac037852484f0a21181c773
size 42272