forked from pool/python-zope.hookable
- 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:
@@ -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>
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user