From: Michael Andres Date: Tue, 24 Nov 2009 16:14:06 +0000 (+0100) Subject: use %{py_sitedir} X-Git-Tag: BASE-SuSE-Code-12_2-Branch~85 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7dd2abb38483dd0058538a272e3f242a1d2db45d;p=platform%2Fupstream%2Flibzypp-bindings.git use %{py_sitedir} --- diff --git a/libzypp-bindings.spec.cmake b/libzypp-bindings.spec.cmake index 6ffe3b6..a5fc442 100644 --- a/libzypp-bindings.spec.cmake +++ b/libzypp-bindings.spec.cmake @@ -21,11 +21,6 @@ BuildRequires: cmake gcc-c++ python-devel ruby-devel swig BuildRequires: libzypp-devel >= 5.8.0 Source: %{name}-%{version}.tar.bz2 -%if 0%{?suse_version} == 1110 -# not present on sle11-sp1: -%define python_sitelib %{_libdir}/python%{python_version}/site-packages -%endif - %description This package provides bindings for libzypp, the library for package management. @@ -76,8 +71,8 @@ Group: Development/Languages/Python %files -n python-zypp %defattr(-,root,root,-) -%{python_sitelib}/_zypp.so -%{python_sitelib}/zypp.py +%{py_sitedir}/_zypp.so +%{py_sitedir}/zypp.py %package -n perl-zypp Requires: perl = %{perl_version}