[Rpm-maint] spec file unification across distributions
Stanislav Brabec
sbrabec at suse.cz
Tue Jun 24 17:14:17 UTC 2008
Pixel wrote:
> Stanislav Brabec <sbrabec at suse.cz> 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: sbrabec at suse.cz
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/
More information about the Rpm-maint
mailing list