forked from pool/python-jinja2-time
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jinja2-time?expand=0&rev=4
This commit is contained in:
@@ -24,21 +24,20 @@ Release: 0
|
||||
Summary: Jinja2 Extension for Dates and Times
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/hackebrot/jinja2-time
|
||||
URL: https://github.com/hackebrot/jinja2-time
|
||||
Source: https://files.pythonhosted.org/packages/source/j/jinja2-time/jinja2-time-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Jinja2
|
||||
Requires: python-arrow
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module Jinja2}
|
||||
BuildRequires: %{python_module arrow}
|
||||
BuildRequires: %{python_module freezegun}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%endif
|
||||
Requires: python-Jinja2
|
||||
Requires: python-arrow
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -62,8 +61,8 @@ py.test-%{$python_bin_suffix}
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc HISTORY.rst LICENSE README.rst
|
||||
%license LICENSE
|
||||
%doc HISTORY.rst README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user