diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9a0f16f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/dateutil-2.6.1.tar.gz diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/python-dateutil.spec b/python-dateutil.spec new file mode 100644 index 0000000..3f7fba0 --- /dev/null +++ b/python-dateutil.spec @@ -0,0 +1,226 @@ +%global modname dateutil + +Name: python-%{modname} +Version: 2.6.1 +Release: 6%{?dist} +Epoch: 1 +Summary: Powerful extensions to the standard datetime module + +Group: Development/Languages +License: BSD +URL: https://github.com/dateutil/dateutil +Source0: https://github.com/dateutil/dateutil/archive/%{version}/%{modname}-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python3-sphinx + +%description +The dateutil module provides powerful extensions to the standard datetime +module available in Python. + +%package -n python3-%{modname} +Summary: Powerful extensions to the standard datetime module +%{?python_provide:%python_provide python3-%{modname}} +BuildRequires: python3-devel +BuildRequires: python3-six +BuildRequires: python3-setuptools +Requires: tzdata +Requires: python3-six + +%description -n python3-dateutil +The dateutil module provides powerful extensions to the standard datetime +module available in Python. + +This is the version for Python 3. + +%package doc +Summary: API documentation for python-dateutil +%description doc +This package contains %{summary}. + +%prep +%autosetup -p0 -n %{modname}-%{version} +iconv --from=ISO-8859-1 --to=UTF-8 NEWS > NEWS.new +mv NEWS.new NEWS + +%build +%py3_build +make -C docs html + +%install +%py3_install + +%check +%{__python3} setup.py test + +%files -n python3-%{modname} +%license LICENSE +%doc NEWS README.rst +%{python3_sitelib}/%{modname}/ +%{python3_sitelib}/*.egg-info + +%files doc +%license LICENSE +%doc docs/_build/html + +%changelog +* Mon Jul 16 2018 Honza Horak - 1:2.6.1-6 +- Change license to BSD + +* Wed Jun 13 2018 Petr Viktorin - 1:2.6.1-5 +- Drop the python2 subpackage + +* Wed Jun 13 2018 Miro Hrončok - 1:2.6.1-4 +- Use Python 3 Sphinx + +* Fri Feb 09 2018 Fedora Release Engineering - 1:2.6.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Dec 11 2017 Iryna Shcherbina - 1:2.6.1-2 +- Fix ambiguous Python 2 dependency declarations + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Thu Nov 2 2017 Haïkel Guémar - 1:2.6.1-1 +- Upstream 2.6.1 + +* Thu Jul 27 2017 Fedora Release Engineering - 1:2.6.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1:2.6.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Dec 09 2016 Charalampos Stratakis - 2.6.0-2 +- Rebuild for Python 3.6 + +* Wed Nov 09 2016 Igor Gnatenko - 2.6.0-1 +- Update to 2.6.0 (RHBZ #1393159) + +* Tue Jul 19 2016 Fedora Release Engineering - 1:2.5.3-2 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Thu May 5 2016 Zbigniew Jędrzejewski-Szmek - 1:2.5.3-1 +- Update to latest version (#1318828) + +* Thu May 5 2016 Zbigniew Jędrzejewski-Szmek - 1:2.5.2-2 +- Use separate dirs for docs for py2 and py3 subpackages (#1332623) + +* Sat Apr 09 2016 Igor Gnatenko - 1:2.5.2-1 +- Update to 2.5.2 +- Adopt for new packaging guidelines + +* Mon Feb 29 2016 Zbigniew Jędrzejewski-Szmek - 1:2.5.0-1 +- Update to latest upstream version +- The patch to make dateutil.zoneinfo.gettz() use the system database is dropped. + Upstream recommends using dateutil.tz.gettz() instead. + +* Thu Feb 04 2016 Fedora Release Engineering - 1:2.4.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Oct 14 2015 Robert Kuska - 1:2.4.2-3 +- Rebuilt for Python3.5 rebuild +- Add BuildRequires: python3-setuptools + +* Thu Jun 18 2015 Fedora Release Engineering - 1:2.4.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Apr 6 2015 Zbigniew Jędrzejewski-Szmek - 1:2.4.2-1 +- Update to latest upstream release. + +* Tue Mar 3 2015 Zbigniew Jędrzejewski-Szmek - 1:2.4.0-3 +- Add patch for string handling in dateutil.tz.tzstr (#1197791) + +* Wed Jan 21 2015 Zbigniew Jędrzejewski-Szmek - 1:2.4.0-2 +- Add python3 subpackage. +- Conflict with python-vobject <= 0.8.1c-10 (workaround until #1183377 + is fixed one way or another). + +* Wed Jan 21 2015 Zbigniew Jędrzejewski-Szmek - 1:2.4.0-1 +- Change to new upstream, update to 2.4 (#1126521) +- Build documentation. + +* Tue Aug 05 2014 Jon Ciesla - 1:1.5-9 +- Reverting to 1.5 pre user feedback and upstream. + +* Mon Aug 04 2014 Jon Ciesla - 2.2-1 +- Update to 2.2, BZ 1126521. +- Fix bad dates. + +* Sat Jun 07 2014 Fedora Release Engineering - 1.5-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 1.5-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jul 21 2012 Fedora Release Engineering - 1.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 1.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Sep 15 2011 Jef Spaleta - 1.5-3 +- Adjust patch to respect systemwide tzdata. Ref bug 729786 + +* Thu Sep 15 2011 Jef Spaleta - 1.5-2 +- Added a patch to respect systemwide tzdata. Ref bug 729786 + +* Wed Jul 13 2011 Rahul Sundaram - 1.5-1 +- New upstream release +- Fix UTF8 encoding correctly +- Drop buildroot, clean, defattr and use macro for Source + +* Tue Feb 08 2011 Fedora Release Engineering - 1.4.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Jul 22 2010 David Malcolm - 1.4.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Sun Jul 26 2009 Fedora Release Engineering - 1.4.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 1.4.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Feb 20 2009 Jef Spaleta - 1.4.1-2 +- small specfile fix + +* Fri Feb 20 2009 Jef Spaleta - 1.4.1-2 +- New upstream version + +* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 1.4-3 +- Rebuild for Python 2.6 + +* Fri Aug 29 2008 Tom "spot" Callaway - 1.4-2 +- fix license tag + +* Tue Jul 01 2008 Jef Spaleta 1.4-1 +- Latest upstream release + +* Fri Jan 04 2008 Jef Spaleta 1.2-2 +- Fix for egg-info file creation + +* Thu Jun 28 2007 Orion Poplawski 1.2-1 +- Update to 1.2 + +* Mon Dec 11 2006 Jef Spaleta 1.1-5 +- Fix python-devel BR, as per discussion in maintainers-list + +* Mon Dec 11 2006 Jef Spaleta 1.1-4 +- Release bump for rebuild against python 2.5 in devel tree + +* Wed Jul 26 2006 Orion Poplawski 1.1-3 +- Add patch to fix building on x86_64 + +* Wed Feb 15 2006 Orion Poplawski 1.1-2 +- Rebuild for gcc/glibc changes + +* Thu Dec 22 2005 Orion Poplawski 1.1-1 +- Update to 1.1 + +* Thu Jul 28 2005 Orion Poplawski 1.0-1 +- Update to 1.0 + +* Tue Jul 05 2005 Orion Poplawski 0.9-1 +- Initial Fedora Extras package diff --git a/sources b/sources new file mode 100644 index 0000000..c094bd3 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (dateutil-2.6.1.tar.gz) = 7314dd42bd5c270eaa673e072e39d306653c3cfccb40cadfe7f057e057eaa73003f6c2582c2f08c42a36c46e7bf9199052e9f92840f2f07a3e4277988a84317b