Hello community,

here is the log from the commit of package python3-backports.ssl_match_hostname 
for openSUSE:Factory checked in at 2016-08-18 09:17:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-backports.ssl_match_hostname (Old)
 and      /work/SRC/openSUSE:Factory/.python3-backports.ssl_match_hostname.new 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-backports.ssl_match_hostname"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python3-backports.ssl_match_hostname/python3-backports.ssl_match_hostname.changes
        2016-06-02 09:37:00.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python3-backports.ssl_match_hostname.new/python3-backports.ssl_match_hostname.changes
   2016-08-18 09:17:37.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Aug 15 14:51:56 UTC 2016 - toddrme2...@gmail.com
+
+- Fix update-alternatives implementation.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python3-backports.ssl_match_hostname.spec ++++++
--- /var/tmp/diff_new_pack.eolzFi/_old  2016-08-18 09:17:38.000000000 +0200
+++ /var/tmp/diff_new_pack.eolzFi/_new  2016-08-18 09:17:38.000000000 +0200
@@ -29,7 +29,7 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(preun): update-alternatives
 
 %description
 The Secure Sockets layer is only actually *secure*
@@ -51,17 +51,15 @@
 mkdir -p %{buildroot}%{_sysconfdir}/alternatives/
 mv %{buildroot}%{python3_sitelib}/backports/__init__.py 
%{buildroot}%{python3_sitelib}/backports/__init__ssl_match_hostname.py
 ln -s -f %{_sysconfdir}/alternatives/__init__.py 
%{buildroot}%{python3_sitelib}/backports/__init__.py
-# create a dummy target for /etc/alternatives/__init__.py
-touch %{buildroot}%{_sysconfdir}/alternatives/__init__.py
 rm -rf %{buildroot}%{python3_sitelib}/backports/__pycache__/
 
 %post
-"%_sbindir/update-alternatives" \
+%_sbindir/update-alternatives \
    --install %{python3_sitelib}/backports/__init__.py __init__.py 
%{python3_sitelib}/backports/__init__ssl_match_hostname.py 30
 
-%postun
+%preun
 if [ $1 -eq 0 ] ; then
-    "%_sbindir/update-alternatives" --remove __init__.py 
%{python3_sitelib}/backports/__init__ssl_match_hostname.py
+    %_sbindir/update-alternatives --remove __init__.py 
%{python3_sitelib}/backports/__init__ssl_match_hostname.py
 fi
 
 %files


Reply via email to