14
0

Accepting request 1062481 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1062481
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.deprecation?expand=0&rev=10
This commit is contained in:
2023-02-02 17:08:23 +00:00
committed by Git OBS Bridge
2 changed files with 14 additions and 4 deletions

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Feb 1 13:14:15 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Implement python packaging best practise: Don't cathall platlib
- Explicitly require python3-Sphinx for building the docs. It could
have been omitted from %pythons for %python_module in a 15.X
backport project.
-------------------------------------------------------------------
Fri Sep 24 11:51:36 UTC 2021 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-zope.deprecation
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -17,7 +17,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-zope.deprecation
Version: 4.4.0
Release: 0
@@ -30,7 +29,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
# SECTION documentation requirements
BuildRequires: %{python_module Sphinx}
BuildRequires: python3-Sphinx
# /SECTION
%python_subpackages
@@ -67,7 +66,10 @@ pushd build/lib
%files %{python_files}
%license LICENSE.txt
%doc CHANGES.rst COPYRIGHT.txt README.rst
%{python_sitelib}/*
%dir %{python_sitelib}/zope
%{python_sitelib}/zope.deprecation-%{version}*-info
%{python_sitelib}/zope.deprecation-%{version}*-nspkg.pth
%{python_sitelib}/zope/deprecation
%files -n %{name}-doc
%doc build/sphinx/html/