9342d9a
mpaladin c7d1a78
%global srcname dirq
mpaladin c7d1a78
9342d9a
Name:           python-dirq
155434d
Version:        1.7.1
903f003
Release:        16%{?dist}
9342d9a
Summary:        Directory based queue
9342d9a
License:        ASL 2.0
Massimo 02ad7fe
URL:            https://github.com/cern-mig/%{name}
Massimo 02ad7fe
Source0:        http://pypi.python.org/packages/source/d/%{srcname}/%{srcname}-%{version}.tar.gz
9342d9a
BuildArch:      noarch
a029f28
BuildRequires:	python3-devel
9342d9a
68964c1
%global _description\
68964c1
The goal of this module is to offer a simple queue system using the\
68964c1
underlying file system for storage, security and to prevent race\
68964c1
conditions via atomic operations.  It focuses on simplicity,\
68964c1
robustness and the ability to scale.\
68964c1
\
68964c1
The python module dirq is compatible with the Perl\
9342d9a
module Directory::Queue.
9342d9a
68964c1
%description %_description
68964c1
a029f28
%package -n python3-dirq
a029f28
Summary:	Directory based queue
9342d9a
a029f28
%description -n python3-dirq
9342d9a
The goal of this module is to offer a simple queue system using the 
9342d9a
underlying file system for storage, security and to prevent race 
9342d9a
conditions via atomic operations.  It focuses on simplicity, 
9342d9a
robustness and the ability to scale.
9342d9a
mpaladin 01f7b2b
The python module dirq is compatible with the Perl 
9342d9a
module Directory::Queue.
9342d9a
9342d9a
%prep
mpaladin 6b7d55d
%setup -q -n %{srcname}-%{version}
c4629c6
find . -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
mpaladin 6b7d55d
9342d9a
%build
a029f28
%{__python3} setup.py build
9342d9a
9342d9a
%install
a029f28
%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT
mpaladin 6b7d55d
9342d9a
%check
a029f28
%{__python3} setup.py test
9342d9a
# And remove compiled documentation.
9342d9a
rm -f test/*.pyc
9342d9a
a029f28
%files -n python3-dirq
mpaladin 01f7b2b
%doc README.rst CHANGES examples test
a029f28
%{python3_sitelib}/%{srcname}/
ab19ee3
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info
9342d9a
9342d9a
%changelog
903f003
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.7.1-16
903f003
- Rebuilt for Python 3.9
903f003
5aed7fb
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-15
5aed7fb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
5aed7fb
0c0a308
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.7.1-14
0c0a308
- Rebuilt for Python 3.8.0rc1 (#1748018)
0c0a308
a9f2943
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.7.1-13
a9f2943
- Rebuilt for Python 3.8
a9f2943
7d675d0
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-12
7d675d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
7d675d0
c4629c6
* Tue Jun 18 2019 Miro Hrončok <mhroncok@redhat.com> - 1.7.1-11
c4629c6
- Subpackage python2-dirq has been removed
c4629c6
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
c4629c6
ea979a4
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-10
ea979a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
ea979a4
a029f28
* Mon Jul 23 2018 Lionel Cons <lionel.cons@cern.ch> - 1.7.1-9
a029f28
- Fixed building using Python 2 (#1605656).
a029f28
b84860b
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-8
b84860b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b84860b
8cedfce
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.7.1-7
8cedfce
- Rebuilt for Python 3.7
8cedfce
6b3b39f
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-6
6b3b39f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6b3b39f
68964c1
* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.7.1-5
68964c1
- Python 2 binary package renamed to python2-dirq
68964c1
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
68964c1
b5d3d3c
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-4
b5d3d3c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b5d3d3c
30d4492
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-3
30d4492
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
30d4492
fa384cb
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.7.1-2
fa384cb
- Rebuild for Python 3.6
fa384cb
155434d
* Tue Nov  1 2016 Lionel Cons <lionel.cons@cern.ch> - 1.7.1-1
155434d
- Update to upstream version, rhbz #1389920.
155434d
3ff7b07
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-3
3ff7b07
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
3ff7b07
a1ce94b
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-2
a1ce94b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a1ce94b
a68fa0a
* Fri Nov 13 2015 Lionel Cons <lionel.cons@cern.ch> - 1.7-1
a68fa0a
- Update to upstream version, rhbz #1281769.
a68fa0a
f817a10
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-5
f817a10
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
f817a10
6d73676
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-4
6d73676
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6d73676
4454399
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-3
4454399
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4454399
4c23afb
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 1.6.1-2
4c23afb
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
4c23afb
Massimo 95f4554
* Tue Feb 25 2014 Massimo Paladin <massimo.paladin@gmail.com> - 1.6.1-1
Massimo 3c79078
- Update to upstream version, rhbz #1069202.
Massimo 3c79078
Massimo fae659f
* Sat Jan 11 2014 Massimo Paladin <massimo.paladin@gmail.com> - 1.5-1
Massimo fae659f
- Update to upstream version, rhbz #1049761.
Massimo fae659f
49f366a
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2
49f366a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
49f366a
Massimo fe1cfb2
* Tue Jun 25 2013 Massimo Paladin <massimo.paladin@gmail.com> - 1.4-1
Massimo fe1cfb2
- Update to upstream version, rhbz #976198.
Massimo fe1cfb2
Massimo 02ad7fe
* Wed May 29 2013 Massimo Paladin <massimo.paladin@gmail.com> - 1.3-1
Massimo 02ad7fe
- Update to upstream version, rhbz #967707.
Massimo 02ad7fe
73d59ae
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-4
73d59ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
73d59ae
9405ca2
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 1.2.2-3
9405ca2
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
9405ca2
d143cb8
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-2
d143cb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d143cb8
mpaladin beab177
* Mon Jun 11 2012 Massimo Paladin <massimo.paladin@gmail.com> - 1.2.2-1
mpaladin beab177
- Update to 1.2.2.
mpaladin beab177
mpaladin 6b7d55d
* Wed May 09 2012 Massimo Paladin <massimo.paladin@gmail.com> - 1.2.1-2
mpaladin c7d1a78
- Cleaning specfile and dependency error fixed on rhel5.
mpaladin c7d1a78
mpaladin 01f7b2b
* Mon May 07 2012 Massimo Paladin <massimo.paladin@gmail.com> - 1.2.1-1
mpaladin 01f7b2b
- Update to 1.2.1.
mpaladin 01f7b2b
mpaladin e8814f6
* Fri Mar 30 2012 Massimo Paladin <massimo.paladin@gmail.com> - 1.1.2-1
mpaladin e8814f6
- Update to 1.1.2.
mpaladin e8814f6
mpaladin b494a0e
* Tue Mar 20 2012 Massimo Paladin <massimo.paladin@gmail.com> - 1.1.1-1
mpaladin b494a0e
- Update to 1.1.1.
mpaladin b494a0e
46d9145
* Tue Feb 14 2012 Steve Traylen <steve.traylen@cern.ch> - 1.0.1-2
46d9145
- Empty release for revision control error.
46d9145
62c25d5
* Tue Feb 14 2012 Steve Traylen <steve.traylen@cern.ch> - 1.0.1-1
62c25d5
- Update to 1.0.1.
faa1c7d
- Enable python3 support with patch dirq-1.0.1-dist-tag.patch.
62c25d5
1a4d6d7
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.5-6
1a4d6d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1a4d6d7
ec51568
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.5-5
ec51568
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ec51568
95d6095
* Sat Jul 31 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.0.5-4
95d6095
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
95d6095
Massimo f6917fe
* Wed Jul 28 2010 Steve Traylen <steve.traylen@cern.ch> - 0.0.5-3
9342d9a
- Really disable python3 support.
9342d9a
- Change /usr/bin/env python to /usr/bin/python everywhere.
9342d9a
9342d9a
* Tue Jun 29 2010 Steve Traylen <steve.traylen@cern.ch> - 0.0.5-2
9342d9a
- Disable python3 support and add link to bug.
9342d9a
9342d9a
* Mon Jun 28 2010 Steve Traylen <steve.traylen@cern.ch> - 0.0.5-1
9342d9a
- Initial packaging.
9342d9a