14
0

- 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.hookable?expand=0&rev=21
This commit is contained in:
2022-11-08 07:04:02 +00:00
committed by Git OBS Bridge
parent 58a0906df6
commit 63f567de99
2 changed files with 11 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 8 07:03:41 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Clean up SPEC file, make rpmlint happy.
- -doc subpackage should be noarch.
-------------------------------------------------------------------
Sun Nov 6 17:52:43 UTC 2022 - Hans-Peter Jansen <hpj@urpla.net>

View File

@@ -17,7 +17,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
@@ -62,6 +61,7 @@ that imported it, will see the change.
%package -n %{name}-doc
Summary: Zope hookable
Provides: %{python_module zope.hookable-doc = %{version}}
BuildArch: noarch
%description -n %{name}-doc
This package contains documentation files for %{name}.
@@ -94,7 +94,10 @@ pushd src
%files %{python_files}
%license LICENSE.txt
%doc CHANGES.rst COPYRIGHT.txt README.rst
%{python_sitearch}/*
%dir %{python_sitearch}/zope
%{python_sitearch}/zope/hookable
%{python_sitearch}/zope.hookable-%{version}*-info
%{python_sitearch}/zope.hookable-%{version}*-nspkg.pth
%endif
%if !%{with test}