Accepting request 687921 from devel:languages:python

- fix build on older distributions

OBS-URL: https://build.opensuse.org/request/show/687921
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rsa?expand=0&rev=16
This commit is contained in:
Dominique Leuenberger 2019-03-29 19:37:28 +00:00 committed by Git OBS Bridge
commit a5fd280da1
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Mar 23 18:54:24 UTC 2019 - Dirk Mueller <dmueller@suse.com>
- fix build on older distributions
-------------------------------------------------------------------
Sat Feb 16 13:51:23 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@ -50,9 +50,11 @@ PKCS#1 version 1.5.
%setup -q -n rsa-%{version}
%build
export LC_ALL=en_US.utf8
%python_build
%install
export LC_ALL=en_US.utf8
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@ -71,6 +73,7 @@ PKCS#1 version 1.5.
%if %{with tests}
%check
export LC_ALL=en_US.utf8
%python_exec setup.py test
%endif