rebuilt with python3 [release 3.1.2-2mamba;Wed Mar 18 2020]
This commit is contained in:
parent
e04aed595f
commit
8bf041616a
21
scons.spec
21
scons.spec
@ -1,6 +1,6 @@
|
|||||||
Name: scons
|
Name: scons
|
||||||
Version: 3.1.2
|
Version: 3.1.2
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: An Open Source software construction tool
|
Summary: An Open Source software construction tool
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -9,10 +9,10 @@ Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
|||||||
URL: http://www.scons.org/
|
URL: http://www.scons.org/
|
||||||
Source: http://downloads.sourceforge.net/scons/%{version}/scons-%{version}.tar.gz
|
Source: http://downloads.sourceforge.net/scons/%{version}/scons-%{version}.tar.gz
|
||||||
License: MIT
|
License: MIT
|
||||||
Requires: python >= %python_version
|
Requires: python3 >= %python3_version
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libpython-devel
|
BuildRequires: libpython3-devel
|
||||||
BuildRequires: python
|
BuildRequires: python3
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
@ -28,15 +28,17 @@ SCons supports side-by-side variant builds, and is easily extended with user-def
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
sed -i "s|env python$|env python3|" script/scons*
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__python} setup.py build
|
%{__python3} setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%{__python} setup.py install \
|
%{__python3} setup.py install \
|
||||||
--root="%{buildroot}" \
|
--root="%{buildroot}" \
|
||||||
--install-headers=%{_includedir}/python \
|
--install-headers=%{python3_inc} \
|
||||||
--install-lib=%{python_sitearch} \
|
--install-lib=%{python3_sitearch} \
|
||||||
--install-data=%{_datadir} \
|
--install-data=%{_datadir} \
|
||||||
--record=.packlist
|
--record=.packlist
|
||||||
|
|
||||||
@ -52,6 +54,9 @@ rm -f .packlist
|
|||||||
%doc LICENSE.txt
|
%doc LICENSE.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.2-2mamba
|
||||||
|
- rebuilt with python3
|
||||||
|
|
||||||
* Tue Dec 31 2019 Automatic Build System <autodist@mambasoft.it> 3.1.2-1mamba
|
* Tue Dec 31 2019 Automatic Build System <autodist@mambasoft.it> 3.1.2-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user