Hi,
I noticed the following problems with SLES10 (you need python-devel) and the wrong lib path.
Here is my small spec file fix, hopefully it will work.
My patch:
--- createrepo.spec.orig 2009-05-08 09:13:31.000000000 +0200
+++ createrepo.spec 2009-05-08 11:01:09.000000000 +0200
@@ -12,6 +12,9 @@
BuildArchitectures?: noarch
Requires: python >= 2.1, rpm-python, rpm >= 0:4.1.1, libxml2-python
Requires: yum-metadata-parser, yum >= 3.2.22
+%if %{sles_version} == 10
+BuildRequires?: python-devel
+%endif
%description
This utility will generate a common metadata repository from a directory of
@@ -23,6 +26,7 @@
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
+[ "%{_arch}" = x86_64 ] && mv $RPM_BUILD_ROOT/usr/lib $RPM_BUILD_ROOT/usr/lib64
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT