Accepting request 244833 from home:Nijel:branches:devel:languages:python
- run testsuite during build - adjust dependency to use up to date package name for python-MarkupSafe OBS-URL: https://build.opensuse.org/request/show/244833 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Jinja2?expand=0&rev=41
This commit is contained in:
parent
3d9ac61e80
commit
95cbfbe87d
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 15 12:30:58 UTC 2014 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- run testsuite during build
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 15 12:29:35 UTC 2014 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- adjust dependency to use up to date package name for python-MarkupSafe
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 15 10:41:00 UTC 2014 - toddrme2178@gmail.com
|
Tue Jul 15 10:41:00 UTC 2014 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@ -25,11 +25,12 @@ Group: Development/Languages/Python
|
|||||||
Url: http://jinja.pocoo.org/
|
Url: http://jinja.pocoo.org/
|
||||||
Source: http://pypi.python.org/packages/source/J/Jinja2/Jinja2-%{version}.tar.gz
|
Source: http://pypi.python.org/packages/source/J/Jinja2/Jinja2-%{version}.tar.gz
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-MarkupSafe
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
Provides: python-jinja2 = %{version}
|
Provides: python-jinja2 = %{version}
|
||||||
Obsoletes: python-jinja2 < %{version}
|
Obsoletes: python-jinja2 < %{version}
|
||||||
Requires: python-markupsafe
|
Requires: python-MarkupSafe
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
@ -91,6 +92,9 @@ install -Dm644 ext/jinja.el %{buildroot}%{_datadir}/emacs/site-lisp/jinja.el # I
|
|||||||
%fdupes %{buildroot}%{_prefix}
|
%fdupes %{buildroot}%{_prefix}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%check
|
||||||
|
python run-tests.py
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS CHANGES LICENSE artwork examples
|
%doc AUTHORS CHANGES LICENSE artwork examples
|
||||||
|
Loading…
x
Reference in New Issue
Block a user