diff --git a/python-UkPostcodeParser.changes b/python-UkPostcodeParser.changes index c4bf8c4..dcfa354 100644 --- a/python-UkPostcodeParser.changes +++ b/python-UkPostcodeParser.changes @@ -1,4 +1,20 @@ +------------------------------------------------------------------- +Mon Feb 18 00:42:49 UTC 2019 - John Vandenberg + +- Activate tests, skipping five tests broken since at least 2017 +- Add missing runtime dependency on python-base +- Remove tests from installed package +- Add README + ------------------------------------------------------------------- Thu Feb 14 14:52:12 UTC 2019 - Tomáš Chvátal - Initial commit, needed by python-Faker + - notes upstream test failures + - Changed description + - Add %license + +------------------------------------------------------------------- +Wed Sep 6 17:14:53 UTC 2017 - toddrme2178@gmail.com + +- Initial spec for v1.1.2 diff --git a/python-UkPostcodeParser.spec b/python-UkPostcodeParser.spec index e2e869c..29e0504 100644 --- a/python-UkPostcodeParser.spec +++ b/python-UkPostcodeParser.spec @@ -28,11 +28,12 @@ Source: https://files.pythonhosted.org/packages/source/U/UkPostcodeParse 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 @@ United Kingdom Postcode parser %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