automatic version update by autodist [release 4.2.0-1mamba;Tue Aug 31 2021]

This commit is contained in:
Automatic Build System 2024-01-05 17:40:13 +01:00
parent 8bf041616a
commit 7ae56676d0

View File

@ -1,20 +1,17 @@
Name: scons
Version: 3.1.2
Release: 2mamba
Version: 4.2.0
Release: 1mamba
Summary: An Open Source software construction tool
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://www.scons.org/
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.scons.org/
Source: http://downloads.sourceforge.net/scons/%{version}/scons-%{version}.tar.gz
License: MIT
Requires: python3 >= %python3_version
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
BuildRequires: python3
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
SCons is an Open Source software construction tool--that is, a build tool; an improved substitute for the classic Make utility; a better way to build software.
@ -26,9 +23,9 @@ SCons uses MD5 signatures to rebuild only when the contents of a file have reall
SCons supports side-by-side variant builds, and is easily extended with user-defined Builder and/or Scanner objects.
%prep
%setup -q
%setup -q -n SCons-%{version}
sed -i "s|env python$|env python3|" script/scons*
#sed -i "s|env python$|env python3|" script/scons*
%build
%{__python3} setup.py build
@ -44,16 +41,22 @@ sed -i "s|env python$|env python3|" script/scons*
sed -i -e "s,%{_mandir}.*,," .packlist
install -d -m0755 %{buildroot}%{_mandir}/man1
cp scons*.1 %{buildroot}%{_mandir}/man1
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
rm -f .packlist
%files -f .packlist
%defattr(-,root,root)
%{_mandir}/man1/*
%doc LICENSE.txt
%{_mandir}/man1/scons*.1*
%doc LICENSE
%changelog
* Tue Aug 31 2021 Automatic Build System <autodist@mambasoft.it> 4.2.0-1mamba
- automatic version update by autodist
* Wed Mar 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.2-2mamba
- rebuilt with python3