Hello community, here is the log from the commit of package subunit for openSUSE:Factory checked in at 2019-04-10 23:09:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/subunit (Old) and /work/SRC/openSUSE:Factory/.subunit.new.27019 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "subunit" Wed Apr 10 23:09:10 2019 rev:2 rq:692028 version:1.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/subunit/subunit.changes 2019-03-28 22:48:16.275059256 +0100 +++ /work/SRC/openSUSE:Factory/.subunit.new.27019/subunit.changes 2019-04-10 23:09:12.283838206 +0200 @@ -1,0 +2,5 @@ +Sat Apr 6 16:11:02 UTC 2019 - Dirk Mueller <[email protected]> + +- fix build for older distros by adding the singlespec macros + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ subunit.spec ++++++ --- /var/tmp/diff_new_pack.JUjepq/_old 2019-04-10 23:09:13.167839210 +0200 +++ /var/tmp/diff_new_pack.JUjepq/_new 2019-04-10 23:09:13.167839210 +0200 @@ -18,6 +18,7 @@ # %%global majver %%(cut -d. -f-2 <<< %%{version}) %global majver 1.3 +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: subunit Version: 1.3.0 Release: 0 @@ -33,14 +34,6 @@ Patch1: %{name}-decode-binary-to-unicode.patch # WIP to be investigated upstream gh#testing-cabal/subunit#32 Patch2: remove-unittest2.patch -BuildRequires: cppunit-devel -BuildRequires: fdupes -BuildRequires: gcc-c++ -BuildRequires: check-devel -BuildRequires: libtool -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: pkgconfig -BuildRequires: python-rpm-macros BuildRequires: %{python_module docutils} BuildRequires: %{python_module extras} BuildRequires: %{python_module fixtures} @@ -49,6 +42,14 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module testscenarios} BuildRequires: %{python_module testtools >= 1.8.0} +BuildRequires: check-devel +BuildRequires: cppunit-devel +BuildRequires: fdupes +BuildRequires: gcc-c++ +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: python-rpm-macros +BuildRequires: perl(ExtUtils::MakeMaker) %description Subunit C bindings. See the python-subunit package for test processing @@ -116,6 +117,7 @@ Requires: python2-iso8601 Requires: python2-testtools >= 1.8.0 Obsoletes: python2-python-subunit < %{version} +Provides: python-python-subunit = %{version} Provides: python2-python-subunit = %{version} BuildArch: noarch @@ -249,7 +251,6 @@ %fdupes %{buildroot}%{$python_sitelib} } - # NON-PYTHON STUFF # We set pkgpython_PYTHON for efficiency to disable automake python compilation %make_install pkgpython_PYTHON='' INSTALL="%{_bindir}/install -p" @@ -278,7 +279,6 @@ touch -r $fil %{buildroot}%{_bindir}/$(basename $fil) done - %check %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} PYTHON=%{$python} make %{?_smp_mflags} check
