3 # pypi version does not include leading zeros in the date
5 %define version %(echo %{tag} | sed -e 's/\\.0/./g')
7 Summary: Python 3 package for providing Mozilla's CA Bundle
8 Summary(pl.UTF-8): Pakiet Pythona 3 udostępniający bazę danych CA z Mozilli
9 Name: python3-%{module}
13 Group: Libraries/Python
14 #Source0Download: https://github.com/certifi/python-certifi/tags
15 Source0: https://github.com/certifi/python-certifi/archive/%{tag}/python-certifi-%{tag}.tar.gz
16 # Source0-md5: 23727c99ce0278e5d73d1a41ec3c2ff9
17 URL: https://certifi.io/
18 BuildRequires: python3-devel >= 1:3.5
19 BuildRequires: python3-setuptools
20 BuildRequires: rpm-pythonprov
21 BuildRequires: rpmbuild(macros) >= 1.714
22 Requires: python3-modules >= 1:3.5
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Certifi is a carefully curated collection of Root Certificates for
28 validating the trustworthiness of SSL certificates while verifying the
29 identity of TLS hosts. It has been extracted from the Requests
32 %description -l pl.UTF-8
33 Certifi to ostrożnie utrzymywany zbiór głównych certyfikatów
34 potwierdzających zaufanie do certyfikatów SSL podczas weryfikacji
35 tożsamości hostów TLS. Pochodzi z projektu Requests.
38 %setup -q -n python-certifi-%{tag}
44 rm -rf $RPM_BUILD_ROOT
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
53 %doc LICENSE README.rst
54 %{py3_sitescriptdir}/%{module}
55 %{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info