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
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/shortuuid
|
%python_clone -a %{buildroot}%{_bindir}/shortuuid
|
||||||
%{python_expand rm %{buildroot}%{$python_sitelib}/shortuuid/tests.py
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%fdupes %{buildroot}%{$python_sitelib}
|
|
||||||
}
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest shortuuid/tests.py
|
%pytest
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative shortuuid
|
%python_install_alternative shortuuid
|
||||||
|
Reference in New Issue
Block a user