Accepting request 359630 from home:Rotkraut

Add package python3-magic providing Python 3 bindings.

OBS-URL: https://build.opensuse.org/request/show/359630
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=126
This commit is contained in:
2016-02-18 11:51:37 +00:00
committed by Git OBS Bridge
parent 1af14c6bef
commit cdd247fd26
6 changed files with 87 additions and 5 deletions

View File

@@ -19,6 +19,8 @@
%define somajor 1
%define libname libmagic%{somajor}
%define python python
Name: file
BuildRequires: findutils
BuildRequires: libtool
@@ -143,7 +145,7 @@ CFLAGS="$RPM_OPT_FLAGS -DHOWMANY=69632 -fPIE"
%{__make} %{?_smp_mflags} pkgdatadir='$(datadir)' LDFLAGS="-pie"
%if 0%{?build_python_bindings:1}
pushd python
python setup.py build
%python setup.py build
popd
%endif