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