[packages/python-certifi] Version: 2017.7.27.1

jajcus jajcus at pld-linux.org
Wed Aug 2 10:43:25 CEST 2017


commit 1dbf107d864c6f481de1699c29c38082e0193afc
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Wed Aug 2 10:42:50 2017 +0200

    Version: 2017.7.27.1

 python-certifi.spec | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/python-certifi.spec b/python-certifi.spec
index 63a9fc3..de9736c 100644
--- a/python-certifi.spec
+++ b/python-certifi.spec
@@ -5,16 +5,20 @@
 %bcond_without	python3 # CPython 3.x module
 
 %define 	module	certifi
+
+# pypi version does not include leading zeros in the date
+%define		tag 2017.07.27.1
+%define		version %(echo %{tag} | sed -e's/\\.0/./g')
+
 Summary:	Python 2 package for providing Mozilla's CA Bundle
 Summary(pl.UTF-8):	Pakiet Pythona 2 udostępniający bazę danych CA z Mozilli
 Name:		python-%{module}
-Version:	2017.1.23
+Version:	%{version}
 Release:	1
 License:	ISC
 Group:		Libraries/Python
-#Source0Download: https://pypi.python.org/simple/certifi/
-Source0:	https://files.pythonhosted.org/packages/source/c/certifi/certifi-%{version}.tar.gz
-# Source0-md5:	b72521a8badff5e89a8eabea586d79ab
+Source0:	https://github.com/certifi/python-certifi/archive/%{tag}/%{name}-%{tag}.tar.gz
+# Source0-md5:	81757b03ea9aa7c4b889450db977d677
 URL:		https://certifi.io/
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
@@ -59,7 +63,7 @@ potwierdzających zaufanie do certyfikatów SSL podczas weryfikacji
 tożsamości hostów TLS. Pochodzi z projektu Requests.
 
 %prep
-%setup -q -n %{module}-%{version}
+%setup -q -n %{name}-%{tag}
 
 %build
 %if %{with python2}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-certifi.git/commitdiff/1dbf107d864c6f481de1699c29c38082e0193afc



More information about the pld-cvs-commit mailing list