- Format with spec-cleaner
- Do not pull in devel python module as it is not needed OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-j2gen?expand=0&rev=2
This commit is contained in:
parent
c6b799fdf9
commit
cb6dfde5f1
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 27 07:48:59 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Format with spec-cleaner
|
||||
- Do not pull in devel python module as it is not needed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 27 03:41:03 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
|
||||
|
||||
|
@ -24,12 +24,15 @@ Release: 0
|
||||
Summary: Jinja2 template renderer with yaml input files
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/toabctl/j2gen
|
||||
URL: https://github.com/toabctl/j2gen
|
||||
Source: https://files.pythonhosted.org/packages/source/j/j2gen/j2gen-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pbr}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Jinja2
|
||||
Requires: python-PyYAML
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module Jinja2}
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
@ -37,11 +40,6 @@ BuildRequires: %{python_module ddt}
|
||||
BuildRequires: %{python_module flake8}
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
Requires: python-Jinja2
|
||||
Requires: python-PyYAML
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -56,6 +54,7 @@ Jinja2 template renderer with yaml input files
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user