mpaladin 2fa3c02
mpaladin 2fa3c02
%global srcname messaging
mpaladin 2fa3c02
mpaladin 2fa3c02
Name:		python-messaging
6cba458
Version:	1.1
262f98d
Release:	23%{?dist}
mpaladin 2fa3c02
Summary:	Python abstraction of a "message"
mpaladin 2fa3c02
License:	ASL 2.0
Massimo a6cf789
URL:		https://github.com/cern-mig/%{name}
mpaladin 2fa3c02
Source0:	http://pypi.python.org/packages/source/m/%{srcname}/%{srcname}-%{version}.tar.gz
mpaladin 2fa3c02
BuildArch:	noarch
mpaladin 2fa3c02
BuildRequires:	python3-devel
6cba458
# For python < 2.6 python-simplejson is required
mpaladin 2fa3c02
b18bff5
%global _description\
b18bff5
This module provides an abstraction of a "message", as used in Enterprise\
b18bff5
Messaging Systems.\
b18bff5
\
b18bff5
The modules include a transport independent message abstraction, a\
b18bff5
versatile message generator and several message queues/spools to\
b18bff5
locally store messages.\
b18bff5
\
b18bff5
The python module messaging is compatible with the Perl\
b18bff5
module Messaging::Message.
mpaladin 2fa3c02
b18bff5
%description %_description
mpaladin 2fa3c02
mpaladin 2fa3c02
%package -n python3-messaging
mpaladin 2fa3c02
Summary:	Python abstraction of a "message"
mpaladin 2fa3c02
mpaladin 2fa3c02
%description -n python3-messaging
mpaladin 2fa3c02
This module provides an abstraction of a "message", as used in Enterprise
mpaladin 2fa3c02
Messaging Systems.
mpaladin 2fa3c02
mpaladin 2fa3c02
The modules include a transport independent message abstraction, a
mpaladin 2fa3c02
versatile message generator and several message queues/spools to
mpaladin 2fa3c02
locally store messages.
mpaladin 2fa3c02
mpaladin 2fa3c02
The python module messaging is compatible with the Perl
mpaladin 2fa3c02
module Messaging::Message.
mpaladin 2fa3c02
mpaladin 2fa3c02
%prep
mpaladin 2fa3c02
%setup -q -n %{srcname}-%{version}
d11a6e3
find . -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
mpaladin 2fa3c02
8af697e
%build
mpaladin 2fa3c02
%{__python3} setup.py build
mpaladin 2fa3c02
mpaladin 2fa3c02
%install
6cba458
rm -fr $RPM_BUILD_ROOT
mpaladin 2fa3c02
%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT
mpaladin 2fa3c02
mpaladin 2fa3c02
%check
mpaladin 2fa3c02
rm -f test/*.pyc
mpaladin 2fa3c02
%{__python3} setup.py test
mpaladin 2fa3c02
rm -f test/*.pyc
mpaladin 2fa3c02
mpaladin 2fa3c02
%files -n python3-messaging
mpaladin 6756e84
%doc LICENSE README.rst CHANGES example test
mpaladin 2fa3c02
%{python3_sitelib}/%{srcname}/
c9bf563
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info
mpaladin 2fa3c02
mpaladin 2fa3c02
%changelog
262f98d
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-23
262f98d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
262f98d
d002aeb
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.1-22
d002aeb
- Rebuilt for Python 3.10
d002aeb
ea196e7
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-21
ea196e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
ea196e7
e2ec113
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-20
e2ec113
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e2ec113
e4cb46d
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1-19
e4cb46d
- Rebuilt for Python 3.9
e4cb46d
c7e521b
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-18
c7e521b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c7e521b
4931ea1
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1-17
4931ea1
- Rebuilt for Python 3.8.0rc1 (#1748018)
4931ea1
087f09a
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1-16
087f09a
- Rebuilt for Python 3.8
087f09a
5db0220
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-15
5db0220
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
5db0220
16b8edd
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-14
16b8edd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
16b8edd
d11a6e3
* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.1-13
d11a6e3
- Subpackage python2-messaging has been removed
d11a6e3
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
d11a6e3
8af697e
* Mon Jul 23 2018 Lionel Cons <lionel.cons@cern.ch> - 1.1-12
8af697e
- Fixed building using Python 2 (#1605769).
8af697e
3d15649
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-11
3d15649
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
3d15649
c5e9097
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1-10
c5e9097
- Rebuilt for Python 3.7
c5e9097
358c1d3
* Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.1-9
358c1d3
- Fix condition for python-simplejson
358c1d3
a9de711
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-8
a9de711
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a9de711
b18bff5
* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.1-7
b18bff5
- Python 2 binary package renamed to python2-messaging
b18bff5
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
b18bff5
a4566e5
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-6
a4566e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a4566e5
f530d63
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-5
f530d63
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f530d63
f47f5a9
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.1-4
f47f5a9
- Rebuild for Python 3.6
f47f5a9
e64e271
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
e64e271
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
e64e271
c8b1708
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-2
c8b1708
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c8b1708
6cba458
* Fri Jan  8 2016 Lionel Cons <lionel.cons@cern.ch> - 1.1-1
6cba458
- Updated to upstream version (#1296742)
6cba458
c9ffc13
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-7
c9ffc13
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
c9ffc13
297749c
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-6
297749c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
297749c
82b7225
* Mon Sep 29 2014 Steve Traylen <steve.traylen@cern.ch> - 1.0-5
6cba458
- No python3 exists for epel7
82b7225
c8733ef
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
c8733ef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c8733ef
312b7bd
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 1.0-3
312b7bd
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
312b7bd
c0650c0
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
c0650c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c0650c0
Massimo 64e922c
* Mon Mar 04 2013 Massimo Paladin <massimo.paladin@gmail.com> - 1.0-1
6cba458
- Upgrading to upstream version 1.0
Massimo 64e922c
7ef1cc9
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-4
7ef1cc9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7ef1cc9
3efd0f8
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 0.10-3
3efd0f8
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
3efd0f8
558a643
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-2
558a643
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
558a643
Massimo b3ae198
* Mon Jun 25 2012 Massimo Paladin <massimo.paladin@gmail.com> - 0.10-1
6cba458
- Upgrading to latest version 0.10
Massimo b3ae198
mpaladin d1aabe0
* Tue Jun 12 2012 Massimo Paladin <massimo.paladin@gmail.com> - 0.9-1
6cba458
- Upgrading to latest version 0.9
mpaladin d1aabe0
mpaladin a1a0956
* Mon May 07 2012 Massimo Paladin <massimo.paladin@gmail.com> - 0.8-1
6cba458
- Upgrading to latest version 0.8
mpaladin a1a0956
mpaladin 6756e84
* Mon Apr 23 2012 Massimo Paladin <massimo.paladin@gmail.com> - 0.7-1
6cba458
- Upgrading to latest version 0.7
mpaladin 6756e84
mpaladin 3a64056
* Tue Apr 17 2012 Massimo Paladin <massimo.paladin@gmail.com> - 0.6-1
6cba458
- Upgrading to latest version 0.6
mpaladin 3a64056
mpaladin 2fa3c02
* Mon Feb 20 2012 Massimo Paladin <Massimo.Paladin@cern.ch> - 0.5-2
6cba458
- Making it compliant with guidelines
mpaladin 2fa3c02
mpaladin 2fa3c02
* Mon Jan 23 2012 Massimo Paladin <Massimo.Paladin@cern.ch> - 0.5-1
6cba458
- Initial packaging