forked from pool/python-python-gammu
Accepting request 895927 from home:pgajdos:python
- %check: use %pyunittest rpm macro OBS-URL: https://build.opensuse.org/request/show/895927 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gammu?expand=0&rev=23
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 28 09:08:37 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- %check: use %pyunittest rpm macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 25 16:29:50 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-python-gammu
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -55,7 +55,8 @@ export CFLAGS="%{optflags}"
|
||||
# Need to limit tests due to brekage of libdbi
|
||||
rm test/test_smsd.py
|
||||
export LANG=en_US.UTF-8
|
||||
%python_expand $python setup.py test -s test.test_dummy
|
||||
mv gammu gammu.hide
|
||||
%pyunittest_arch discover -v
|
||||
|
||||
%files %{python_files}
|
||||
%license COPYING
|
||||
|
Reference in New Issue
Block a user