- add the python magic for package build on SLE 11
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=15
This commit is contained in:
parent
7e9476e0dc
commit
fff2928063
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 24 19:49:34 UTC 2014 - rschweikert@suse.com
|
||||
|
||||
- add the python magic for package build on SLE 11
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 24 19:23:07 UTC 2014 - rschweikert@suse.com
|
||||
|
||||
|
@ -60,7 +60,9 @@ Requires: sudo
|
||||
Requires: util-linux
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%define docdir %{_defaultdocdir}/%{name}
|
||||
%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()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1210
|
||||
|
Loading…
Reference in New Issue
Block a user