From 0a7141901450688f5c5cd4c93b30c7ac3f481775 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Wed, 3 Mar 2021 10:44:27 +0100 Subject: [PATCH] - don't package unit test data --- python-pylint.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/python-pylint.spec b/python-pylint.spec index 4f139b6..cc6f57a 100644 --- a/python-pylint.spec +++ b/python-pylint.spec @@ -156,6 +156,9 @@ for tool in epylint pylint pyreverse symilar ; do done cp -p examples/pylintrc $RPM_BUILD_ROOT%{_sysconfdir}/pylintrc-2 + +# don't package unit test data +%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/pylint/test %endif %if %{with python3} @@ -174,6 +177,9 @@ echo '.so pylint-3.1' >$RPM_BUILD_ROOT%{_mandir}/man1/py3lint.1 echo '.so pyreverse-3.1' >$RPM_BUILD_ROOT%{_mandir}/man1/py3reverse.1 cp -p examples/pylintrc $RPM_BUILD_ROOT%{_sysconfdir}/pylintrc-3 + +# don't package unit test data +%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/pylint/test %endif %clean -- 2.44.0