mirror of
https://abf.rosa.ru/djam/python38.git
synced 2025-02-23 15:22:50 +00:00
Fix args
This commit is contained in:
parent
e5f9ad64d4
commit
9303e986ab
2 changed files with 4 additions and 4 deletions
|
@ -8,16 +8,16 @@
|
||||||
%py3_puresitedir %python3_sitelib
|
%py3_puresitedir %python3_sitelib
|
||||||
%py3_incdir %(%{__python3} -c 'from distutils.sysconfig import get_python_inc; print(get_python_inc())' 2>/dev/null || echo PYTHON-INCLUDEDIR-NOT-FOUND)
|
%py3_incdir %(%{__python3} -c 'from distutils.sysconfig import get_python_inc; print(get_python_inc())' 2>/dev/null || echo PYTHON-INCLUDEDIR-NOT-FOUND)
|
||||||
%py3dir %{_builddir}/python3-%{name}-%{version}-%{release}
|
%py3dir %{_builddir}/python3-%{name}-%{version}-%{release}
|
||||||
%py_setup setup.py
|
# %%py_setup setup.py # in rpm-openmandriva-setup
|
||||||
|
|
||||||
%py3_shbang_opts -s
|
%py3_shbang_opts -s
|
||||||
|
|
||||||
%py3_build() %{expand:\
|
%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}" %{?*}\
|
||||||
}
|
}
|
||||||
|
|
||||||
%py3_install() %{expand:\
|
%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} %{?*}\
|
||||||
}
|
}
|
||||||
|
|
||||||
%py3_test() %{expand:\
|
%py3_test() %{expand:\
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
Summary: An interpreted, interactive object-oriented programming language
|
Summary: An interpreted, interactive object-oriented programming language
|
||||||
Name: python3
|
Name: python3
|
||||||
Version: 3.8.1
|
Version: 3.8.1
|
||||||
Release: 10
|
Release: 11
|
||||||
License: Modified CNRI Open Source License
|
License: Modified CNRI Open Source License
|
||||||
Group: Development/Python
|
Group: Development/Python
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue