From 481e418cf26ede5affe75d005e8cfd7096a68b57acc44bb842d59f79da0fd4a4 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 21 Nov 2022 13:25:08 +0000 Subject: [PATCH] - Skip rpmlint error python-tests-in-package. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Twisted?expand=0&rev=127 --- python-Twisted.changes | 5 +++++ python-Twisted.rpmlintrc | 1 + python-Twisted.spec | 1 + 3 files changed, 7 insertions(+) create mode 100644 python-Twisted.rpmlintrc diff --git a/python-Twisted.changes b/python-Twisted.changes index c72e6bb..e8109a6 100644 --- a/python-Twisted.changes +++ b/python-Twisted.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 21 13:24:47 UTC 2022 - Matej Cepl + +- Skip rpmlint error python-tests-in-package. + ------------------------------------------------------------------- Tue Nov 1 05:46:14 UTC 2022 - Steve Kowalik diff --git a/python-Twisted.rpmlintrc b/python-Twisted.rpmlintrc new file mode 100644 index 0000000..5417623 --- /dev/null +++ b/python-Twisted.rpmlintrc @@ -0,0 +1 @@ +addFilter("E: python-tests-in-package.*/usr/lib/.*/site-packages/twisted.*/test") diff --git a/python-Twisted.spec b/python-Twisted.spec index f9fcc11..0bf437d 100644 --- a/python-Twisted.spec +++ b/python-Twisted.spec @@ -33,6 +33,7 @@ Summary: An asynchronous networking framework written in Python License: MIT URL: https://twistedmatrix.com/ Source0: https://files.pythonhosted.org/packages/source/T/Twisted/Twisted-%{version}.tar.gz +Source99: python-Twisted.rpmlintrc Patch0: skip_MultiCast.patch # PATCH-FIX-UPSTREAM no-test_successResultOfWithFailureHasTraceback.patch https://twistedmatrix.com/trac/ticket/9665 mcepl@suse.com # skip over the test test_successResultOfWithFailureHasTraceback