Hello community,

here is the log from the commit of package python-UkPostcodeParser for 
openSUSE:Factory checked in at 2019-02-27 15:08:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-UkPostcodeParser (Old)
 and      /work/SRC/openSUSE:Factory/.python-UkPostcodeParser.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-UkPostcodeParser"

Wed Feb 27 15:08:03 2019 rev:2 rq:679508 version:1.1.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-UkPostcodeParser/python-UkPostcodeParser.changes
  2019-02-24 17:14:40.364458329 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-UkPostcodeParser.new.28833/python-UkPostcodeParser.changes
       2019-02-27 15:08:06.398411248 +0100
@@ -1,0 +2,8 @@
+Mon Feb 18 00:42:49 UTC 2019 - John Vandenberg <[email protected]>
+
+- Activate tests, skipping five tests broken since at least 2017
+- Add missing runtime dependency on python-base
+- Remove tests from installed package
+- Add README
+
+-------------------------------------------------------------------
@@ -4,0 +13,8 @@
+  - notes upstream test failures
+  - Changed description
+  - Add %license
+
+-------------------------------------------------------------------
+Wed Sep  6 17:14:53 UTC 2017 - [email protected]
+
+- Initial spec for v1.1.2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-UkPostcodeParser.spec ++++++
--- /var/tmp/diff_new_pack.BhSpNi/_old  2019-02-27 15:08:07.554410896 +0100
+++ /var/tmp/diff_new_pack.BhSpNi/_new  2019-02-27 15:08:07.554410896 +0100
@@ -28,11 +28,12 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       python-base
 BuildArch:      noarch
 %python_subpackages
 
 %description
-United Kingdom Postcode parser
+United Kingdom Postcode parser.
 
 %prep
 %setup -q -n UkPostcodeParser-%{version}
@@ -42,12 +43,17 @@
 
 %install
 %python_install
+%python_expand rm -r %{buildroot}%{$python_sitelib}/ukpostcodeparser/test/
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%check
 # 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
+%python_exec setup.py test
 
 %files %{python_files}
 %license LICENSE
+%doc README
 %{python_sitelib}/*
 
 %changelog


Reply via email to