Accepting request 254064 from devel:tools:building
SCons 2.3.4 OBS-URL: https://build.opensuse.org/request/show/254064 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/scons?expand=0&rev=27
This commit is contained in:
commit
9a2caf53fa
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:63a74e1012ad9ad54950eafc69604fd9246e1a405c18acf936caa433c97cc0e2
|
||||
size 622434
|
3
scons-2.3.4.tar.gz
Normal file
3
scons-2.3.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4b57d72066fed3b6ff65a7dd9f73633c9b1c09f87520e9b3aae84b3e4864b441
|
||||
size 621953
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6114afd3cd21c6b0e4562ba1a1b903ef5eac97240600b53eeddf2eab6fa29363
|
||||
size 149235
|
3
scons-user.html-2.3.4.tar.bz2
Normal file
3
scons-user.html-2.3.4.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4be8465969f5e7a97d20d515d720d67be4061ff801900247cba995ed5b10e893
|
||||
size 149286
|
@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 5 19:37:22 UTC 2014 - andreas.stieger@gmx.de
|
||||
|
||||
- SCons 2.3.4:
|
||||
* Fixed the interactive mode, in connection with Configure
|
||||
contexts
|
||||
* Fix EnsureSConsVersion warning when running packaged version
|
||||
* Fix D tools for building shared libraries
|
||||
- for SLE 11 SP3 fix python requirements
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 29 12:43:29 UTC 2014 - tchvatal@suse.com
|
||||
|
||||
- Cleanup with spec-cleaner (minor whitespace)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 28 20:46:40 UTC 2014 - andreas.stieger@gmx.de
|
||||
|
||||
|
21
scons.spec
21
scons.spec
@ -18,16 +18,16 @@
|
||||
|
||||
# Potential build fix for SLE11 SLE11SP1
|
||||
%if 0%{?suse_version} <= 1120
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
||||
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||
%endif
|
||||
|
||||
Name: scons
|
||||
Version: 2.3.4
|
||||
Release: 0
|
||||
Summary: Replacement for Make
|
||||
License: MIT
|
||||
Group: Development/Tools/Building
|
||||
Version: 2.3.3
|
||||
Release: 0
|
||||
Url: http://www.scons.org/
|
||||
Source0: http://prdownloads.sourceforge.net/scons/%{name}-%{version}.tar.gz
|
||||
#http://www.scons.org/doc/%%{version}/HTML/scons-user.html
|
||||
Source1: scons-user.html-%{version}.tar.bz2
|
||||
@ -36,14 +36,15 @@ Source99: %{name}-rpmlintrc
|
||||
# Sets _mandir to _datadir/man instead of _prefix/man
|
||||
Patch0: %{name}-1.2.0-fix-install.patch
|
||||
Patch1: %{name}-1.2.0-noenv.patch
|
||||
Url: http://www.scons.org/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-devel >= 2.4
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%if 0%{?suse_version} == 1110
|
||||
%{py_requires}
|
||||
%endif
|
||||
|
||||
%description
|
||||
SCons is a make replacement that provides a range of enhanced features,
|
||||
@ -66,8 +67,10 @@ patch -p0 <<EOF
|
||||
+ QT_LIBPATH = os.path.join('\$QTDIR', '%_lib'),
|
||||
EOF
|
||||
|
||||
sed -i 's|/usr/bin/env python|/usr/bin/python|' script/*
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
export CFLAGS="%{optflags}"
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
@ -78,8 +81,6 @@ python setup.py \install \
|
||||
--no-version-script
|
||||
%fdupes %{buildroot}%{_bindir}
|
||||
|
||||
%check
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc CHANGES.txt LICENSE.txt README.txt RELEASE.txt scons-user.html
|
||||
|
Loading…
x
Reference in New Issue
Block a user