From 4df1d45015992a2df67f902eaa8291e2251c2179ee5c16ad7eb70653250787cb Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:15:42 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Jinja2?expand=0&rev=60 --- python-Jinja2.spec | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/python-Jinja2.spec b/python-Jinja2.spec index 7241088..5910156 100644 --- a/python-Jinja2.spec +++ b/python-Jinja2.spec @@ -24,21 +24,19 @@ Release: 0 Summary: A fast and easy to use template engine written in pure Python License: BSD-3-Clause Group: Development/Languages/Python -Url: http://jinja.pocoo.org/ +URL: http://jinja.pocoo.org/ Source: https://files.pythonhosted.org/packages/source/J/Jinja2/Jinja2-%{version}.tar.gz BuildRequires: %{python_module MarkupSafe} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-Babel >= 0.8 +Requires: python-MarkupSafe >= 0.23 +BuildArch: noarch %ifpython2 Provides: %{oldpython}-jinja2 = %{version} Obsoletes: %{oldpython}-jinja2 < %{version} %endif -Requires: python-Babel >= 0.8 -Requires: python-MarkupSafe >= 0.23 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch - %python_subpackages %description @@ -96,20 +94,18 @@ install -Dm644 ext/jinja.el %{buildroot}%{_datadir}/emacs/site-lisp/jinja.el # I %endif %files %{python_files} -%defattr(-,root,root,-) -%doc AUTHORS README.rst CHANGES.rst LICENSE artwork examples +%license LICENSE +%doc AUTHORS README.rst CHANGES.rst artwork examples %{python_sitelib}/jinja2 %{python_sitelib}/Jinja2-%{version}-py%{python_version}.egg-info %files -n python-Jinja2-vim -%defattr(-,root,root,-) %dir %{_datadir}/vim %dir %{_datadir}/vim/site %dir %{_datadir}/vim/site/syntax %{_datadir}/vim/site/syntax/jinja.vim %files -n python-Jinja2-emacs -%defattr(-,root,root,-) %{_datadir}/emacs/site-lisp/jinja.el %changelog