forked from pool/python-shortuuid
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-shortuuid?expand=0&rev=13
This commit is contained in:
@@ -50,12 +50,10 @@ similar-looking letters and numbers.
|
||||
%install
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/shortuuid
|
||||
%{python_expand rm %{buildroot}%{$python_sitelib}/shortuuid/tests.py
|
||||
%fdupes %{buildroot}%{$python_sitelib}
|
||||
}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest shortuuid/tests.py
|
||||
%pytest
|
||||
|
||||
%post
|
||||
%python_install_alternative shortuuid
|
||||
|
Reference in New Issue
Block a user