Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-urlgrabber for
openSUSE:Factory checked in at 2021-10-11 15:31:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-urlgrabber (Old)
and /work/SRC/openSUSE:Factory/.python-urlgrabber.new.2443 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-urlgrabber"
Mon Oct 11 15:31:17 2021 rev:27 rq:924236 version:4.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-urlgrabber/python-urlgrabber.changes
2020-05-20 18:46:47.817462221 +0200
+++
/work/SRC/openSUSE:Factory/.python-urlgrabber.new.2443/python-urlgrabber.changes
2021-10-11 15:32:12.694902138 +0200
@@ -1,0 +2,5 @@
+Fri Oct 8 12:49:46 UTC 2021 - Matej Cepl <[email protected]>
+
+- Make independent of the actual value of %%{_libexecdir} macro.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-urlgrabber.spec ++++++
--- /var/tmp/diff_new_pack.NOFvb8/_old 2021-10-11 15:32:13.130902837 +0200
+++ /var/tmp/diff_new_pack.NOFvb8/_new 2021-10-11 15:32:13.134902843 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-urlgrabber
#
-# 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
@@ -18,8 +18,6 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define modname urlgrabber
-# package expects urlgrabber-ext-down in /usr/libexec
-%define _libexecdir /usr/libexec
Name: python-urlgrabber
Version: 4.1.0
Release: 0
@@ -36,7 +34,7 @@
Requires: python-pycurl
Requires: python-six
Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
BuildArch: noarch
%python_subpackages
@@ -50,6 +48,10 @@
# Remove with next release
sed -i "13d" urlgrabber/__init__.py # Remove wrong license header, fixes
bnc#781323
+# Fix location of %%{_libexecdir}
+sed -i 's!/usr/libexec!%{_libexecdir}!' urlgrabber/grabber.py
+sed -i "s!libexec!$(echo %{_libexecdir}|cut -d/ -f 3)!" setup.py
+
%build
%python_build