- added conditional defines for disable post install compressing docs and
post install stripping binaries. By default above swithes for above are
enabled:
- rewrited %__spec_install_post_compress_docs:
resignate lookup to %{_mandir} for man pages because we have two root
directories for man pages: /usr/share/man, and /usr/X11R6/man and some
packages have man pages in both locations,
- finished implementation %__spec_install_post_strip,
- added handling verbose mode in %__spec_install_post_strip and
%__spec_install_post_compress_docs (this can be enambled during building
package in standard way using -v command line switch),
- uncomment %{__spec_install_post_strip},
%{__spec_install_post_compress_docs} in %__spec_install_post.
Seems all is ready but please carefully verify above.
- added %__spec_install_post_compress_docs macro (complet),
- added %__spec_install_post_strip (lines moved from %__spec_install_post)
- place comment out %__spec_install_post_compress_docs and
%__spec_install_post_strip in %__spec_install_post (please uncomment this
if you want testt this).
TODO: rewrite %__spec_install_post_strip:
- move remove-unneeded-elf-sections script inside %__spec_install_post_strip
macro and remove remove-unneeded-elf-sections script,
- simplify stripping/cutting .note/.comment sections by use awk instead
xargs, egrep (cut also ?),
- use directly strip instead objcopy for remove .comment and .note sections
(stripping andremoving unnused sections can be performet in one command
line).
- added to %__spec_install_post %{__arch_install_post} and
%{__os_install_post} (do not change completly semantics
%__spec_install_post but rather enlarge).
Artur Frysiak [Fri, 30 Apr 1999 01:29:45 +0000 (01:29 +0000)]
- added 4 macros:
-- %GNUconfigure and %GNUconfigureS to complete remake autoconf/automake stuff
-- %configure and %configureS to corect run ./configure
-- *S add "-s" to LDFLAGS