On Apr 6, 2007, at 1:07 PM, Matthew Miller wrote:
On Fri, Apr 06, 2007 at 10:03:26AM -0700, Joshua M. Miller wrote:
What would be the best way to specify creation of symlinks after RPM
installation in the SPEC file?
I have tried during the %post portion and that fails with the
following
error:
error: %post(libldap-2.3.34-centos3) scriptlet failed, exit
status 1
That would be a fine place. You're just doing it wrong somehow. :)
Yes your scriptlet has a error somehow.
But let's backup: If you are creating a symlink to a directory,
you've got
a whole different class of problem that needs to be solved with a
%pretrans, not a %post, scriptlet.
The %post scriptlet is too late to make the Right Thing Happen in rpm
if/when
creating a legacy symlink to a directory, doing a directory rename and
creating a symlink needs to be done before file fingerprints are
calculated.
If you're *NOT* creating a symlink to a directory, then ignore the
previous
comment(s).
73 de Jeff
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list