Hello community,
here is the log from the commit of package python-transaction for
openSUSE:Factory checked in at 2012-02-02 18:00:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-transaction (Old)
and /work/SRC/openSUSE:Factory/.python-transaction.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-transaction", Maintainer is ""
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-transaction/python-transaction.changes
2011-09-23 12:43:18.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python-transaction.new/python-transaction.changes
2012-02-02 18:00:13.000000000 +0100
@@ -1,0 +2,9 @@
+Wed Feb 1 14:52:12 UTC 2012 - [email protected]
+
+- 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
+
+-------------------------------------------------------------------
Old:
----
transaction-1.1.1.tar.bz2
New:
----
transaction-1.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-transaction.spec ++++++
--- /var/tmp/diff_new_pack.7gKdSq/_old 2012-02-02 18:00:15.000000000 +0100
+++ /var/tmp/diff_new_pack.7gKdSq/_new 2012-02-02 18:00:15.000000000 +0100
@@ -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 @@
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
-
-%clean
-rm -rf %buildroot
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-%files -f INSTALLED_FILES
+%files
%defattr(-,root,root)
%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt PKG-INFO README.txt
+%{python_sitelib}/*
%changelog
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]