Mailinglist Archive: zypp-commit (233 mails)

< Previous Next >
[zypp-commit] <libzypp-bindings> master : use %{py_sitedir}
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Tue, 24 Nov 2009 17:14:06 +0100
  • Message-id: <E1NCy1p-0003EC-I5@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit 7dd2abb38483dd0058538a272e3f242a1d2db45d
Author: Michael Andres <ma@xxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages