3ed0228
%{?python_enable_dependency_generator}
00aea22
# Disable Python 2
00aea22
%bcond_with python2
00aea22
# Enable Python 3
00aea22
%bcond_without python3
e8d7be8
7804139
%global commit 9b9fddf596a77e6b7e0407f0e45d02ca3a5ba5e1
7804139
%global shortcommit %(c=%{commit}; echo ${c:0:7})
2fd1617
2fd1617
Name:           python-stomper
aa2bee5
Version:        0.4.3
b1d09ca
Release:        8%{?dist}
2fd1617
Summary:        A python client implementation of the STOMP protocol
2fd1617
License:        ASL 2.0
ebde49e
URL:            https://pypi.io/project/stomper
7804139
ebde49e
Source0:        https://pypi.io/packages/source/s/stomper/stomper-%{version}.tar.gz
2fd1617
2fd1617
BuildArch:      noarch
ebde49e
e8d7be8
%description
e8d7be8
This is a python client implementation of the STOMP protocol. The client is
e8d7be8
attempting to be transport layer neutral. This module provides functions to
e8d7be8
create and parse STOMP messages in a programatic fashion.
e8d7be8
00aea22
%if %{with python2}
e8d7be8
%package -n python2-stomper
e8d7be8
Summary:        A python client implementation of the STOMP protocol
e8d7be8
%{?python_provide:%python_provide python2-stomper}
e8d7be8
e8d7be8
BuildRequires:  python2-devel
e8d7be8
BuildRequires:  python2-setuptools
e8d7be8
BuildRequires:  python2-nose
e8d7be8
BuildRequires:  python2-future
3ed0228
%if %{undefined __pythondist_requires}
e8d7be8
Requires:       python2-future
b9c8997
%endif
2fd1617
e8d7be8
%description -n python2-stomper
e8d7be8
This is a python client implementation of the STOMP protocol. The client is
e8d7be8
attempting to be transport layer neutral. This module provides functions to
e8d7be8
create and parse STOMP messages in a programatic fashion.
00aea22
%endif
e8d7be8
00aea22
%if %{with python3}
e8d7be8
%package -n python3-stomper
e8d7be8
Summary:        A python client implementation of the STOMP protocol
e8d7be8
%{?python_provide:%python_provide python3-stomper}
e8d7be8
e8d7be8
BuildRequires:  python3-devel
e8d7be8
BuildRequires:  python3-setuptools
e8d7be8
BuildRequires:  python3-nose
e8d7be8
e8d7be8
%description -n python3-stomper
2fd1617
This is a python client implementation of the STOMP protocol. The client is
2fd1617
attempting to be transport layer neutral. This module provides functions to
2fd1617
create and parse STOMP messages in a programatic fashion.
e8d7be8
%endif
2fd1617
2fd1617
%prep
0973506
%setup -q -n stomper-%{version}
2fd1617
2fd1617
%build
00aea22
%if %{with python2}
e8d7be8
%{py2_build}
00aea22
%endif
00aea22
%if %{with python3}
e8d7be8
%{py3_build}
2b4ff3a
%endif
2fd1617
2fd1617
%install
00aea22
%if %{with python2}
e8d7be8
%{py2_install}
00aea22
%endif
00aea22
%if %{with python3}
e8d7be8
%{py3_install}
2b4ff3a
%endif
2fd1617
b9c8997
%check
00aea22
%if %{with python2}
3ed0228
PYTHONPATH=. nosetests-%{python2_version} -q
00aea22
%endif
00aea22
%if %{with python3}
3ed0228
PYTHONPATH=. nosetests-%{python3_version} -q
2b4ff3a
%endif
2fd1617
00aea22
%if %{with python2}
e8d7be8
%files -n python2-stomper
Luke Macken 8551759
%doc README.rst
e8d7be8
%{python2_sitelib}/stomper*
00aea22
%endif
e8d7be8
00aea22
%if %{with python3}
e8d7be8
%files -n python3-stomper
e8d7be8
%doc README.rst
e8d7be8
%{python3_sitelib}/stomper*
2b4ff3a
%endif
2fd1617
2fd1617
%changelog
b1d09ca
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-8
b1d09ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
b1d09ca
c2051cb
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 0.4.3-7
c2051cb
- Rebuilt for Python 3.9
c2051cb
032bcf3
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-6
032bcf3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
032bcf3
4987bf3
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.3-5
4987bf3
- Rebuilt for Python 3.8.0rc1 (#1748018)
4987bf3
9655079
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.3-4
9655079
- Rebuilt for Python 3.8
9655079
00aea22
* Fri Aug 02 2019 mprahl <mprahl@redhat.com> - 0.4.3-3
00aea22
- Stop building Python 2 packages for F31+
00aea22
9f00a6d
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-2
9f00a6d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
9f00a6d
aa2bee5
* Sat Jun 29 2019 Kevin Fenzi <kevin@scrye.com> - 0.4.3-1
aa2bee5
- Update to 0.4.3. Fixes bug #1697989
aa2bee5
2a41564
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-10
2a41564
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2a41564
3ed0228
* Wed Jan 02 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.1-9
3ed0228
- Enable python dependency generator
3ed0228
1f12c2f
* Tue Dec 18 2018 Ralph Bean <rbean@redhat.com> - 0.4.1-8
1f12c2f
- Complete py3 conditionals in preparation for a epel7 update.
1f12c2f
6552565
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-7
6552565
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
6552565
e197d03
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 0.4.1-6
e197d03
- Rebuilt for Python 3.7
e197d03
5f91c67
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-5
5f91c67
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5f91c67
966d2f8
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-4
966d2f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
966d2f8
ae5ae81
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-3
ae5ae81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ae5ae81
0e3201d
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.4.1-2
0e3201d
- Rebuild for Python 3.6
0e3201d
c2e9e70
* Fri Jul 29 2016 Kevin Fenzi <kevin@scrye.com> - 0.4.1-1
c2e9e70
- Update to 0.4.1. Fixes bug #1355749
c2e9e70
e8d7be8
* Mon Jul 11 2016 Ralph Bean <rbean@redhat.com> - 0.4.0-2
e8d7be8
- Explicit py2 and py3 subpackages.
e8d7be8
- Patch implicit encoding in setup.py.
e8d7be8
ebde49e
* Mon Jul 11 2016 Ralph Bean <rbean@redhat.com> - 0.4.0-1
ebde49e
- new version
ebde49e
- New dep on python-future
ebde49e
6e5a836
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-3
6e5a836
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6e5a836
7033f72
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-2
7033f72
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7033f72
0973506
* Sat Feb 21 2015 Ralph Bean <rbean@redhat.com> - 0.3.0-1
0973506
- new version
0973506
7804139
* Mon Sep 15 2014 Ralph Bean <rbean@redhat.com> - 0.2.9-1
7804139
- New upstream supporting STOMP-1.1.
7804139
- Use github tarball, https://github.com/oisinmulvihill/stomper/issues/8
7804139
- Use python2 macros.
7804139
066afad
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.8-2
066afad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
066afad
Luke Macken ae87673
* Thu Feb 27 2014 Luke Macken <lmacken@redhat.com> - 0.2.8-1
Luke Macken ae87673
- Update to 0.2.8 (#949150)
Luke Macken d16ec93
- Update the URLs
Luke Macken 8551759
- Modernize the specfile
Luke Macken ae87673
2e53770
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-6
2e53770
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2e53770
61b8e56
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-5
61b8e56
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
61b8e56
58ead4e
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-4
58ead4e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
58ead4e
b6a3264
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-3
b6a3264
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b6a3264
8929610
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-2
8929610
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8929610
Luke Macken c68040c
* Thu Oct 21 2010 Luke Macken <lmacken@redhat.com> - 0.2.4-1
Luke Macken c68040c
- Update to 0.2.4 (#639565)
Luke Macken c68040c
Luke Macken f07c4f4
* Tue Sep 07 2010 Luke Macken <lmacken@redhat.com> - 0.2.3-1
Luke Macken f07c4f4
- Update to 0.2.3
Luke Macken f07c4f4
dc23366
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.2.2-10
dc23366
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
dc23366
b9c8997
* Thu Sep 03 2009 Luke Macken <lmacken@redhat.com> - 0.2.2-9
b9c8997
- Require python-uuid when using Python2.4 only
b9c8997
- Run the test suite in %%check
b9c8997
96f8c02
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-8
96f8c02
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
96f8c02
2fd1617
* Thu Apr 09 2009 Silas Sewell <silas at sewell ch> - 0.2.2-7
2fd1617
- Remove Python version dependency
2fd1617
2fd1617
* Sun Mar 29 2009 Silas Sewell <silas at sewell ch> - 0.2.2-6
2fd1617
- Fix dependencies
2fd1617
2fd1617
* Thu Mar 26 2009 Silas Sewell <silas at sewell ch> - 0.2.2-5
2fd1617
- Update package name to conform to Fedora naming standards
2fd1617
- Change define to global
2fd1617
2fd1617
* Fri Mar 20 2009 Silas Sewell <silas at sewell ch> - 0.2.2-4
2fd1617
- Update upstream package to remove hidden files
2fd1617
2fd1617
* Thu Mar 05 2009 Silas Sewell <silas at sewell ch> - 0.2.2-3
2fd1617
- Manually remove hidden files
2fd1617
2fd1617
* Wed Dec 17 2008 Silas Sewell <silas at sewell ch> - 0.2.2-2
2fd1617
- Increase Python requirements to 2.5 because stomper uses uuid
2fd1617
2fd1617
* Wed Dec 17 2008 Silas Sewell <silas at sewell ch> - 0.2.2-1
2fd1617
- Initial package