diff --git a/python-astropy-rpmlintrc b/python-astropy-rpmlintrc index 2daecec..6d7511c 100644 --- a/python-astropy-rpmlintrc +++ b/python-astropy-rpmlintrc @@ -1,3 +1,5 @@ addFilter('devel-file-in-non-devel-package .*/wcs/.*') addFilter('hidden-file-or-dir .*/tests/data/.*') addFilter('zero-length .*/tests/data/.*') +# https://github.com/rpm-software-management/rpmlint/issues/965, https://docs.astropy.org/en/latest/development/testguide.html#astropy-test +addFilter('python-tests-in-package .*astropy/.*tests') \ No newline at end of file diff --git a/python-astropy.changes b/python-astropy.changes index 9721f20..4f7dc99 100644 --- a/python-astropy.changes +++ b/python-astropy.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Nov 21 11:03:53 UTC 2022 - Ben Greiner + +- Whitelist stupid rpmlint error + * https://docs.astropy.org/en/latest/development/testguide.html#astropy-test + * gh#rpm-software-management/rpmlint#965 + ------------------------------------------------------------------- Sun Oct 23 10:46:04 UTC 2022 - Ben Greiner diff --git a/python-astropy.spec b/python-astropy.spec index 2f5d9b3..2c50bab 100644 --- a/python-astropy.spec +++ b/python-astropy.spec @@ -53,8 +53,6 @@ %{?unbundle_expat} \ %{?unbundle_wcs} -%{?!python_module:%define python_module() python3-%{**}} -%define skip_python2 1 Name: python-astropy%{psuffix} Version: 5.1.1 Release: 0