forked from pool/python-libnacl
Accepting request 389597 from home:Zaitor:branches:devel:languages:python
Fix build, but maintainer must make sure this is ok, since the previous change maxing out at libsodium 1.0.8 was clearly intentional. OBS-URL: https://build.opensuse.org/request/show/389597 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libnacl?expand=0&rev=31
This commit is contained in:
committed by
Git OBS Bridge
parent
591b975e50
commit
afee051900
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 13 17:36:30 UTC 2016 - zaitor@opensuse.org
|
||||
|
||||
- Add conditional pkgconfig(libsodium) BuildRequires for all
|
||||
openSUSE versions newer than 13.1.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 14 13:07:31 UTC 2016 - dmacvicar@suse.de
|
||||
|
||||
|
@@ -33,7 +33,11 @@ BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
# libnacl/__init__.py only looks for sonames 17, 13, 10, 5, 4
|
||||
# plus 18 with Patch0
|
||||
%if 0%{?suse_version} >= 1310
|
||||
BuildRequires: pkgconfig(libsodium)
|
||||
%else
|
||||
BuildRequires: libsodium-devel <= 1.0.8
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
# make sure we require the libsodium version we were built with
|
||||
|
Reference in New Issue
Block a user