Accepting request 183951 from devel:tools:building
update to 2.3.0, current (and compressed) user guide, make noarch (forwarded request 183872 from AndreasStieger) OBS-URL: https://build.opensuse.org/request/show/183951 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/scons?expand=0&rev=20
This commit is contained in:
commit
3bad677c6c
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f7fcd11a7af7ec13d587a2f7cf14a92e3223eea64bf078454a9856ec0ab465b9
|
|
||||||
size 591836
|
|
3
scons-2.3.0.tar.gz
Normal file
3
scons-2.3.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9442069999cf4b2caa94a5886ab4c2c71de1718ed5e9176c18e2b6dbca463b4b
|
||||||
|
size 599514
|
45103
scons-user.html
45103
scons-user.html
File diff suppressed because it is too large
Load Diff
3
scons-user.html-2.3.0.tar.bz2
Normal file
3
scons-user.html-2.3.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:df7bcf2ff8b2eaa8849b8024770136bb4db6e03f4020db494ba32843390963dc
|
||||||
|
size 141714
|
@ -1,3 +1,51 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 21 09:19:19 UTC 2013 - andreas.stieger@gmx.de
|
||||||
|
|
||||||
|
- update to 2.3.0
|
||||||
|
- Added ability to run scripts/scons.py directly from source checkout
|
||||||
|
- Hide deprecated --debug={dtree,stree,tree} from --help output
|
||||||
|
- Error messages from option parser now include hints about valid choices
|
||||||
|
- Cleaned up some Python 1.5 and pre-2.3 code, so don't expect SCons
|
||||||
|
to run on anything less than Python 2.4 anymore
|
||||||
|
- Several fixes for runtest.py:
|
||||||
|
* exit with an error if no tests were found
|
||||||
|
* removed --noqmtest option - this behavior is by default
|
||||||
|
* replaced `-o FILE --xml` combination with `--xml FILE`
|
||||||
|
* changed `-o, --output FILE` option to capture stdout/stderr output
|
||||||
|
from runtest.py
|
||||||
|
- Remove os_spawnv_fix.diff patch required to enable parallel builds
|
||||||
|
support prior to Python 2.2
|
||||||
|
- Fix WiX Tool to use .wixobj rather than .wxiobj for compiler output
|
||||||
|
- Support building with WiX releases after 2.0
|
||||||
|
- Fix nested LIBPATH expansion by flattening sequences in subst_path.
|
||||||
|
- Print target name with command execution time with --debug=time
|
||||||
|
- Updated test framework to support dir and file fixtures and
|
||||||
|
added ability to test external (out-of-tree) tools
|
||||||
|
- Fixed several errors in the test suite (Java paths, MSVS version
|
||||||
|
detection, Tool import), additionally
|
||||||
|
* provided MinGW command-line support for the CXX, AS and
|
||||||
|
Fortran tests,
|
||||||
|
* refactored the detection of the gcc version and the according
|
||||||
|
Fortran startup library,
|
||||||
|
* provided a new module rpmutils.py, wrapping the RPM naming rules
|
||||||
|
for target files and further hardware-dependent info (compatibility,
|
||||||
|
compiler flags, ...),
|
||||||
|
* added new test methods must_exist_one_of() and
|
||||||
|
must_not_exist_any_of() and
|
||||||
|
* removed Aegis support from runtest.py. (#2872)
|
||||||
|
- Add -jN support to runtest.py to run tests in parallel
|
||||||
|
- Updated the TeX builder to support the \newglossary command
|
||||||
|
in LaTeX's glossaries package and the files it creates.
|
||||||
|
- Improve support for new versions of biblatex in the TeX builder
|
||||||
|
so biber is called automatically if biblatex requires it.
|
||||||
|
- Add SHLIBVERSION as an option that tells SharedLibrary to build
|
||||||
|
a versioned shared library and create the required symlinks.
|
||||||
|
Add builder InstallVersionedLib to create the required symlinks
|
||||||
|
installing a versioned shared library.
|
||||||
|
- packaging changes
|
||||||
|
* update to current (and compressed) user guide
|
||||||
|
* make noarch package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Sep 22 20:20:39 UTC 2012 - i@marguerite.su
|
Sat Sep 22 20:20:39 UTC 2012 - i@marguerite.su
|
||||||
|
|
||||||
|
26
scons.spec
26
scons.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package scons
|
# spec file for package scons
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -26,10 +26,11 @@ Name: scons
|
|||||||
Summary: Replacement for Make
|
Summary: Replacement for Make
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
Version: 2.2.0
|
Version: 2.3.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Source0: http://freefr.dl.sourceforge.net/project/scons/scons/%{version}/%{name}-%{version}.tar.gz
|
Source0: http://prdownloads.sourceforge.net/scons/%{name}-%{version}.tar.gz
|
||||||
Source1: scons-user.html
|
#http://www.scons.org/doc/%%{version}/HTML/scons-user.html
|
||||||
|
Source1: scons-user.html-%{version}.tar.bz2
|
||||||
# rpmlintrc
|
# rpmlintrc
|
||||||
Source99: %{name}-rpmlintrc
|
Source99: %{name}-rpmlintrc
|
||||||
# Sets _mandir to _datadir/man instead of _prefix/man
|
# Sets _mandir to _datadir/man instead of _prefix/man
|
||||||
@ -38,7 +39,10 @@ Patch1: %{name}-1.2.0-noenv.patch
|
|||||||
Url: http://www.scons.org/
|
Url: http://www.scons.org/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel >= 2.4
|
||||||
|
%if 0%{?suse_version} > 1110
|
||||||
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
%{py_requires}
|
%{py_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -49,7 +53,7 @@ provides itself as well as the features. SCons allows you to use the
|
|||||||
full power of Python to control compilation.
|
full power of Python to control compilation.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -a1
|
||||||
%patch0
|
%patch0
|
||||||
%patch1
|
%patch1
|
||||||
# fix libdir for qt
|
# fix libdir for qt
|
||||||
@ -60,23 +64,23 @@ patch -p0 <<EOF
|
|||||||
- QT_LIBPATH = os.path.join('\$QTDIR', 'lib'),
|
- QT_LIBPATH = os.path.join('\$QTDIR', 'lib'),
|
||||||
+ QT_LIBPATH = os.path.join('\$QTDIR', '%_lib'),
|
+ QT_LIBPATH = os.path.join('\$QTDIR', '%_lib'),
|
||||||
EOF
|
EOF
|
||||||
# copy user guide
|
|
||||||
cp %{SOURCE1} .
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
python setup.py build
|
python setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-lib=%{python_sitearch}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-lib=%{python_sitelib}
|
||||||
%fdupes %{buildroot}%{_bindir}
|
%fdupes %{buildroot}%{_bindir}
|
||||||
|
|
||||||
|
%check
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc CHANGES.txt LICENSE.txt README.txt RELEASE.txt scons-user.html
|
%doc CHANGES.txt LICENSE.txt README.txt RELEASE.txt scons-user.html
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{python_sitearch}/SCons/
|
%{python_sitelib}/SCons/
|
||||||
%{python_sitearch}/*.egg-info
|
%{python_sitelib}/*.egg-info
|
||||||
%{_mandir}/man1/*.gz
|
%{_mandir}/man1/*.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user