Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-renderspec for openSUSE:Factory checked in at 2023-09-08 21:15:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-renderspec (Old) and /work/SRC/openSUSE:Factory/.python-renderspec.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-renderspec" Fri Sep 8 21:15:27 2023 rev:14 rq:1109584 version:2.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-renderspec/python-renderspec.changes 2022-12-01 17:37:23.299536796 +0100 +++ /work/SRC/openSUSE:Factory/.python-renderspec.new.1766/python-renderspec.changes 2023-09-08 21:16:14.727981154 +0200 @@ -1,0 +2,5 @@ +Fri Mar 3 21:36:59 UTC 2023 - cloud-de...@suse.de + +- added 0001-Allow-selecting-suse_39-template.patch + +------------------------------------------------------------------- New: ---- 0001-Allow-selecting-suse_39-template.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-renderspec.spec ++++++ --- /var/tmp/diff_new_pack.ffkXFj/_old 2023-09-08 21:16:15.872022041 +0200 +++ /var/tmp/diff_new_pack.ffkXFj/_new 2023-09-08 21:16:15.876022184 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-renderspec # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,7 @@ Group: Development/Languages/Python URL: https://docs.openstack.org/renderspec Source0: https://files.pythonhosted.org/packages/source/r/renderspec/renderspec-%{version}.tar.gz +Patch1: 0001-Allow-selecting-suse_39-template.patch BuildRequires: openstack-macros BuildRequires: python3-Jinja2 >= 2.10 BuildRequires: python3-ddt @@ -77,7 +78,7 @@ %{py3_install} %check -python3 -m stestr.cli run +%{openstack_stestr_run} %files -n python3-renderspec %license LICENSE ++++++ 0001-Allow-selecting-suse_39-template.patch ++++++ >From b9145d5d4d4d660c1a236f9866265e5e51ca8b70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dirk=20M=C3=BCller?= <d...@dmllr.de> Date: Fri, 3 Mar 2023 21:51:42 +0100 Subject: [PATCH] Allow selecting suse_39 template Change-Id: Ib16122c5b25cf8f83f27a83ef49ee75643bbc7ba --- renderspec/__init__.py | 2 +- renderspec/contextfuncs.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/renderspec/__init__.py b/renderspec/__init__.py index 0594584..2effa8c 100644 --- a/renderspec/__init__.py +++ b/renderspec/__init__.py @@ -172,7 +172,7 @@ def process_args(): "default: autodetect") parser.add_argument("--spec-style", help="distro style you want to use. " "default: %s" % (distro), default=distro, - choices=['suse', 'fedora']) + choices=['suse', 'suse_py39', 'fedora']) parser.add_argument("--skip-pyversion", help='Skip requirements for this pyversion', default=_get_default_pyskips(distro), diff --git a/renderspec/contextfuncs.py b/renderspec/contextfuncs.py index 023e688..b2c3aea 100644 --- a/renderspec/contextfuncs.py +++ b/renderspec/contextfuncs.py @@ -250,9 +250,9 @@ def _context_license_spdx(context, value): if context['spec_style'] == 'fedora': return mapping[value] - else: - # just use the spdx license name - return value + + # just use the spdx license name + return value ############### -- 2.39.2