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
|
Summary: Jinja2 Extension for Dates and Times
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
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
|
Source: https://files.pythonhosted.org/packages/source/j/jinja2-time/jinja2-time-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-Jinja2
|
||||||
|
Requires: python-arrow
|
||||||
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module Jinja2}
|
BuildRequires: %{python_module Jinja2}
|
||||||
BuildRequires: %{python_module arrow}
|
BuildRequires: %{python_module arrow}
|
||||||
BuildRequires: %{python_module freezegun}
|
BuildRequires: %{python_module freezegun}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
%endif
|
%endif
|
||||||
Requires: python-Jinja2
|
|
||||||
Requires: python-arrow
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -62,8 +61,8 @@ py.test-%{$python_bin_suffix}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE
|
||||||
%doc HISTORY.rst LICENSE README.rst
|
%doc HISTORY.rst README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user