* Tue Oct 03 2017 Fabian Affolter <mail@fabian-affolter.ch> - 2.5.1-1

- Update to new upstream version 3.0.0 (rhbz#1497891)
This commit is contained in:
Fabian Affolter 2017-10-03 08:50:32 +02:00
parent bf02718e74
commit fe5b7863a8
No known key found for this signature in database
GPG Key ID: E23CD2DD36A4397F
3 changed files with 12 additions and 8 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@
/scons-2.4.1.tar.gz
/scons-2.5.0.tar.gz
/scons-2.5.1.tar.gz
/scons-3.0.0.tar.gz

View File

@ -1,8 +1,8 @@
#global posttag .final.0
Name: scons
Version: 2.5.1
Release: 3%{?posttag}%{?dist}
Version: 3.0.0
Release: 1%{?posttag}%{?dist}
Summary: An Open Source software construction tool
License: MIT
@ -10,7 +10,7 @@ URL: http://www.scons.org
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}%{?posttag}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python3-devel
%description
SCons is an Open Source software construction tool--that is, a build
@ -29,8 +29,8 @@ defined Builder and/or Scanner objects.
%prep
%setup -q -n %{name}-%{version}%{?posttag}
sed -i 's|/usr/bin/env python|/usr/bin/python|' script/*
# Convert to utf-8
sed -i 's|/usr/bin/env python|/usr/bin/python3|' script/*
# Convert to UTF-8
for file in *.txt; do
iconv -f ISO-8859-1 -t UTF-8 -o $file.new $file && \
touch -r $file $file.new && \
@ -38,10 +38,10 @@ for file in *.txt; do
done
%build
%{__python2} setup.py build
%{__python3} setup.py build
%install
%{__python2} setup.py install -O1 --skip-build \
%{__python3} setup.py install -O1 --skip-build \
--root=%{buildroot} \
--no-version-script \
--standalone-lib \
@ -56,6 +56,9 @@ done
%{_mandir}/man?/*
%changelog
* Tue Oct 03 2017 Fabian Affolter <mail@fabian-affolter.ch> - 2.5.1-1
- Update to new upstream version 3.0.0 (rhbz#1497891)
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

View File

@ -1 +1 @@
aaaf09e1351a598f98d17b0cf1103e7a scons-2.5.1.tar.gz
SHA512 (scons-3.0.0.tar.gz) = e52c31a21f8aab4bbb684a8770cbcb9eeef042d5c8c86ea2f4beb64ec0c50bc1ca4aa738a2bf92330bd26f8fa9589cb10314dc53defccc2825a5a13b01641b2d