Use setup.py directly.
This commit is contained in:
parent
b1b8c9cb8c
commit
c25f65d829
1 changed files with 2 additions and 2 deletions
|
|
@ -29,11 +29,11 @@ unlike the default bindings.
|
|||
chmod a-x doc/rest2html.py
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" %{__python} -c 'import setuptools; execfile("setup.py")' build
|
||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
%{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root %{buildroot}
|
||||
%{__python} setup.py install --skip-build --root %{buildroot}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue