[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rpms/gtkdatabox/devel gtkdatabox.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2



On Wed,  9 Aug 2006 23:33:49 -0700, Eric Work wrote:

> Author: ework
> 
> Update of /cvs/extras/rpms/gtkdatabox/devel

> %post -p /sbin/ldconfig
> %postun -p /sbin/ldconfig
> %post devel -p /sbin/ldconfig
> %postun devel -p /sbin/ldconfig

The scriptlets for the -devel package are not needed. When the package is
installed, the *.so symlink points to the right *.so.N library file
already. In case the *.so.N library has been replaced with a different N,
you're in trouble anyway, and updating the link with ldconfig would lead
to unexpected/wrong results (i.e. -lgtkdatabox would not link with the
library from your main gtkdatabox file).

> %files
> %defattr(-,root,root,-)
> %doc AUTHORS ChangeLog COPYING NEWS README TODO
> %{_libdir}/libgtkdatabox-*.so.*
> 
> %files devel
> %defattr(-,root,root,-)
> %doc examples/*.c
> %{_includedir}/gtkdatabox*.h
> %{_libdir}/libgtkdatabox.so
> %{_libdir}/pkgconfig/gtkdatabox.pc


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]