Hello community,
here is the log from the commit of package subunit for openSUSE:Factory checked in at 2019-04-18 09:55:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/subunit (Old)
and /work/SRC/openSUSE:Factory/.subunit.new.17052 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "subunit"
Thu Apr 18 09:55:56 2019 rev:3 rq:694864 version:1.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/subunit/subunit.changes 2019-04-10 23:09:12.283838206 +0200
+++ /work/SRC/openSUSE:Factory/.subunit.new.17052/subunit.changes 2019-04-18 09:55:58.881324561 +0200
@@ -1,0 +2,30 @@
+Tue Apr 16 20:31:02 UTC 2019 - Dirk Mueller
+
+- fix dependency for subunit-filters
+
+-------------------------------------------------------------------
+Wed Apr 10 09:05:37 UTC 2019 - Dirk Mueller
+
+- fix package naming of the python subpackages to follow
+ packaging policy
+
+-------------------------------------------------------------------
+Mon Apr 8 10:23:27 UTC 2019 - Dirk Mueller
+
+- add explicit unittest2 buildrequires
+
+-------------------------------------------------------------------
+Sat Apr 6 18:50:11 UTC 2019 - Dirk Mueller
+
+- add obsoletes
+
+-------------------------------------------------------------------
+Sat Apr 6 18:03:47 UTC 2019 - Dirk Mueller
+
+- drop subunit-unbundle-iso8601.patch: there is no room for fedora
+ specific patches in opensuse and the iso8601 pypi module is completely
+ incompatible with that this version, so nothing works
+- remove-unittest2.patch, subunit-decode-binary-to-unicode.patch
+ needed to get it back to a working state
+
+-------------------------------------------------------------------
Old:
----
remove-unittest2.patch
subunit-decode-binary-to-unicode.patch
subunit-unbundle-iso8601.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ subunit.spec ++++++
--- /var/tmp/diff_new_pack.yuMgM8/_old 2019-04-18 09:55:59.553324984 +0200
+++ /var/tmp/diff_new_pack.yuMgM8/_new 2019-04-18 09:55:59.557324986 +0200
@@ -28,12 +28,6 @@
URL: https://github.com/testing-cabal/subunit
Source0: https://github.com/testing-cabal/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source99: subunit-rpmlintrc
-# Fedora-specific patch: remove the bundled copy of python-iso8601.
-Patch0: %{name}-unbundle-iso8601.patch
-# Merged upsteam: gh#testing-cabal/subunit#10
-Patch1: %{name}-decode-binary-to-unicode.patch
-# WIP to be investigated upstream gh#testing-cabal/subunit#32
-Patch2: remove-unittest2.patch
BuildRequires: %{python_module docutils}
BuildRequires: %{python_module extras}
BuildRequires: %{python_module fixtures}
@@ -42,6 +36,7 @@
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module testscenarios}
BuildRequires: %{python_module testtools >= 1.8.0}
+BuildRequires: %{python_module unittest2}
BuildRequires: check-devel
BuildRequires: cppunit-devel
BuildRequires: fdupes
@@ -97,7 +92,7 @@
BuildArch: noarch
%description -n perl-subunit
-Subunit Perl bindings. See the python-subunit package for test
+Subunit Perl bindings. See the python3-python-subunit package for test
processing functionality.
%package shell
@@ -106,22 +101,19 @@
BuildArch: noarch
%description shell
-Subunit shell bindings. See the python-subunit package for test
+Subunit shell bindings. See the python3-python-subunit package for test
processing functionality.
-%package -n python2-%{name}
-%{?python_provide:%python_provide python2-%{name}}
+%package -n python2-python-%{name}
Summary: Streaming protocol for test results
Group: Development/Libraries/Python
Requires: python2-extras
-Requires: python2-iso8601
Requires: python2-testtools >= 1.8.0
-Obsoletes: python2-python-subunit < %{version}
-Provides: python-python-subunit = %{version}
-Provides: python2-python-subunit = %{version}
+Provides: python-python-subunit = %{version}-%{release}
+Obsoletes: python-python-subunit < %{version}-%{release}
BuildArch: noarch
-%description -n python2-%{name}
+%description -n python2-python-%{name}
Subunit is a streaming protocol for test results. The protocol is a
binary encoding that is generated and parsed. By design, all the
components of the protocol conceptually fit into the xUnit TestCase ->
@@ -143,18 +135,14 @@
deserialization to get test runs on distributed machines to be
reported in real time.
-%package -n python3-%{name}
-%{?python_provide:%python_provide python3-%{name}}
+%package -n python3-python-%{name}
Summary: Streaming protocol for test results
Group: Development/Libraries/Python
Requires: python3-extras
-Requires: python3-iso8601
Requires: python3-testtools >= 1.8.0
-Obsoletes: python3-python-subunit < %{version}
-Provides: python3-python-subunit = %{version}
BuildArch: noarch
-%description -n python3-%{name}
+%description -n python3-python-%{name}
Subunit is a streaming protocol for test results. The protocol is a
binary encoding that is generated and parsed. By design, all the
components of the protocol conceptually fit into the xUnit TestCase ->
@@ -180,8 +168,8 @@
Summary: Command line filters for processing subunit streams
Group: Development/Tools/Other
Requires: pygtk2
-Requires: python2-%{name} = %{version}-%{release}
Requires: python2-junitxml
+Requires: python2-python-%{name} = %{version}-%{release}
BuildArch: noarch
%description filters
@@ -218,9 +206,6 @@
fixtimestamp $fil
done
-# Replace bundled code with a symlink
-ln -f -s %{python2_sitelib}/iso8601/iso8601.py python/subunit/iso8601.py
-
%build
# Generate the configure script
autoreconf -fvi
@@ -238,14 +223,6 @@
%{python_expand chmod 0755 %{buildroot}%{$python_sitelib}/%{name}/run.py
-# Replace bundled code with a symlink again
-ln -f -s %{$python_sitelib}/iso8601/iso8601.py \
- %{buildroot}%{$python_sitelib}/subunit/iso8601.py
-$python -m compileall -d %{$python_sitelib} \
- %{buildroot}%{$python_sitelib}/subunit/iso8601.py
-$python -O -m compileall -d %{$python_sitelib} \
- %{buildroot}%{$python_sitelib}/subunit/iso8601.py
-
# Eliminate duplicates
rm -fr %{buildroot}%{$python_sitelib}/subunit/tests
%fdupes %{buildroot}%{$python_sitelib}
@@ -324,12 +301,12 @@
%license Apache-2.0 BSD COPYING
%config(noreplace) %{_sysconfdir}/profile.d/%{name}.sh
-%files -n python2-%{name}
+%files -n python2-python-%{name}
%license Apache-2.0 BSD COPYING
%{python2_sitelib}/%{name}/
%{python2_sitelib}/python_%{name}-%{version}-*.egg-info
-%files -n python3-%{name}
+%files -n python3-python-%{name}
%license Apache-2.0 BSD COPYING
%{python3_sitelib}/%{name}/
%{python3_sitelib}/python_%{name}-%{version}-*.egg-info