forked from pool/python-pytils
Accepting request 895943 from home:pgajdos:python
- %check: use %pyunittest rpm macro OBS-URL: https://build.opensuse.org/request/show/895943 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytils?expand=0&rev=6
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 28 09:51:17 UTC 2021 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- %check: use %pyunittest rpm macro
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 22 17:25:24 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
Thu Nov 22 17:25:24 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pytils
|
# spec file for package python-pytils
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -47,7 +47,9 @@ transliteration, etc.)
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec setup.py test
|
# requires django, it is skipped in pytils/test/__init__.py
|
||||||
|
rm -r pytils/test/templatetags
|
||||||
|
%pyunittest discover -v
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Reference in New Issue
Block a user