From 9303e986ab702dc688065db658de685dccf64539 Mon Sep 17 00:00:00 2001 From: Mikhail Novosyolov Date: Sat, 22 Feb 2020 19:51:51 +0300 Subject: [PATCH] Fix args --- python3.macros | 6 +++--- python3.spec | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/python3.macros b/python3.macros index 5b7b3da..a52dc93 100644 --- a/python3.macros +++ b/python3.macros @@ -8,16 +8,16 @@ %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) %py3dir %{_builddir}/python3-%{name}-%{version}-%{release} -%py_setup setup.py +# %%py_setup setup.py # in rpm-openmandriva-setup %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}" %{?*}\ } %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:\ diff --git a/python3.spec b/python3.spec index 57c69c8..c41e746 100644 --- a/python3.spec +++ b/python3.spec @@ -33,7 +33,7 @@ Summary: An interpreted, interactive object-oriented programming language Name: python3 Version: 3.8.1 -Release: 10 +Release: 11 License: Modified CNRI Open Source License Group: Development/Python