Accepting request 1034426 from devel:languages:python

- Clean up SPEC file, make rpmlint happy.
- -doc subpackage should be noarch.
- update to version 5.1.0
  * Added support for Python 3.9, 3.10 and 3.11.

OBS-URL: https://build.opensuse.org/request/show/1034426
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.i18nmessageid?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2022-11-09 11:56:09 +00:00 committed by Git OBS Bridge
commit 8b212fed12
4 changed files with 23 additions and 8 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
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>
- update to version 5.1.0
* Added support for Python 3.9, 3.10 and 3.11.
-------------------------------------------------------------------
Wed Oct 13 09:10:40 UTC 2021 - pgajdos@suse.com

View File

@ -1,8 +1,8 @@
#
# spec file
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2013-2022 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
@ -27,7 +26,7 @@
%bcond_with test
%endif
Name: python-zope.i18nmessageid%{psuffix}
Version: 5.0.1
Version: 5.1.0
Release: 0
Summary: Zope Location
License: ZPL-2.1
@ -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}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9534142b684c986f5303f469573978e5a340f05ba2eee4f872933f1c38b1b059
size 28217

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4e10eea2505a37d49860b849c32d1018976199a466346b6ae846db94e05c4f67
size 28351