Hello community,
here is the log from the commit of package python-check-manifest for
openSUSE:Factory checked in at 2020-05-02 22:15:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-check-manifest (Old)
and /work/SRC/openSUSE:Factory/.python-check-manifest.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-check-manifest"
Sat May 2 22:15:56 2020 rev:7 rq:799507 version:0.40
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-check-manifest/python-check-manifest.changes
2020-04-15 20:07:42.766154841 +0200
+++
/work/SRC/openSUSE:Factory/.python-check-manifest.new.2738/python-check-manifest.changes
2020-05-02 22:16:07.468383587 +0200
@@ -1,0 +2,5 @@
+Fri May 1 12:09:52 UTC 2020 - Matej Cepl <[email protected]>
+
+- Switch to multibuild and remove Suggests for bzr.
+
+-------------------------------------------------------------------
New:
----
_multibuild
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-check-manifest.spec ++++++
--- /var/tmp/diff_new_pack.RzXENV/_old 2020-05-02 22:16:08.720386210 +0200
+++ /var/tmp/diff_new_pack.RzXENV/_new 2020-05-02 22:16:08.720386210 +0200
@@ -16,8 +16,16 @@
#
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+Name: python-check-manifest%{psuffix}
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-Name: python-check-manifest
Version: 0.40
Release: 0
Summary: Tool to check Python source package MANIFEST.in for
completeness
@@ -30,13 +38,14 @@
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module toml}
BuildRequires: fdupes
+BuildRequires: python-rpm-macros
+%if %{with test}
BuildRequires: git-core
BuildRequires: mercurial
-BuildRequires: python-rpm-macros
BuildRequires: subversion
+%endif
Requires: python-setuptools
Requires: python-toml
-Suggests: bzr
Suggests: git-core
Suggests: mercurial
Suggests: subversion
@@ -56,17 +65,23 @@
%python_build
%install
+%if !%{with test}
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
%check
+%if %{with test}
export LANG=en_US.UTF-8
%pytest
+%endif
+%if !%{with test}
%files %{python_files}
%doc CHANGES.rst README.rst
%license LICENSE.rst
%python3_only %{_bindir}/check-manifest
%{python_sitelib}/*
+%endif
%changelog
++++++ _multibuild ++++++
<multibuild>
<package>test</package>
</multibuild>