Hello community,
here is the log from the commit of package scons for openSUSE:Factory checked in at 2019-04-01 12:32:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/scons (Old)
and /work/SRC/openSUSE:Factory/.scons.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "scons"
Mon Apr 1 12:32:40 2019 rev:40 rq:688672 version:3.0.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/scons/scons.changes 2019-02-04 21:23:23.127625459 +0100
+++ /work/SRC/openSUSE:Factory/.scons.new.25356/scons.changes 2019-04-01 12:32:49.829789878 +0200
@@ -1,0 +2,23 @@
+Tue Mar 26 11:24:14 UTC 2019 - Tomáš Chvátal
+
+- Sort out the bcond_with/without for the multibuild to work
+ properly
+
+-------------------------------------------------------------------
+Mon Mar 25 09:32:57 UTC 2019 - Tomáš Chvátal
+
+- Fix the testsuite pass to keep working
+- Use regular python macros
+- Use fdupes
+
+-------------------------------------------------------------------
+Fri Mar 1 19:44:24 UTC 2019 - Andreas Stieger
+
+- scons 3.0.4:
+ * Add TEMPFILESUFFIX to allow a customizable filename extension
+ * Update TempFileMunge class to use PRINT_CMD_LINE_FUNC
+ * Enhance cpp scanner regex logic to detect if/elif expressions
+ without whitespaces but parenthesis like "#if(defined FOO)" or
+ "#elif!(BAR)" correctly.
+
+-------------------------------------------------------------------
Old:
----
3.0.3.tar.gz
scons-user.html-3.0.3.tar.bz2
New:
----
3.0.4.tar.gz
scons-user.html-3.0.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ scons.spec ++++++
--- /var/tmp/diff_new_pack.GWWiUC/_old 2019-04-01 12:32:50.657790090 +0200
+++ /var/tmp/diff_new_pack.GWWiUC/_new 2019-04-01 12:32:50.657790090 +0200
@@ -17,24 +17,16 @@
%define modname scons
-
%global flavor @BUILD_FLAVOR@%{nil}
-%bcond_with test
-
-# Tests on non-Intel archs have too many failing tests
-# https://pairlist4.pair.net/pipermail/scons-users/2018-October/007311.html
-%ifnarch aarch64 armv7l ppc64 ppc64le s390x
%if "%{flavor}" == "test"
+%define psuffix -test
%bcond_without test
-%endif
-%endif
-
-%if %{with test}
-Name: %{modname}-%{flavor}
%else
-Name: %{modname}
+%define psuffix %{nil}
+%bcond_with test
%endif
-Version: 3.0.3
+Name: scons%{psuffix}
+Version: 3.0.4
Release: 0
Summary: Replacement for Make
License: MIT
@@ -47,30 +39,31 @@
Source2: grep-filter-list.txt
# Local modification
Patch8: scons-3.0.0-fix-install.patch
+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: xmlgraphics-fop
-# texlive texlive-latex3 biber texmaker ghostscript
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: bison
-BuildRequires: git
-BuildRequires: libtool
BuildRequires: pcre-devel
BuildRequires: subversion
BuildRequires: swig
+BuildRequires: xmlgraphics-fop
%endif
%description
@@ -89,31 +82,40 @@
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
+rm test/MSVS/vs-14.1-exec.py
%build
python3 bootstrap.py build/scons
cd build/scons
-%py3_build
+%python3_build
%install
%if !%{with test}
cd build/scons
ls -lh build/lib
-%py3_install \
+%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
%files
++++++ 3.0.3.tar.gz -> 3.0.4.tar.gz ++++++
++++ 2575 lines of diff (skipped)
++++++ scons-user.html-3.0.3.tar.bz2 -> scons-user.html-3.0.4.tar.bz2 ++++++
++++ 21600 lines of diff (skipped)