Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package scons for openSUSE:Factory checked in at 2022-10-14 15:40:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/scons (Old) and /work/SRC/openSUSE:Factory/.scons.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "scons" Fri Oct 14 15:40:33 2022 rev:44 rq:1010193 version:4.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/scons/scons.changes 2020-04-22 20:45:09.606472224 +0200 +++ /work/SRC/openSUSE:Factory/.scons.new.2275/scons.changes 2022-10-14 15:41:16.307791408 +0200 @@ -1,0 +2,13 @@ +Mon Oct 10 19:57:09 UTC 2022 - Andreas Stieger <andreas.stie...@gmx.de> + +- SCons 4.4.0: + * new functionality, including updated compile tool support, + the ability to override the file modification timestamp for + zip files, using a custom hash function, updated ninja + support, experimental features via the --experimental flag + * many bugfixes, including improved shared library handling, + fixes for Fortan and many build tools +- drop scons-3.0.0-fix-install.patch in favour of spec construct +- switch to smaller tarball, simplifying spec file and build + +------------------------------------------------------------------- Old: ---- grep-filter-list.txt scons-3.0.0-fix-install.patch scons-src-3.1.2.tar.gz scons-user.html-3.1.2.tar.bz2 New: ---- SCons-4.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ scons.spec ++++++ --- /var/tmp/diff_new_pack.OGDNEe/_old 2022-10-14 15:41:16.787792209 +0200 +++ /var/tmp/diff_new_pack.OGDNEe/_new 2022-10-14 15:41:16.791792216 +0200 @@ -1,7 +1,7 @@ # # spec file for package scons # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,55 +16,20 @@ # -%define modname scons -%global flavor @BUILD_FLAVOR@%{nil} -%if "%{flavor}" == "test" -%define psuffix -test -%bcond_without test -%else -%define psuffix %{nil} -%bcond_with test -%endif -Name: scons%{psuffix} -Version: 3.1.2 +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define pythons python3 +Name: scons +Version: 4.4.0 Release: 0 Summary: Replacement for Make License: MIT Group: Development/Tools/Building URL: https://www.scons.org/ -Source0: http://prdownloads.sourceforge.net/scons/%{modname}-src-%{version}.tar.gz -#http://www.scons.org/doc/%%{version}/HTML/scons-user.html -Source1: scons-user.html-%{version}.tar.bz2 -# Adjust to exclude all failing tests -Source2: grep-filter-list.txt -# Local modification -Patch8: scons-3.0.0-fix-install.patch +Source: http://prdownloads.sourceforge.net/scons/SCons-%{version}.tar.gz +BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: grep -BuildRequires: python3-base >= 3.5 -BuildRequires: python3-lxml -BuildRequires: python3-setuptools -Requires: python3-base >= 3.5 -%if %{with test} -# texlive texlive-latex3 biber texmaker ghostscript -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: bison -# For tests -BuildRequires: clang -BuildRequires: docbook-xsl-pdf2index -BuildRequires: docbook5-xsl-stylesheets -BuildRequires: gcc-c++ -BuildRequires: git -BuildRequires: libtool -BuildRequires: libxml2-devel -BuildRequires: libxslt-devel -BuildRequires: libxslt-tools -BuildRequires: pcre-devel -BuildRequires: subversion -BuildRequires: swig -BuildRequires: xmlgraphics-fop -%endif +BuildRequires: python-rpm-macros +BuildArch: noarch %description SCons is a make replacement that provides a range of enhanced features, @@ -74,66 +39,25 @@ full power of Python to control compilation. %prep -%setup -q -n %{modname}-src-%{version} -a1 -%autopatch -p1 +%autosetup -p1 -n SCons-%{version} sed -i -e '/QT_LIBPATH = os.path.join.*QTDIR/s/lib/%{_lib}/' \ - src/engine/SCons/Tool/qt.py -sed -i 's|%{_bindir}/env python|%{_bindir}/python3|' src/script/* - -cp %{SOURCE2} grep-filter-list.txt -chmod -x src/CHANGES.txt README.rst src/RELEASE.txt - -# the test is marked skipped but fails; and all are windows based so -# we can safely ignore them -rm -r test/MSVC/ -rm -r test/MSVS/ -rm -r test/Win32/ -rm test/fixture/no_msvc/no_regs_sconstruct.py -rm test/fixture/no_msvc/no_msvcs_sconstruct.py -rm test/LEX/live_mingw.py -rm test/Decider/MD5-winonly-firstbuild.py + SCons/Tool/qt.py %build -python3 bootstrap.py build/scons -cd build/scons -%python3_build +%python_build %install -%if !%{with test} -cd build/scons -ls -lh build/lib -%python3_install \ - --standard-lib \ - --no-install-bat \ - --no-version-script \ - --install-scripts=%{_bindir} \ - --record installed_files.txt -%fdupes %{buildroot}%{python3_sitelib} -%endif - -%check -%if %{with test} -%ifnarch aarch64 armv7l ppc64 ppc64le s390x -TEMP_FILE=$(mktemp --tmpdir %{modname}-test.XXXXXX) -trap 'rm -f -- "$TEMP_FILE"' INT TERM HUP EXIT -find src/ test/ -name \*.py \ - | grep -F -v -f grep-filter-list.txt >$TEMP_FILE -python3 runtest.py -f $TEMP_FILE -%else -echo "Skiping tests on this architecture due to failures" -%endif -%endif +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +mkdir -p %{buildroot}%{_mandir}/man1 +mv -v %{buildroot}%{_prefix}/*.1 %{buildroot}%{_mandir}/man1 -%if !%{with test} %files %license LICENSE -%doc src/CHANGES.txt README.rst src/RELEASE.txt -%doc scons-user.html %{_bindir}/* -%{python3_sitelib}/SCons -%{python3_sitelib}/%{modname}*.egg-info -%{_mandir}/man1/*%{ext_man} -%endif +%{python_sitelib}/SCons +%{python_sitelib}/SCons-%{version}-py*.egg-info +%{_mandir}/man1/*.1%{?ext_man} %changelog