diff --git a/python-Jinja2.changes b/python-Jinja2.changes index 7e80365..77d8a8a 100644 --- a/python-Jinja2.changes +++ b/python-Jinja2.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Dec 10 12:43:01 UTC 2018 - Tomáš Chvátal + +- Fix fdupes call + +------------------------------------------------------------------- +Tue Dec 4 12:49:28 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Tue Mar 6 15:52:17 UTC 2018 - aplanas@suse.com diff --git a/python-Jinja2.spec b/python-Jinja2.spec index 02c04d5..4151fe8 100644 --- a/python-Jinja2.spec +++ b/python-Jinja2.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,22 +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 devel} 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 @@ -93,24 +90,22 @@ sed -i 's/\r$//' LICENSE # Fix wrong EOL encoding install -Dm644 ext/Vim/jinja.vim %{buildroot}%{_datadir}/vim/site/syntax/jinja.vim # Install VIM syntax file install -Dm644 ext/jinja.el %{buildroot}%{_datadir}/emacs/site-lisp/jinja.el # Install Emacs syntax file %if 0%{?suse_version} -%fdupes %{buildroot}%{_prefix} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %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