diff --git a/python-bashate.changes b/python-bashate.changes index 0c54d9f..5a16435 100644 --- a/python-bashate.changes +++ b/python-bashate.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 12 08:47:40 UTC 2019 - Tomáš Chvátal + +- Run the fdupes call properly to avoid rpmlint warnings + ------------------------------------------------------------------- Mon Feb 11 04:45:28 UTC 2019 - John Vandenberg diff --git a/python-bashate.spec b/python-bashate.spec index 047dafc..eef5e43 100644 --- a/python-bashate.spec +++ b/python-bashate.spec @@ -32,14 +32,13 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module testrepository} BuildRequires: %{python_module testscenarios} BuildRequires: %{python_module testtools} +BuildRequires: fdupes BuildRequires: python-argparse Requires: python-Babel >= 0.9.6 BuildArch: noarch %ifpython2 -# This is not python2-argparse because Leap 42.3 has python-argparse Requires: python-argparse %endif - %python_subpackages %description @@ -67,13 +66,10 @@ and will continue to evolve over time. rm -rf %{buildroot}%{$python_sitelib}/bashate/tests sed -i -e '/^#!\//, 1d' %{buildroot}%{$python_sitelib}/bashate/bashate.py } +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# The tests are failing when building both Python 2 & 3 -# See test failures in test runner python-testrepository -# and https://build.opensuse.org/request/show/673188 -%{python_expand # -rm -rf .testrepository +%{python_expand rm -rf .testrepository PYTHON=$python $python %{_bindir}/testr init PYTHON=$python $python %{_bindir}/testr run }