* 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:
parent
bf02718e74
commit
fe5b7863a8
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
||||
17
scons.spec
17
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 <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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user