[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: rpm upgrading openldap.



tarjei wrote:
> 
> Hi,
> 
> has anyone sucessfully edited the openldap.spec file in the src rpm and thus upgraded their openldap server to 2.0.11?
> 
> i.e:
> rpm -i openldap.SRC.rpm
> vi openldap.spec // change version to 2.0.11
> cp openldap-2.0.11.tar.gz SOURCES
> rpm -ba openldap.spec
> 
> rpm -Uvh openldap2.0.11*.rpm...
> 
> I'm goint to try now, but I just though, maybe somenoe got some advice to offer....
> 
> Tarjei

I don't think you'll get something this way. replacing the old tar.gz by
a new one in the SOURCE directory is not the only thing to do. you'll
have to verify the whole process of rebuilding a package in the .spec
file. Just get the latest source rpm from
http://www.open-it.org/download/redhat7.1/SRPMS/ if you want to
recompile te whole thing , there's also a an rpm version in the RPM
directory !.
-- 
Jehan Procaccia
Institut National des Telecommunications| Email:
Jehan.Procaccia@int-evry.fr 
MCI, Moyens Communs Informatiques	| Tel  : +33 (0) 160764436 
9 rue Charles Fourier 91011 Evry France | Fax  : +33 (0) 160764321