From 2eb2d4e9e7d17efc5da9ef3d7f6b805d69960408f6bf8439778018ee36a26c95 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Mon, 21 Nov 2022 11:03:44 +0000 Subject: [PATCH 1/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-astropy?expand=0&rev=81 --- python-astropy-rpmlintrc | 2 ++ 1 file changed, 2 insertions(+) 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 From 245e20d89dd7fa8d8f7ff90f46d7ee0ff836f3d277e1491647a6d7345ac6f30d Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Mon, 21 Nov 2022 11:05:10 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-astropy?expand=0&rev=82 --- python-astropy.changes | 7 +++++++ 1 file changed, 7 insertions(+) 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 From d47cd6e399bfec57007efb4ba5f60d974944ad4fb48e8f33b4c106a90186c65b Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Mon, 21 Nov 2022 11:18:19 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-astropy?expand=0&rev=83 --- python-astropy.spec | 2 -- 1 file changed, 2 deletions(-) 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