forked from pool/python-certifi
- fix macros to support not having python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-certifi?expand=0&rev=21
This commit is contained in:
committed by
Git OBS Bridge
parent
98c71b1c9d
commit
c6d24616d3
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 18 17:23:39 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
- fix macros to support not having python2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 12 08:52:57 UTC 2017 - adrian.glaubitz@suse.com
|
||||
|
||||
|
||||
@@ -62,11 +62,11 @@ derived from Mozilla Firefox's canonical set.
|
||||
rm %{buildroot}%{$python_sitelib}/certifi/cacert.pem
|
||||
}
|
||||
|
||||
%if %have_python2
|
||||
%if 0%{?have_python2}
|
||||
%py_compile %{buildroot}%{python2_sitelib}/certifi/
|
||||
%py_compile -O %{buildroot}%{python2_sitelib}/certifi/
|
||||
%endif
|
||||
%if %have_python3
|
||||
%if 0%{?have_python3}
|
||||
%py3_compile %{buildroot}%{python3_sitelib}/certifi/
|
||||
%py3_compile -O %{buildroot}%{python3_sitelib}/certifi/
|
||||
%endif
|
||||
|
||||
Reference in New Issue
Block a user