Accepting request 142403 from devel:languages:python3
Remove openSUSE 11.4 spec file workarounds (forwarded request 142402 from TheBlackCat) OBS-URL: https://build.opensuse.org/request/show/142403 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Jinja2?expand=0&rev=17
This commit is contained in:
parent
d7936ca5c6
commit
e51e00f65b
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 22 09:39:27 UTC 2012 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Remove openSUSE 11.4 spec file workarounds
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 30 13:06:58 UTC 2012 - toddrme2178@gmail.com
|
Mon Apr 30 13:06:58 UTC 2012 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@ -25,20 +25,11 @@ 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: python3
|
|
||||||
BuildRequires: python3-2to3
|
BuildRequires: python3-2to3
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-distribute
|
BuildRequires: python3-distribute
|
||||||
BuildRequires: vim
|
BuildRequires: vim
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} <= 1140
|
|
||||||
%{!?python3_sitelib: %global python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
|
||||||
%{!?py3_ver: %global py3_ver %(python3 -c "import sys; version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); print(version)" 2>/dev/null || echo PYTHON-NOT-FOUND)}
|
|
||||||
%ifarch x86_64
|
|
||||||
# to allow ownership of noarch python directories
|
|
||||||
BuildRequires: python3-32bit
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: python3 >= %{py3_ver}
|
Requires: python3 >= %{py3_ver}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user