Accepting request 929837 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/929837
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-j2gen?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2021-11-08 16:24:14 +00:00 committed by Git OBS Bridge
commit 780f4a5b66
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 3 08:08:50 UTC 2021 - pgajdos@suse.com
- %check: use %pyunittest rpm macro
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 25 10:59:31 UTC 2020 - Petr Gajdos <pgajdos@suse.com> Mon May 25 10:59:31 UTC 2020 - Petr Gajdos <pgajdos@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-j2gen # spec file for package python-j2gen
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -33,7 +33,7 @@ BuildRequires: python-rpm-macros
Requires: python-Jinja2 Requires: python-Jinja2
Requires: python-PyYAML Requires: python-PyYAML
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun):update-alternatives
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module Jinja2} BuildRequires: %{python_module Jinja2}
@ -59,7 +59,7 @@ Jinja2 template renderer with yaml input files
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%python_exec setup.py test %pyunittest discover -v
%post %post
%python_install_alternative j2gen %python_install_alternative j2gen