Updating link to change in openSUSE:Factory/python-distro revision 19

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distro?expand=0&rev=f9efd26bb1186e05f873d1c6332e6513
This commit is contained in:
OBS User buildservice-autocommit 2023-09-22 19:46:54 +00:00 committed by Git OBS Bridge
parent 2734197911
commit 01819610e6
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 18 16:28:25 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- Remove duplicate files calling %fdupes
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 5 12:16:53 UTC 2023 - Johannes Kastl <kastl@b1-systems.de> Fri May 5 12:16:53 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>

View File

@ -30,6 +30,7 @@ Source: https://files.pythonhosted.org/packages/source/d/distro/distro-%
Patch0: assert_locale.patch Patch0: assert_locale.patch
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun):update-alternatives Requires(postun):update-alternatives
@ -58,6 +59,7 @@ sed -i '1{/\/usr\/bin\/env python/d;}' src/distro/distro.py
%install %install
%pyproject_install %pyproject_install
%python_clone -a %{buildroot}%{_bindir}/distro %python_clone -a %{buildroot}%{_bindir}/distro
%python_expand %fdupes %{buildroot}%{$python_sitelib}/distro
%if %{with test} %if %{with test}
%check %check
@ -74,7 +76,8 @@ export LANG=C.UTF-8
%files %{python_files} %files %{python_files}
%doc CHANGELOG.md README.md %doc CHANGELOG.md README.md
%python_alternative %{_bindir}/distro %python_alternative %{_bindir}/distro
%{python_sitelib}/* %{python_sitelib}/distro
%{python_sitelib}/distro-%{version}*-info
%%license LICENSE %%license LICENSE
%changelog %changelog