|
|
7b40d6d |
%{?python_enable_dependency_generator}
|
|
|
7b40d6d |
# Disable Python 2
|
|
|
7b40d6d |
%bcond_with python2
|
|
|
7b40d6d |
# Enable Python 3
|
|
|
7b40d6d |
%bcond_without python3
|
|
|
7b40d6d |
|
|
|
7b40d6d |
%global commit 9b9fddf596a77e6b7e0407f0e45d02ca3a5ba5e1
|
|
|
7b40d6d |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
7b40d6d |
|
|
|
7b40d6d |
Name: python-stomper
|
|
|
7b40d6d |
Version: 0.4.3
|
|
|
f03b7ce |
Release: 20%{?dist}
|
|
|
7b40d6d |
Summary: A python client implementation of the STOMP protocol
|
|
|
7b40d6d |
License: ASL 2.0
|
|
|
7b40d6d |
URL: https://pypi.io/project/stomper
|
|
|
7b40d6d |
|
|
|
7b40d6d |
Source0: https://pypi.io/packages/source/s/stomper/stomper-%{version}.tar.gz
|
|
|
7b40d6d |
|
|
|
0c4111a |
# Python 3.12 compatibility for tests
|
|
|
0c4111a |
Patch: https://github.com/oisinmulvihill/stomper/pull/15.patch
|
|
|
0c4111a |
|
|
|
7b40d6d |
BuildArch: noarch
|
|
|
7b40d6d |
|
|
|
7b40d6d |
%description
|
|
|
7b40d6d |
This is a python client implementation of the STOMP protocol. The client is
|
|
|
7b40d6d |
attempting to be transport layer neutral. This module provides functions to
|
|
|
7b40d6d |
create and parse STOMP messages in a programatic fashion.
|
|
|
7b40d6d |
|
|
|
7b40d6d |
%if %{with python2}
|
|
|
7b40d6d |
%package -n python2-stomper
|
|
|
7b40d6d |
Summary: A python client implementation of the STOMP protocol
|
|
|
7b40d6d |
%{?python_provide:%python_provide python2-stomper}
|
|
|
7b40d6d |
|
|
|
7b40d6d |
BuildRequires: python2-devel
|
|
|
7b40d6d |
BuildRequires: python2-setuptools
|
|
|
7b40d6d |
BuildRequires: python2-nose
|
|
|
7b40d6d |
BuildRequires: python2-future
|
|
|
7b40d6d |
%if %{undefined __pythondist_requires}
|
|
|
7b40d6d |
Requires: python2-future
|
|
|
7b40d6d |
%endif
|
|
|
7b40d6d |
|
|
|
7b40d6d |
%description -n python2-stomper
|
|
|
7b40d6d |
This is a python client implementation of the STOMP protocol. The client is
|
|
|
7b40d6d |
attempting to be transport layer neutral. This module provides functions to
|
|
|
7b40d6d |
create and parse STOMP messages in a programatic fashion.
|
|
|
7b40d6d |
%endif
|
|
|
7b40d6d |
|
|
|
7b40d6d |
%if %{with python3}
|
|
|
7b40d6d |
%package -n python3-stomper
|
|
|
7b40d6d |
Summary: A python client implementation of the STOMP protocol
|
|
|
7b40d6d |
%{?python_provide:%python_provide python3-stomper}
|
|
|
7b40d6d |
|
|
|
7b40d6d |
BuildRequires: python3-devel
|
|
|
7b40d6d |
BuildRequires: python3-setuptools
|
|
|
7b40d6d |
BuildRequires: python3-nose
|
|
|
7b40d6d |
|
|
|
7b40d6d |
%description -n python3-stomper
|
|
|
7b40d6d |
This is a python client implementation of the STOMP protocol. The client is
|
|
|
7b40d6d |
attempting to be transport layer neutral. This module provides functions to
|
|
|
7b40d6d |
create and parse STOMP messages in a programatic fashion.
|
|
|
7b40d6d |
%endif
|
|
|
7b40d6d |
|
|
|
7b40d6d |
%prep
|
|
|
0c4111a |
%autosetup -n stomper-%{version} -p1
|
|
|
4dd17b1 |
# Drop unneeded dependency on python3-future
|
|
|
4dd17b1 |
# https://github.com/oisinmulvihill/stomper/issues/16
|
|
|
4dd17b1 |
sed -i "s/'future'//" setup.py
|
|
|
7b40d6d |
|
|
|
7b40d6d |
%build
|
|
|
7b40d6d |
%if %{with python2}
|
|
|
7b40d6d |
%{py2_build}
|
|
|
7b40d6d |
%endif
|
|
|
7b40d6d |
%if %{with python3}
|
|
|
7b40d6d |
%{py3_build}
|
|
|
7b40d6d |
%endif
|
|
|
7b40d6d |
|
|
|
7b40d6d |
%install
|
|
|
7b40d6d |
%if %{with python2}
|
|
|
7b40d6d |
%{py2_install}
|
|
|
7b40d6d |
%endif
|
|
|
7b40d6d |
%if %{with python3}
|
|
|
7b40d6d |
%{py3_install}
|
|
|
7b40d6d |
%endif
|
|
|
7b40d6d |
|
|
|
7b40d6d |
%check
|
|
|
7b40d6d |
%if %{with python2}
|
|
|
7b40d6d |
PYTHONPATH=. nosetests-%{python2_version} -q
|
|
|
7b40d6d |
%endif
|
|
|
7b40d6d |
%if %{with python3}
|
|
|
7b40d6d |
PYTHONPATH=. nosetests-%{python3_version} -q
|
|
|
7b40d6d |
%endif
|
|
|
7b40d6d |
|
|
|
7b40d6d |
%if %{with python2}
|
|
|
7b40d6d |
%files -n python2-stomper
|
|
|
7b40d6d |
%doc README.rst
|
|
|
7b40d6d |
%{python2_sitelib}/stomper*
|
|
|
7b40d6d |
%endif
|
|
|
7b40d6d |
|
|
|
7b40d6d |
%if %{with python3}
|
|
|
7b40d6d |
%files -n python3-stomper
|
|
|
7b40d6d |
%doc README.rst
|
|
|
7b40d6d |
%{python3_sitelib}/stomper*
|
|
|
7b40d6d |
%endif
|
|
|
7b40d6d |
|
|
|
7b40d6d |
%changelog
|
|
|
f03b7ce |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-20
|
|
|
f03b7ce |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
f03b7ce |
|
|
|
f5bbcf9 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-19
|
|
|
f5bbcf9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
f5bbcf9 |
|
|
|
1f45afa |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-18
|
|
|
1f45afa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
1f45afa |
|
|
|
3bf9796 |
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 0.4.3-17
|
|
|
3bf9796 |
- Rebuilt for Python 3.12
|
|
|
3bf9796 |
|
|
|
0c4111a |
* Thu Jun 15 2023 Petr Viktorin <pviktori@redhat.com> - 0.4.3-16
|
|
|
0c4111a |
- Python 3.12 compatibility for tests
|
|
|
0c4111a |
|
|
|
7b40d6d |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-15
|
|
|
7b40d6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-14
|
|
|
7b40d6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.4.3-13
|
|
|
7b40d6d |
- Rebuilt for Python 3.11
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-12
|
|
|
7b40d6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-11
|
|
|
7b40d6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 0.4.3-10
|
|
|
7b40d6d |
- Rebuilt for Python 3.10
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-9
|
|
|
7b40d6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-8
|
|
|
7b40d6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 0.4.3-7
|
|
|
7b40d6d |
- Rebuilt for Python 3.9
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-6
|
|
|
7b40d6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.3-5
|
|
|
7b40d6d |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.3-4
|
|
|
7b40d6d |
- Rebuilt for Python 3.8
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Fri Aug 02 2019 mprahl <mprahl@redhat.com> - 0.4.3-3
|
|
|
7b40d6d |
- Stop building Python 2 packages for F31+
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-2
|
|
|
7b40d6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Sat Jun 29 2019 Kevin Fenzi <kevin@scrye.com> - 0.4.3-1
|
|
|
7b40d6d |
- Update to 0.4.3. Fixes bug #1697989
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-10
|
|
|
7b40d6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Wed Jan 02 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.1-9
|
|
|
7b40d6d |
- Enable python dependency generator
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Tue Dec 18 2018 Ralph Bean <rbean@redhat.com> - 0.4.1-8
|
|
|
7b40d6d |
- Complete py3 conditionals in preparation for a epel7 update.
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-7
|
|
|
7b40d6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 0.4.1-6
|
|
|
7b40d6d |
- Rebuilt for Python 3.7
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-5
|
|
|
7b40d6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-4
|
|
|
7b40d6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-3
|
|
|
7b40d6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.4.1-2
|
|
|
7b40d6d |
- Rebuild for Python 3.6
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Fri Jul 29 2016 Kevin Fenzi <kevin@scrye.com> - 0.4.1-1
|
|
|
7b40d6d |
- Update to 0.4.1. Fixes bug #1355749
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Mon Jul 11 2016 Ralph Bean <rbean@redhat.com> - 0.4.0-2
|
|
|
7b40d6d |
- Explicit py2 and py3 subpackages.
|
|
|
7b40d6d |
- Patch implicit encoding in setup.py.
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Mon Jul 11 2016 Ralph Bean <rbean@redhat.com> - 0.4.0-1
|
|
|
7b40d6d |
- new version
|
|
|
7b40d6d |
- New dep on python-future
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-3
|
|
|
7b40d6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-2
|
|
|
7b40d6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Sat Feb 21 2015 Ralph Bean <rbean@redhat.com> - 0.3.0-1
|
|
|
7b40d6d |
- new version
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Mon Sep 15 2014 Ralph Bean <rbean@redhat.com> - 0.2.9-1
|
|
|
7b40d6d |
- New upstream supporting STOMP-1.1.
|
|
|
7b40d6d |
- Use github tarball, https://github.com/oisinmulvihill/stomper/issues/8
|
|
|
7b40d6d |
- Use python2 macros.
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.8-2
|
|
|
7b40d6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Thu Feb 27 2014 Luke Macken <lmacken@redhat.com> - 0.2.8-1
|
|
|
7b40d6d |
- Update to 0.2.8 (#949150)
|
|
|
7b40d6d |
- Update the URLs
|
|
|
7b40d6d |
- Modernize the specfile
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-6
|
|
|
7b40d6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-5
|
|
|
7b40d6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-4
|
|
|
7b40d6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-3
|
|
|
7b40d6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-2
|
|
|
7b40d6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Thu Oct 21 2010 Luke Macken <lmacken@redhat.com> - 0.2.4-1
|
|
|
7b40d6d |
- Update to 0.2.4 (#639565)
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Tue Sep 07 2010 Luke Macken <lmacken@redhat.com> - 0.2.3-1
|
|
|
7b40d6d |
- Update to 0.2.3
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.2.2-10
|
|
|
7b40d6d |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Thu Sep 03 2009 Luke Macken <lmacken@redhat.com> - 0.2.2-9
|
|
|
7b40d6d |
- Require python-uuid when using Python2.4 only
|
|
|
7b40d6d |
- Run the test suite in %%check
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-8
|
|
|
7b40d6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Thu Apr 09 2009 Silas Sewell <silas at sewell ch> - 0.2.2-7
|
|
|
7b40d6d |
- Remove Python version dependency
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Sun Mar 29 2009 Silas Sewell <silas at sewell ch> - 0.2.2-6
|
|
|
7b40d6d |
- Fix dependencies
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Thu Mar 26 2009 Silas Sewell <silas at sewell ch> - 0.2.2-5
|
|
|
7b40d6d |
- Update package name to conform to Fedora naming standards
|
|
|
7b40d6d |
- Change define to global
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Fri Mar 20 2009 Silas Sewell <silas at sewell ch> - 0.2.2-4
|
|
|
7b40d6d |
- Update upstream package to remove hidden files
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Thu Mar 05 2009 Silas Sewell <silas at sewell ch> - 0.2.2-3
|
|
|
7b40d6d |
- Manually remove hidden files
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Wed Dec 17 2008 Silas Sewell <silas at sewell ch> - 0.2.2-2
|
|
|
7b40d6d |
- Increase Python requirements to 2.5 because stomper uses uuid
|
|
|
7b40d6d |
|
|
|
7b40d6d |
* Wed Dec 17 2008 Silas Sewell <silas at sewell ch> - 0.2.2-1
|
|
|
7b40d6d |
- Initial package
|