Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package archmage for openSUSE:Factory 
checked in at 2023-05-16 14:16:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/archmage (Old)
 and      /work/SRC/openSUSE:Factory/.archmage.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "archmage"

Tue May 16 14:16:43 2023 rev:3 rq:1087322 version:0.4.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/archmage/archmage.changes        2021-02-19 
23:45:29.179376393 +0100
+++ /work/SRC/openSUSE:Factory/.archmage.new.1533/archmage.changes      
2023-05-16 14:28:05.471970063 +0200
@@ -1,0 +2,7 @@
+Mon May 15 12:50:50 UTC 2023 - Matej Cepl <mc...@suse.com>
+
+- Clean up the SPEC file and correct incorrect Requires (fix
+  bsc#1210547).
+- Make tests working.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ archmage.spec ++++++
--- /var/tmp/diff_new_pack.zmzuke/_old  2023-05-16 14:28:05.899972510 +0200
+++ /var/tmp/diff_new_pack.zmzuke/_new  2023-05-16 14:28:05.907972556 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package archmage
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,16 +24,22 @@
 Group:          Productivity/Archiving/Compression
 URL:            https://github.com/dottedmag/archmage
 Source:         
https://github.com/dottedmag/archmage/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python3-beautifulsoup4
-Requires:       python3-pychm
-Requires:       python3-setuptools
-Requires:       python3-sgmllib3k
+Requires:       python-beautifulsoup4
+Requires:       python-pychm
+Requires:       python-sgmllib3k
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
 BuildArch:      noarch
+# SECTION test requirements
+BuildRequires:  %{python_module beautifulsoup4}
+BuildRequires:  %{python_module pychm}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module sgmllib3k}
+# /SECTION
 %ifpython38
 Provides:       archmage = %{version}
 Obsoletes:      archmage < %{version}
@@ -49,16 +55,19 @@
 
 %build
 echo %{version} > RELEASE-VERSION
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 install -Dpm 0644 %{name}.1 \
   %{buildroot}%{_mandir}/man1/%{name}.1
 %python_clone -a %{buildroot}%{_bindir}/archmage
 %python_clone -a %{buildroot}%{_mandir}/man1/archmage.1
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%check
+%pytest
+
 %post
 %python_install_alternative archmage
 
@@ -70,6 +79,7 @@
 %doc AUTHORS NEWS README.md
 %python_alternative %{_bindir}/archmage
 %python_alternative %{_mandir}/man1/archmage.1%{?ext_man}
-%{python_sitelib}/*
+%{python_sitelib}/archmage
+%{python_sitelib}/archmage-%{version}*-info
 
 %changelog

Reply via email to