Compare commits
3 Commits
3.0.5-1mam
...
3.1.2-2mam
Author | SHA1 | Date | |
---|---|---|---|
8bf041616a | |||
e04aed595f | |||
419e0eb740 |
29
scons.spec
29
scons.spec
@ -1,6 +1,6 @@
|
||||
Name: scons
|
||||
Version: 3.0.5
|
||||
Release: 1mamba
|
||||
Version: 3.1.2
|
||||
Release: 2mamba
|
||||
Summary: An Open Source software construction tool
|
||||
Group: Development/Tools
|
||||
Vendor: openmamba
|
||||
@ -9,10 +9,10 @@ Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
||||
URL: http://www.scons.org/
|
||||
Source: http://downloads.sourceforge.net/scons/%{version}/scons-%{version}.tar.gz
|
||||
License: MIT
|
||||
Requires: python >= %python_version
|
||||
Requires: python3 >= %python3_version
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: python
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: python3
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
@ -28,15 +28,17 @@ SCons supports side-by-side variant builds, and is easily extended with user-def
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
sed -i "s|env python$|env python3|" script/scons*
|
||||
|
||||
%build
|
||||
%{__python} setup.py build
|
||||
%{__python3} setup.py build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%{__python} setup.py install \
|
||||
%{__python3} setup.py install \
|
||||
--root="%{buildroot}" \
|
||||
--install-headers=%{_includedir}/python \
|
||||
--install-lib=%{python_sitearch} \
|
||||
--install-headers=%{python3_inc} \
|
||||
--install-lib=%{python3_sitearch} \
|
||||
--install-data=%{_datadir} \
|
||||
--record=.packlist
|
||||
|
||||
@ -52,6 +54,15 @@ rm -f .packlist
|
||||
%doc LICENSE.txt
|
||||
|
||||
%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
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Aug 30 2019 Automatic Build System <autodist@mambasoft.it> 3.1.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Jun 29 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.5-1mamba
|
||||
- update to 3.0.5
|
||||
|
||||
|
Reference in New Issue
Block a user