[packages/python-dateutil] drop autogenerated deps (six), macro for tzdata not to forget to update py3 dep

glen glen at pld-linux.org
Tue May 3 22:55:44 CEST 2016


commit 27201dcb1de8a58b7563e6503a0a9af9ef882bfd
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue May 3 23:55:12 2016 +0300

    drop autogenerated deps (six), macro for tzdata not to forget to update py3 dep

 python-dateutil.spec | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/python-dateutil.spec b/python-dateutil.spec
index ec4c415..24ba3bb 100644
--- a/python-dateutil.spec
+++ b/python-dateutil.spec
@@ -4,6 +4,7 @@
 %bcond_without	python3 # CPython 3.x module
 
 %define		module dateutil
+%define		tzdata	2016d
 Summary:	Extensions to the standard Python datetime module
 Summary(pl.UTF-8):	Rozszerzenia modułu datetime języka Python
 Name:		python-dateutil
@@ -25,8 +26,7 @@ BuildRequires:	python-setuptools
 BuildRequires:	python3-modules >= 1:3.2
 BuildRequires:	python3-setuptools
 %endif
-Requires:	python-six >= 1.5
-Requires:	tzdata >= 2016d
+Requires:	tzdata >= %{tzdata}
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -76,8 +76,7 @@ aktualna w stosunku do systemowych danych zoneinfo.
 Summary:	Extensions to the standard Python datetime module
 Summary(pl.UTF-8):	Rozszerzenia modułu datetime języka Python
 Group:		Libraries/Python
-Requires:	python3-six >= 1.5
-Requires:	tzdata >= 2016a
+Requires:	tzdata >= %{tzdata}
 
 %description -n python3-dateutil
 The dateutil module provides powerful extensions to the standard
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-dateutil.git/commitdiff/27201dcb1de8a58b7563e6503a0a9af9ef882bfd



More information about the pld-cvs-commit mailing list