14
0

- Only SLE-11 needs %pyrequires and there it is not noarch

- Explicit dependency on Python >= 2.4 isn't needed, %py_requires does that
  for SLE-11 (>2.6) and a more recent RPM does it automatically

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastimport?expand=0&rev=2
This commit is contained in:
Sascha Peilicke
2012-07-02 07:38:43 +00:00
committed by Git OBS Bridge
parent 2fc3bc8578
commit d9694358f0
2 changed files with 12 additions and 4 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jul 2 07:37:20 UTC 2012 - saschpe@suse.de
- Only SLE-11 needs %pyrequires and there it is not noarch
- Explicit dependency on Python >= 2.4 isn't needed, %py_requires does that
for SLE-11 (>2.6) and a more recent RPM does it automatically
-------------------------------------------------------------------
Wed Jun 27 11:26:03 UTC 2012 - jengelh@inai.de

View File

@@ -23,13 +23,14 @@ Summary: Fastimport parser in Python
License: GPL-2.0+
Group: Development/Libraries/Python
Url: http://launchpad.net/python-fastimport
Source: %name-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python >= 2.4
BuildArch: noarch
%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()")}
%py_requires
%else
BuildArch: noarch
%endif
%description
This is the Python parser that was originally developed for