diff --git a/python-repoze-tm2.yaml b/python-repoze-tm2.yaml new file mode 100644 index 0000000000000000000000000000000000000000..82ed9dfaba42813bcb23595b2080ed865796df59 --- /dev/null +++ b/python-repoze-tm2.yaml @@ -0,0 +1,4 @@ +version_control: pypi +src_repo: repoze.tm2 +tag_prefix: ^v +seperator: . diff --git a/python-repoze.tm2.spec b/python-repoze.tm2.spec new file mode 100644 index 0000000000000000000000000000000000000000..1d29e3d6ad26999ec229856f94c8588b55349da5 --- /dev/null +++ b/python-repoze.tm2.spec @@ -0,0 +1,50 @@ +%{?python_enable_dependency_generator} + +Name: python-repoze.tm2 +Version: 2.2.0 +Release: 1 +Summary: Zope-like transaction manager via WSGI middleware +License: BSD +URL: https://pypi.python.org/pypi/repoze.tm2 +Source0: https://pypi.python.org/packages/source/r/repoze.tm2/repoze.tm2-%{version}.tar.gz +BuildArch: noarch + +%description +The ZODB transaction manager is a completely generic transaction manager. It +can be used independently of the actual "object database" part of ZODB. One +of the purposes of creating repoze.tm was to allow for systems other than +Zope to make use of two-phase commit transactions in a WSGI context. + +%package -n python3-repoze.tm2 +Summary: Zope-like transaction manager via WSGI middleware +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-transaction +%{?python_provide:%python_provide python3-repoze-tm2} + +%description -n python3-repoze.tm2 +The ZODB transaction manager is a completely generic transaction manager. It +can be used independently of the actual "object database" part of ZODB. One +of the purposes of creating repoze.tm was to allow for systems other than +Zope to make use of two-phase commit transactions in a WSGI context. + +This package contains the python3 version of the library. + + +%prep +%autosetup -n repoze.tm2-%{version} -p1 + +%build +%py3_build + +%install +%py3_install + +%files -n python3-repoze.tm2 +%license LICENSE.txt +%doc README.rst COPYRIGHT.txt CHANGES.rst +%{python3_sitelib}/* + +%changelog +* Tue Apr 23 2024 wulei - 2.2.0-1 +- Package init diff --git a/repoze.tm2-2.2.0.tar.gz b/repoze.tm2-2.2.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..3f5d47690ef216e592d2583c16634e002222bb8f Binary files /dev/null and b/repoze.tm2-2.2.0.tar.gz differ