Accepting request 102381 from devel:languages:python
- 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/request/show/102381 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-transaction?expand=0&rev=9
This commit is contained in:
commit
222a945b8e
@ -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
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-transaction (Version 1.1.1)
|
||||
# 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
|
||||
|
@ -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
3
transaction-1.2.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:41ac906c58c4cbf3635956f0cf5b4dee783dec285ac037852484f0a21181c773
|
||||
size 42272
|
Loading…
Reference in New Issue
Block a user