[XForms] rpms are not quite right

Angus Leeming angus.leeming at btopenworld.com
Thu May 6 10:18:06 EDT 2004


On Thursday 06 May 2004 3:13 pm, Jean-Marc Lasgouttes wrote:
> >>>>> "Angus" == Angus Leeming <angus.leeming at btopenworld.com> writes:
>
> Angus> To subscribers of the xforms list Jean-Marc, all,
>
> Angus> Executive summary: how do we get rpm to install the symbolic
> Angus> links libforms.so and libforms.so.1 that are to point at
> Angus> libforms.so.1.0.0? Is this a libtool issue?
>
> Does libtool do that correctly when you do a 'make install'?

Yes. As usual, you've nailed down the problem. 'make install' works perfectly. 
What fails is:
	allfiles=`find ${RPM_BUILD_ROOT}/usr -type f -print | sed 
"s@^${RPM_BUILD_ROOT}@@g"`

'find' does not pick up the symbolic links. Indeed, it shouldn't.

> It may be that you have to do that yourself in a postinstall phase.
> You may want to look at the rpm spec file of another existing library.

Thanks ;-)

> The rh8x comes from this thing at the top:
>   Release: 1rh8x
>
> Just replace it with '1'. We do not have any reason to generate
> versions that are specific to some distributions, I think.

Good.

> BTW, the line just below is wrong, since the downloads have changed place.
>
> Source0:
> http://savannah.nongnu.org/download/xforms/stable.pkg/1.0/%{name}-%{version
>}.tar.gz

Ok. I'll fix that too.
Angus



More information about the Xforms mailing list