diff options
author | Michael Andres <ma@suse.de> | 2009-11-24 17:14:06 +0100 |
---|---|---|
committer | Michael Andres <ma@suse.de> | 2009-11-24 17:14:06 +0100 |
commit | 7dd2abb38483dd0058538a272e3f242a1d2db45d (patch) | |
tree | ae05d20f1bd192a94f4d5f0b769b54b7fd8e62f8 /libzypp-bindings.spec.cmake | |
parent | 0505641b50194c1276cfe5e01921ae60d892c6a7 (diff) | |
download | libzypp-bindings-7dd2abb38483dd0058538a272e3f242a1d2db45d.tar.gz libzypp-bindings-7dd2abb38483dd0058538a272e3f242a1d2db45d.tar.bz2 libzypp-bindings-7dd2abb38483dd0058538a272e3f242a1d2db45d.zip |
use %{py_sitedir}
Diffstat (limited to 'libzypp-bindings.spec.cmake')
-rw-r--r-- | 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} |