Hello community,

here is the log from the commit of package python-ExifRead for openSUSE:Factory 
checked in at 2020-05-28 09:17:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ExifRead (Old)
 and      /work/SRC/openSUSE:Factory/.python-ExifRead.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ExifRead"

Thu May 28 09:17:32 2020 rev:2 rq:809389 version:2.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ExifRead/python-ExifRead.changes  
2019-05-06 13:25:31.833065643 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-ExifRead.new.3606/python-ExifRead.changes    
    2020-05-28 09:17:32.536995284 +0200
@@ -1,0 +2,5 @@
+Tue May 26 06:34:09 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-ExifRead.spec ++++++
--- /var/tmp/diff_new_pack.vEdogI/_old  2020-05-28 09:17:33.308997106 +0200
+++ /var/tmp/diff_new_pack.vEdogI/_new  2020-05-28 09:17:33.316997125 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-ExifRead
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,6 +30,8 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -45,6 +47,7 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/EXIF.py
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -53,11 +56,17 @@
 find exif-samples-master -name "*.tiff" -o -name "*.jpg" -exec $python 
%{buildroot}%{_bindir}/EXIF.py -dc {} \;
 }
 
+%post
+%python_install_alternative EXIF.py
+
+%postun
+%python_uninstall_alternative EXIF.py
+
 %files %{python_files}
 %license LICENSE.txt
 %doc README.rst ChangeLog.rst
 %{python_sitelib}/exifread/
 %{python_sitelib}/ExifRead-%{version}-py*.egg-info
-%python3_only %{_bindir}/EXIF.py
+%python_alternative %{_bindir}/EXIF.py
 
 %changelog


Reply via email to