Simon Bryan wrote:

OK< I downloaded a src.rpm (openldap-2.1.25-1.src.rpm) from rpmfind.net and tried
the rpmrebuild, but it tells me that it is not a specfile


If you run rpmbuild --rebuild openldap-2.1.25-1.src.rpm, that should get you going.


The other way of dealing with the source rpm is to install it first; "rpm -ivh openldap-2.1.25-1.src.rpm", the go to /usr/src/redhat/SPECS. There should be a openlap.spec file (or something along those lines). Those kinds of files you can run rpmbuild -ba {specfilename}.spec.

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to