From fe5b7863a8b9c636940ee44d5800b7dcf870a548 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Oct 03 2017 06:50:32 +0000 Subject: * Tue Oct 03 2017 Fabian Affolter - 2.5.1-1 - Update to new upstream version 3.0.0 (rhbz#1497891) --- diff --git a/.gitignore b/.gitignore index 2a42399..fa290db 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/scons.spec b/scons.spec index a0c2380..cd5f2a7 100644 --- a/scons.spec +++ b/scons.spec @@ -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 - 2.5.1-1 +- Update to new upstream version 3.0.0 (rhbz#1497891) + * Thu Jul 27 2017 Fedora Release Engineering - 2.5.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild diff --git a/sources b/sources index 36b63e0..37f2e1d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -aaaf09e1351a598f98d17b0cf1103e7a scons-2.5.1.tar.gz +SHA512 (scons-3.0.0.tar.gz) = e52c31a21f8aab4bbb684a8770cbcb9eeef042d5c8c86ea2f4beb64ec0c50bc1ca4aa738a2bf92330bd26f8fa9589cb10314dc53defccc2825a5a13b01641b2d