From 950d0d171f3ab059957ef6603b82be4ec1e2717b Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Mon, 23 Jul 2018 21:28:26 +0200 Subject: [PATCH] Fix rpmlint errors and warnings setools.spec:95: W: unversioned-explicit-obsoletes setools-libs-tcl setools.spec:170: W: macro-in-comment %doc setools.spec:173: W: macro-in-comment %{python2_sitelib} setools.spec:179: W: macro-in-comment %doc setools.spec:181: W: macro-in-comment %{python3_sitelib} setools.spec: E: specfile-error warning: Macro expanded in comment on line 173: %{python2_sitelib}/* setools.spec: E: specfile-error setools.spec: E: specfile-error warning: Macro expanded in comment on line 181: %{python3_sitelib}/* --- setools.spec | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/setools.spec b/setools.spec index a363559..4e27b70 100644 --- a/setools.spec +++ b/setools.spec @@ -92,7 +92,7 @@ Python 2 modules designed to facilitate SELinux policy analysis. %package -n python3-setools Summary: Policy analysis tools for SELinux -Obsoletes: setools-libs < 4.0.0, setools-libs-tcl +Obsoletes: setools-libs < 4.0.0 Recommends: libselinux-python3 %{?python_provide:%python_provide python2-setools} # Remove before F30 @@ -167,19 +167,11 @@ popd %{_mandir}/man1/seinfoflow* %files -n python2-setools -# %doc AUTHORS ChangeLog KNOWN-BUGS NEWS README %license COPYING COPYING.GPL COPYING.LGPL -# For noarch packages: sitelib -# %{python2_sitelib}/* -# For arch-specific packages: sitearch %{python2_sitearch}/* %files -n python3-setools %license COPYING COPYING.GPL COPYING.LGPL -# %doc AUTHORS ChangeLog KNOWN-BUGS NEWS README -# For noarch packages: sitelib -# %{python3_sitelib}/* -# For arch-specific packages: sitearch %{python3_sitearch}/setools %{python3_sitearch}/setools-*