Pixel wrote:
> Stanislav Brabec <[EMAIL PROTECTED]> writes:

[[...]]

> > Texinfo:
> >
> > openSUSE and Fedora do the same, but openSUSE defines macros %
> > install_info and %install_info_delete.
> 
> we have %_install_info %_remove_install_info
> 
> >
> > Actually used scriptlets are fragile and in some situations they keep
> > unwanted orphans or delete wanted items.
> 
> in case of obsolete? or ?

Typically in case if INFO_DIR_SECTION of next version has less entries
than previous version or entries are different. In time of %preun, old
INFO_DIR_SECTION is already overwritten by te new contents.

If INFO_DIR_SECTION in the new file is different than the old one

> we set %_libexecdir to %_libdir
> 
> and so %configure sets --libexecdir=/usr/lib by default.

Well, openSUSE has %{_libdir}=/usr/lib64 for x86_64. Setting
%{_libexecdir}=%{_libdir} would cause bi-arch clash (32-bit shared
library fails to find 64-bit libexec helper).

-- 
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o.                          e-mail: [EMAIL PROTECTED]
Lihovarská 1060/12           tel: +420 284 028 966, +49 911 740538747
190 00 Praha 9                                  fax: +420 284 028 951
Czech Republic                                    http://www.suse.cz/

_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
https://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to