- 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
This commit is contained in:
parent
2de7f8c865
commit
9d47e5aa80
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 8 07:10:23 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Clean up SPEC file, make rpmlint happy.
|
||||
- -doc subpackage should be noarch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 6 17:57:02 UTC 2022 - Hans-Peter Jansen <hpj@urpla.net>
|
||||
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user