Accepting request 929853 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/929853
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-UkPostcodeParser?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2021-11-09 22:53:58 +00:00 committed by Git OBS Bridge
commit e1405872fe
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 3 11:34:19 UTC 2021 - pgajdos@suse.com
- %check: use %pyunittest rpm macro
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 18 00:42:49 UTC 2019 - John Vandenberg <jayvdb@gmail.com> Mon Feb 18 00:42:49 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-UkPostcodeParser # spec file for package python-UkPostcodeParser
# #
# Copyright (c) 2019 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
@ -49,7 +49,7 @@ United Kingdom Postcode parser.
%check %check
# no tests as it is ko for 2 years https://github.com/hamstah/ukpostcodeparser/issues/8 # no tests as it is ko for 2 years https://github.com/hamstah/ukpostcodeparser/issues/8
sed -i 's/test_\(091\|097\|098\|125\|131\)/_test_\1/' ukpostcodeparser/test/parser.py sed -i 's/test_\(091\|097\|098\|125\|131\)/_test_\1/' ukpostcodeparser/test/parser.py
%python_exec setup.py test %pyunittest ukpostcodeparser.test.parser
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE