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}/*
This commit is contained in:
Petr Lautrbach 2018-07-23 21:28:26 +02:00
parent 3bb977d8b3
commit 950d0d171f

View File

@ -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-*