commit 59e720fb8321462d2c9ebe8911cc0c87f283a9d2
Author: Elan Ruusamäe <g...@delfi.ee>
Date:   Mon Oct 17 23:48:27 2016 +0300

    verify olson version match

 python-pytz.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/python-pytz.spec b/python-pytz.spec
index 412f993..5f90f6b 100644
--- a/python-pytz.spec
+++ b/python-pytz.spec
@@ -76,6 +76,9 @@ przy użyciu Pythona 3.x
 %patch0 -p1
 
 %build
+v=$(sed -rne "s/^OLSON_VERSION = '(.+)'/\1/p" pytz/__init__.py)
+test "$v" = "%{olsonver}"
+
 %if %{with python2}
 %py_build
 %py_lint
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pytz.git/commitdiff/fa19a5fc1f8f382ca6fee37490b0473c50406acf

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to