Re: Trying to build rpm-package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

Attachment: pgpGvfRAnaAuI.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux