Allow multiple args to %py_build/install macros

This commit is contained in:
Orion Poplawski 2016-11-15 16:18:39 -07:00
commit 6ce524f21d
3 changed files with 7 additions and 7 deletions

View file

@ -8,10 +8,10 @@
%py3_shbang_opts -s
%py3_build() %{expand:
CFLAGS="%{optflags}" %{__python3} %{py_setup} %{?py_setup_args} build --executable="%{__python3} %{py3_shbang_opts}" %{?1}
CFLAGS="%{optflags}" %{__python3} %{py_setup} %{?py_setup_args} build --executable="%{__python3} %{py3_shbang_opts}" %{?*}
sleep 1
}
%py3_install() %{expand:
CFLAGS="%{optflags}" %{__python3} %{py_setup} %{?py_setup_args} install -O1 --skip-build --root %{buildroot} %{?1}
CFLAGS="%{optflags}" %{__python3} %{py_setup} %{?py_setup_args} install -O1 --skip-build --root %{buildroot} %{?*}
}