|
Luke Macken |
e1fc7a9 |
%if 0%{?fedora} > 12
|
|
Luke Macken |
e1fc7a9 |
%global with_python3 1
|
|
|
a975444 |
%endif
|
|
|
ba408a5 |
|
|
|
ba408a5 |
Name: python-transaction
|
|
|
ce9a39d |
Version: 2.1.2
|
|
|
5deaa1a |
Release: 2%{?dist}
|
|
|
ba408a5 |
Summary: Transaction management for Python
|
|
|
ba408a5 |
|
|
|
ba408a5 |
Group: Development/Languages
|
|
|
1ec73a6 |
License: ZPLv2.1
|
|
|
1c35f85 |
URL: https://pypi.io/project/transaction
|
|
|
1c35f85 |
Source0: https://pypi.io/packages/source/t/transaction/transaction-%{version}.tar.gz
|
|
Luke Macken |
e1fc7a9 |
|
|
|
ba408a5 |
BuildArch: noarch
|
|
|
ba408a5 |
|
|
Luke Macken |
e1fc7a9 |
BuildRequires: python2-devel
|
|
Luke Macken |
ea8933d |
BuildRequires: python-zope-interface
|
|
Luke Macken |
e1fc7a9 |
BuildRequires: python-nose
|
|
Luke Macken |
e1fc7a9 |
BuildRequires: python-setuptools
|
|
|
d971de1 |
BuildRequires: python-mock
|
|
Luke Macken |
e1fc7a9 |
|
|
|
ba408a5 |
Requires: python-zope-interface
|
|
|
ba408a5 |
|
|
Luke Macken |
e1fc7a9 |
%if 0%{?with_python3}
|
|
Luke Macken |
e1fc7a9 |
BuildRequires: python3-devel
|
|
Luke Macken |
e1fc7a9 |
BuildRequires: python3-setuptools
|
|
Luke Macken |
e1fc7a9 |
BuildRequires: python3-nose
|
|
Luke Macken |
e1fc7a9 |
BuildRequires: python3-zope-interface
|
|
|
d971de1 |
BuildRequires: python3-mock
|
|
Luke Macken |
e1fc7a9 |
%endif
|
|
Luke Macken |
e1fc7a9 |
|
|
Luke Macken |
e1fc7a9 |
|
|
|
ba408a5 |
%description
|
|
|
ba408a5 |
This package contains a generic transaction implementation for Python. It is
|
|
|
ba408a5 |
mainly used by the ZODB, though.
|
|
|
ba408a5 |
|
|
Luke Macken |
e1fc7a9 |
%if 0%{?with_python3}
|
|
Luke Macken |
e1fc7a9 |
%package -n python3-transaction
|
|
Luke Macken |
e1fc7a9 |
Summary: Transaction management for Python 3
|
|
Luke Macken |
e1fc7a9 |
Group: Development/Languages
|
|
Luke Macken |
e1fc7a9 |
|
|
|
b586406 |
Requires: python3-zope-interface
|
|
|
b586406 |
|
|
Luke Macken |
e1fc7a9 |
%description -n python3-transaction
|
|
Luke Macken |
e1fc7a9 |
This package contains a generic transaction implementation for Python. It is
|
|
Luke Macken |
e1fc7a9 |
mainly used by the ZODB, though.
|
|
Luke Macken |
e1fc7a9 |
%endif
|
|
Luke Macken |
e1fc7a9 |
|
|
|
ba408a5 |
|
|
|
ba408a5 |
%prep
|
|
|
a975444 |
%setup -q -n transaction-%{version}
|
|
Luke Macken |
e1fc7a9 |
|
|
Luke Macken |
e1fc7a9 |
# Remove bundled egg-info in case it exists
|
|
Luke Macken |
e1fc7a9 |
rm -rf %{modname}.egg-info
|
|
Luke Macken |
e1fc7a9 |
%if 0%{?with_python3}
|
|
Luke Macken |
e1fc7a9 |
rm -rf %{py3dir}
|
|
Luke Macken |
e1fc7a9 |
cp -a . %{py3dir}
|
|
Luke Macken |
e1fc7a9 |
%endif
|
|
|
ba408a5 |
|
|
|
ba408a5 |
|
|
|
ba408a5 |
%build
|
|
|
ba408a5 |
%{__python} setup.py build
|
|
Luke Macken |
e1fc7a9 |
%if 0%{?with_python3}
|
|
Luke Macken |
e1fc7a9 |
pushd %{py3dir}
|
|
Luke Macken |
e1fc7a9 |
%{__python3} setup.py build
|
|
Luke Macken |
e1fc7a9 |
popd
|
|
Luke Macken |
e1fc7a9 |
%endif
|
|
|
ba408a5 |
|
|
|
ba408a5 |
|
|
|
ba408a5 |
%install
|
|
Luke Macken |
e1fc7a9 |
%{__python} setup.py install --skip-build --root=%{buildroot}
|
|
Luke Macken |
e1fc7a9 |
%if 0%{?with_python3}
|
|
Luke Macken |
e1fc7a9 |
pushd %{py3dir}
|
|
Luke Macken |
e1fc7a9 |
%{__python3} setup.py install -O1 --skip-build --root=%{buildroot}
|
|
Luke Macken |
e1fc7a9 |
popd
|
|
Luke Macken |
e1fc7a9 |
%endif
|
|
|
ba408a5 |
|
|
|
ba408a5 |
|
|
Luke Macken |
3effa24 |
%check
|
|
Luke Macken |
3effa24 |
PYTHONPATH=$(pwd) %{__python} setup.py test
|
|
Luke Macken |
e1fc7a9 |
%if 0%{?with_python3}
|
|
Luke Macken |
e1fc7a9 |
pushd %{py3dir}
|
|
Luke Macken |
e1fc7a9 |
PYTHONPATH=$(pwd) %{__python3} setup.py test
|
|
Luke Macken |
e1fc7a9 |
popd
|
|
Luke Macken |
e1fc7a9 |
%endif
|
|
|
ba408a5 |
|
|
|
ba408a5 |
|
|
|
ba408a5 |
%files
|
|
Luke Macken |
e1fc7a9 |
%doc README.rst LICENSE.txt COPYRIGHT.txt
|
|
|
ba408a5 |
%{python_sitelib}/transaction/
|
|
|
ba408a5 |
%{python_sitelib}/*.egg-info
|
|
|
ba408a5 |
|
|
|
ba408a5 |
|
|
Luke Macken |
e1fc7a9 |
%if 0%{?with_python3}
|
|
Luke Macken |
e1fc7a9 |
%files -n python3-transaction
|
|
Luke Macken |
e1fc7a9 |
%doc README.rst LICENSE.txt COPYRIGHT.txt
|
|
Luke Macken |
e1fc7a9 |
%{python3_sitelib}/transaction/
|
|
Luke Macken |
e1fc7a9 |
%{python3_sitelib}/*.egg-info
|
|
Luke Macken |
e1fc7a9 |
%endif
|
|
Luke Macken |
e1fc7a9 |
|
|
|
ba408a5 |
|
|
|
ba408a5 |
%changelog
|
|
|
5deaa1a |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-2
|
|
|
5deaa1a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
5deaa1a |
|
|
|
ce9a39d |
* Sat Mar 25 2017 Kevin Fenzi <kevin@scrye.com> - 2.1.2-1
|
|
|
ce9a39d |
- Update to 2.1.2. Fixes bug #1431394
|
|
|
ce9a39d |
|
|
|
05505e6 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-3
|
|
|
05505e6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
05505e6 |
|
|
|
5d8b665 |
* Mon Dec 19 2016 Miro HronĨok <mhroncok@redhat.com> - 2.0.3-2
|
|
|
5d8b665 |
- Rebuild for Python 3.6
|
|
|
5d8b665 |
|
|
|
8422c14 |
* Wed Nov 23 2016 Kevin Fenzi <kevin@scrye.com> - 2.0.3-1
|
|
|
8422c14 |
- Update to 2.0.3. Fixes bug #1396317
|
|
|
8422c14 |
|
|
|
4d1a7ac |
* Mon Nov 14 2016 Kevin Fenzi <kevin@scrye.com> - 2.0.2-1
|
|
|
4d1a7ac |
- Update to 2.0.2. Fixes bug #1394442
|
|
|
4d1a7ac |
|
|
|
9b74c33 |
* Wed Nov 09 2016 Kevin Fenzi <kevin@scrye.com> - 1.7.0-1
|
|
|
9b74c33 |
- Update to 1.7.0. Fixes bug #1393196
|
|
|
9b74c33 |
|
|
|
292bfe7 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-2
|
|
|
292bfe7 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
292bfe7 |
|
|
|
d971de1 |
* Wed Jun 15 2016 Kevin Fenzi <kevin@scrye.com> - 1.6.1-1
|
|
|
d971de1 |
- Update to 1.6.1. Fixes bug #1346645
|
|
|
d971de1 |
|
|
|
a09e3cd |
* Sun May 29 2016 Kevin Fenzi <kevin@scrye.com> - 1.6.0-1
|
|
|
a09e3cd |
- Update to 1.6.0. Fixes bug #1338430
|
|
|
a09e3cd |
|
|
|
1c35f85 |
* Fri May 06 2016 Ralph Bean <rbean@redhat.com> - 1.5.0-1
|
|
|
1c35f85 |
- new version
|
|
|
1c35f85 |
|
|
|
d869228 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-4
|
|
|
d869228 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
d869228 |
|
|
|
5a8326a |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.4-3
|
|
|
5a8326a |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
5a8326a |
|
|
|
bf26591 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.4-2
|
|
|
bf26591 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
bf26591 |
|
|
|
6af1696 |
* Wed May 20 2015 Ralph Bean <rbean@redhat.com> - 1.4.4-1
|
|
|
6af1696 |
- new version
|
|
|
6af1696 |
|
|
|
5bd492b |
* Mon Jul 21 2014 Ralph Bean <rbean@redhat.com> - 1.4.3-1
|
|
|
5bd492b |
- Latest upstream.
|
|
|
5bd492b |
|
|
|
a27586c |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-5
|
|
|
a27586c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
a27586c |
|
|
|
609c3ea |
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.4.1-4
|
|
|
609c3ea |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
609c3ea |
|
|
|
b586406 |
* Wed Jan 22 2014 Ralph Bean <rbean@redhat.com> - 1.4.1-3
|
|
|
b586406 |
- Fix python3 requires.
|
|
|
b586406 |
|
|
|
203cce9 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-2
|
|
|
203cce9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
203cce9 |
|
|
Luke Macken |
e1fc7a9 |
* Thu Apr 11 2013 Luke Macken <lmacken@redhat.com> - 1.4.1-1
|
|
Luke Macken |
e1fc7a9 |
- Update to 1.4.1 (#634901)
|
|
Luke Macken |
e1fc7a9 |
- Build a python3 subpackage
|
|
Luke Macken |
e1fc7a9 |
- Remove python-transaction-1.1.1-context-manager.patch
|
|
Luke Macken |
e1fc7a9 |
- Modernize the spec
|
|
Luke Macken |
e1fc7a9 |
|
|
|
9882872 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-6
|
|
|
9882872 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
9882872 |
|
|
|
f70e6fd |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-5
|
|
|
f70e6fd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
f70e6fd |
|
|
|
ae587b6 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-4
|
|
|
ae587b6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
ae587b6 |
|
|
|
1f12247 |
* Fri Aug 26 2011 Nils Philippsen <nils@redhat.com> - 1.1.1-3
|
|
|
1f12247 |
- fix content manager interface
|
|
|
1f12247 |
|
|
|
a781db8 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
|
|
|
a781db8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
a781db8 |
|
|
Luke Macken |
3effa24 |
* Thu Sep 30 2010 Luke Macken <lmacken@redhat.com> - 1.1.1-1
|
|
Luke Macken |
3effa24 |
- Update to 1.1.1
|
|
Luke Macken |
3effa24 |
- Run the test suite
|
|
Luke Macken |
3effa24 |
|
|
|
b028b2b |
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.1.0-2
|
|
|
b028b2b |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
b028b2b |
|
|
|
0bece3a |
* Thu Jun 10 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 1.1.0-1
|
|
|
0bece3a |
- Update to upstream bugfix 1.1.0
|
|
|
0bece3a |
|
|
|
afd587b |
* Thu Jan 28 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 1.0.0-2
|
|
|
afd587b |
- Correction to how the setuptools vs setuptools-devel BR
|
|
|
afd587b |
|
|
|
a975444 |
* Thu Jan 28 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 1.0.0-1
|
|
|
a975444 |
- Update to 1.0 final. Few fixes for tests and build/install cleanliness.
|
|
|
a975444 |
No code changes.
|
|
|
a975444 |
- Conditionalize portions of the spec that are only needed for older distro releases.
|
|
|
a975444 |
|
|
|
0a4f6c5 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.5.a1
|
|
|
0a4f6c5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
0a4f6c5 |
|
|
|
433b0f6 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.4.a1
|
|
|
433b0f6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
433b0f6 |
|
|
|
1ec73a6 |
* Thu Dec 18 2008 Luke Macken <lmacken@redhat.com> - 1.0-0.3.a1
|
|
|
1ec73a6 |
- Fix the license tag
|
|
|
1ec73a6 |
|
|
|
bcfdb87 |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.0-0.2.a1
|
|
|
bcfdb87 |
- Rebuild for Python 2.6
|
|
|
bcfdb87 |
|
|
|
ba408a5 |
* Tue Oct 21 2008 Luke Macken <lmacken@redhat.com> - 1.0-0.1.a2
|
|
|
ba408a5 |
- Initial package
|