ref: refs/heads/master
commit 7dd2abb38483dd0058538a272e3f242a1d2db45d
Author: Michael Andres
Date: Tue Nov 24 17:14:06 2009 +0100
use %{py_sitedir}
---
libzypp-bindings.spec.cmake | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
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}
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org