Hello community, here is the log from the commit of package scons for openSUSE:Factory checked in at 2011-10-27 13:52:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/scons (Old) and /work/SRC/openSUSE:Factory/.scons.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "scons", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/scons/scons.changes 2011-09-23 12:45:47.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.scons.new/scons.changes 2011-10-27 14:00:17.000000000 +0200 @@ -1,0 +2,50 @@ +Tue Oct 11 22:52:27 UTC 2011 - [email protected] + + +- SCons 2.1.0 requires py_abi > 2.4 +- Potential build fix for SLE11, SLE11_SP1 + + add python_sitearch/python_sitelib macros for <= 1120 + + improved source URL + + add comment for patch +- Add scons-rpmlintrc: source-or-patch-not-bzipped, + python-naming-policy-not-applied + +------------------------------------------------------------------- +Tue Oct 11 16:05:12 UTC 2011 - [email protected] + +- Update to 2.1.0: + + Fix Windows resource compiler scanner to accept DOS line + endings. + + Update MSVS documents to remove note indicating that only one + project is currently supported per solution file. + + Fix long compile lines in batch mode by using TEMPFILE + + Fix MSVC_BATCH=False (was treating it as true) + + support -std=c++0x and related CXXFLAGS in pkgconfig + (ParseFlags) + + Support -dylib_file in pkgconfig (ParseFlags) + + new construction variable WINDOWS_EMBED_MANIFEST to + automatically embed manifests in Windows EXEs and DLLs. + + Fix Visual Studio project generation when CPPPATH contains Dir nodes + + Ensure Visual Studio project is regenerated when CPPPATH or + CPPDEFINES change + + Fix unicode error when using non-ASCII filenames with Copy or + Install + + Put RPATH in LINKCOM rather than LINKFLAGS so resetting + LINKFLAGS doesn't kill RPATH + + Fix precompiled headers on Windows when variant dir name has + spaces. + + Adding None to an Action no longer fails (just returns original + action) + + New --debug=prepare option to show each target as it's being + prepared, whether or not anything needs to be done for it. + + New debug option --debug=duplicate to print a line for each + unlink/relink (or copy) of a variant file from its source + file. + + Improve error message for EnumVariables to show legal values. + + Fix Intel compiler to sort versions >9 correctly (esp. on + Linux) + + Fix Install() when the source and target are directories and + the target directory exists. + + Many more, please see ChangeLog/Changes. + +------------------------------------------------------------------- Old: ---- scons-1.2.0.d20100117.tar.bz2 New: ---- scons-2.1.0.tar.gz scons-rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ scons.spec ++++++ --- /var/tmp/diff_new_pack.stOQm0/_old 2011-10-27 14:00:20.000000000 +0200 +++ /var/tmp/diff_new_pack.stOQm0/_new 2011-10-27 14:00:20.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package scons (Version 1.2.0) +# spec file for package scons # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,22 +15,29 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild +# 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))")} +%endif Name: scons Summary: Replacement for Make -Version: 1.2.0 -Release: 2 -%define fullversion %{version}.d20100117 -Source0: %{name}-%{fullversion}.tar.bz2 +Version: 2.1.0 +Release: 1 +Source0: http://freefr.dl.sourceforge.net/project/scons/scons/%{version}/%{name}-%{version}.tar.gz Source1: scons-user.html -Patch0: %{name}-%{version}-fix-install.patch -Patch1: %{name}-%{version}-noenv.patch +# rpmlintrc +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 License: MIT Group: Development/Tools/Building Url: http://www.scons.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: fdupes BuildRequires: python-devel %{py_requires} @@ -41,21 +48,8 @@ provides itself as well as the features. SCons allows you to use the full power of Python to control compilation. - - -Authors: --------- - Steven Knight <[email protected]> - Chad Austin - Charles Crain - Steve Leblanc - Gary Oberbrunner - Anthony Roach - Greg Spencer - Christoph Wiedemann - %prep -%setup -q -n %{name}-%{fullversion} +%setup -q %patch0 %patch1 # fix libdir for qt @@ -74,21 +68,15 @@ python setup.py build %install -python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --install-lib=%{py_sitedir} --record-rpm=INSTALLED_FILES -# fix duplicates in bindir -ln -sf scons $RPM_BUILD_ROOT%{_bindir}/scons-%{fullversion} -ln -sf scons-time $RPM_BUILD_ROOT%{_bindir}/scons-time-%{fullversion} -ln -sf sconsign $RPM_BUILD_ROOT%{_bindir}/sconsign-%{fullversion} -# fix manpages -for prg in scons scons-time sconsign; do - sed -i "s@%{_mandir}/man1/$prg.1@%{_mandir}/man1/$prg.1.gz@" INSTALLED_FILES -done - -%clean -rm -rf $RPM_BUILD_ROOT +python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-lib=%{py_sitedir} +%fdupes %{buildroot}%{_bindir} -%files -f INSTALLED_FILES +%files %defattr(-,root,root) %doc CHANGES.txt LICENSE.txt README.txt RELEASE.txt scons-user.html +%{_bindir}/* +%{python_sitearch}/SCons/ +%{python_sitearch}/*.egg-info +%{_mandir}/man1/*.gz %changelog ++++++ scons-rpmlintrc ++++++ # Source URL pointed to upstream release, tar.gz addFilter("W: source-or-patch-not-bzipped") # It's not really an extension/module (is it?) addFilter("W: python-naming-policy-not-applied") -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
