Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Jinja2?expand=0&rev=60
This commit is contained in:
parent
4087e03b57
commit
4df1d45015
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user