From 9d47e5aa80ebdf7773eb4e2eac16ff5550d7480021cd0f95cdb8b53daa77b07e Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 8 Nov 2022 07:12:19 +0000 Subject: [PATCH] - Clean up SPEC file, make rpmlint happy. - -doc subpackage should be noarch. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.i18nmessageid?expand=0&rev=20 --- python-zope.i18nmessageid.changes | 6 ++++++ python-zope.i18nmessageid.spec | 7 +++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/python-zope.i18nmessageid.changes b/python-zope.i18nmessageid.changes index 07c7c7f..4b3fed2 100644 --- a/python-zope.i18nmessageid.changes +++ b/python-zope.i18nmessageid.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 8 07:10:23 UTC 2022 - Matej Cepl + +- Clean up SPEC file, make rpmlint happy. +- -doc subpackage should be noarch. + ------------------------------------------------------------------- Sun Nov 6 17:57:02 UTC 2022 - Hans-Peter Jansen diff --git a/python-zope.i18nmessageid.spec b/python-zope.i18nmessageid.spec index fde4ead..472f547 100644 --- a/python-zope.i18nmessageid.spec +++ b/python-zope.i18nmessageid.spec @@ -17,7 +17,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test @@ -54,6 +53,7 @@ In Zope3, i18nmessageid are special objects that has a structural i18nmessageid. %package -n %{name}-doc Summary: Zope Location Provides: %{python_module zope.i18nmessageid-doc = %{version}} +BuildArch: noarch %description -n %{name}-doc This package contains documentation files for %{name}. @@ -86,7 +86,10 @@ python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo build/sphinx/ht %files %{python_files} %license LICENSE.txt %doc CHANGES.rst COPYRIGHT.txt README.rst -%{python_sitearch}/* +%dir %{python_sitearch}/zope +%{python_sitearch}/zope/i18nmessageid +%{python_sitearch}/zope.i18nmessageid-%{version}*-info +%{python_sitearch}/zope.i18nmessageid-%{version}*-nspkg.pth %endif %if !%{with test}