[CentOS] Trying to build rpm-package
Garrick Staples
garrick at usc.edu
Sat Jun 16 07:35:28 UTC 2007
On Sat, Jun 16, 2007 at 06:54:46AM +0300, jarmo alleged:
> + install -s -m 644 digitemp.1 /var/tmp/digitemp-buildroot/usr/local/man/man1/
> strip: /var/tmp/digitemp-buildroot/usr/local/man/man1/digitemp.1: File format not recognized
> install: strip failed
> error: Bad exit status from /var/tmp/rpm-tmp.50782 (%install)
It is the -s option to 'install' that tells it to run strip. This is
only for binaries and is invalid for text files.
The makefile should be patched to not strip anything at all, much less
manpages.
Also, rpms should install into %{_prefix} (/usr), not /usr/local.
--
Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20070616/045d3b70/attachment.sig>
More information about the CentOS
mailing list