Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package archmage for openSUSE:Factory 
checked in at 2021-02-19 23:44:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/archmage (Old)
 and      /work/SRC/openSUSE:Factory/.archmage.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "archmage"

Fri Feb 19 23:44:36 2021 rev:2 rq:873786 version:0.4.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/archmage/archmage.changes        2020-10-05 
19:36:07.485376019 +0200
+++ /work/SRC/openSUSE:Factory/.archmage.new.28504/archmage.changes     
2021-02-19 23:45:29.179376393 +0100
@@ -1,0 +2,5 @@
+Fri Feb 19 06:49:45 UTC 2021 - Martin Pluskal <[email protected]>
+
+- Switch to python singlespec
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ archmage.spec ++++++
--- /var/tmp/diff_new_pack.AgY7it/_old  2021-02-19 23:45:29.847377047 +0100
+++ /var/tmp/diff_new_pack.AgY7it/_new  2021-02-19 23:45:29.847377047 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package archmage
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -31,7 +31,14 @@
 Requires:       python3-pychm
 Requires:       python3-setuptools
 Requires:       python3-sgmllib3k
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
+%ifpython38
+Provides:       archmage = %{version}
+Obsoletes:      archmage < %{version}
+%endif
+%python_subpackages
 
 %description
 arCHMage is a reader and decompiler for files in the CHM format. This is
@@ -48,14 +55,21 @@
 %python_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}
 
-%files
+%post
+%python_install_alternative archmage
+
+%postun
+%python_uninstall_alternative archmage
+
+%files %{python_files}
 %license COPYING
 %doc AUTHORS NEWS README.md
-%{_bindir}/%{name}
-%{_mandir}/man1/%{name}.1%{?ext_man}
+%python_alternative %{_bindir}/archmage
+%python_alternative %{_mandir}/man1/archmage.1%{?ext_man}
 %{python_sitelib}/*
 
 %changelog

Reply via email to