forked from pool/python-libnacl
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libnacl?expand=0&rev=23
This commit is contained in:
committed by
Git OBS Bridge
parent
48b4d93bc6
commit
429cf82364
@@ -25,10 +25,9 @@ Group: Development/Languages/Python
|
||||
Source0: https://pypi.python.org/packages/source/l/libnacl/libnacl-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/libnacl-%{version}-build
|
||||
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: libsodium-devel
|
||||
BuildRequires: fdupes
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
@@ -50,7 +49,6 @@ python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --optimize=1
|
||||
%fdupes %{buildroot}%{_prefix}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
|
Reference in New Issue
Block a user