diff --git a/python-urlgrabber.changes b/python-urlgrabber.changes index a776a74..0882313 100644 --- a/python-urlgrabber.changes +++ b/python-urlgrabber.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 3 08:07:59 UTC 2023 - Matej Cepl + +- Clean up SPEC file + ------------------------------------------------------------------- Wed Mar 1 16:29:38 UTC 2023 - Pablo Suárez Hernández diff --git a/python-urlgrabber.spec b/python-urlgrabber.spec index 9d7fa85..4982116 100644 --- a/python-urlgrabber.spec +++ b/python-urlgrabber.spec @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define modname urlgrabber Name: python-urlgrabber Version: 4.1.0 @@ -26,13 +25,13 @@ License: LGPL-2.1-only Group: Development/Libraries/Python URL: https://github.com/rpm-software-management/urlgrabber Source: https://github.com/rpm-software-management/%{modname}/releases/download/%{modname}-4-1-0/%{modname}-%{version}.tar.gz -# PATCH-FIX_UPSTREAM https://github.com/rpm-software-management/urlgrabber/pull/32 +# PATCH-FIX_UPSTREAM gh#rpm-software-management/urlgrabber!32 Patch0: use-binary-mode-when-reopening-files.patch -# PATCH-FIX_UPSTREAM https://github.com/rpm-software-management/urlgrabber/pull/35 +# PATCH-FIX_UPSTREAM gh#rpm-software-management/urlgrabber!35 Patch1: fix_find_proxy_logic_and_drop_six.patch -# PATCH-FIX_UPSTREAM https://github.com/rpm-software-management/urlgrabber/pull/34 +# PATCH-FIX_UPSTREAM gh#rpm-software-management/urlgrabber!34 Patch2: avoid_crashing_when_urlgrabber_debug_enabled.patch -# PATCH-FIX_UPSTREAM https://github.com/rpm-software-management/urlgrabber/pull/37 +# PATCH-FIX_UPSTREAM gh#rpm-software-management/urlgrabber!37 Patch3: fix-urlgrab-file-schema-comparison.patch BuildRequires: %{python_module pycurl} @@ -76,12 +75,16 @@ rm -rf %{buildroot}%{_datadir}/doc/urlgrabber-%{version} # Remove wrongly instal %postun %python_uninstall_alternative urlgrabber +if [ ! -f %{_libexecdir}/urlgrabber-ext-down ] ; then + update-alternatives --remove urlgrabber-ext-down %{_libexecdir}/urlgrabber-ext-down +fi %files %{python_files} %license LICENSE %doc ChangeLog README TODO %python_alternative %{_bindir}/urlgrabber %python_alternative %{_libexecdir}/urlgrabber-ext-down -%{python_sitelib}/* +%{python_sitelib}/urlgrabber +%{python_sitelib}/urlgrabber-%{version}*-info %changelog