head	1.2;
access;
symbols
	rpm-4_4_8-release:1.1.8.2
	rpm-4_4_7-release:1.1.8.2
	rpm-4_4_6-release:1.1.8.2
	rpm-4_4_5-release:1.1.8.2
	rpm-4_4_4-release:1.1.8.2
	rpm-4_4_3-release:1.1.8.2
	jbj_before_tklcpatches:1.1.8.2
	rpm-4_4_2-release:1.1.8.2
	pjones-sparse-experiment:1.2.0.2
	rpm-4_4_1-release:1.1.8.1
	rpm-4_4-release:1.1
	rpm-4_4:1.1.0.8
	rpm-4_3_1-start:1.1
	rpm-4_3:1.1.0.6
	rpm-4_2_1-release:1.1
	rpm-4_1_1-release:1.1.2.1
	rpm-4_2-release:1.1
	rpm-4_2:1.1.0.4
	rpm-4_1:1.1.0.2;
locks; strict;
comment	@# @;


1.2
date	2005.05.30.06.43.45;	author jbj;	state Exp;
branches;
next	1.1;

1.1
date	2003.01.08.21.38.13;	author jbj;	state Exp;
branches
	1.1.2.1
	1.1.8.1;
next	;

1.1.2.1
date	2003.03.01.20.23.13;	author jbj;	state Exp;
branches;
next	;

1.1.8.1
date	2005.01.25.05.24.50;	author jbj;	state Exp;
branches;
next	1.1.8.2;

1.1.8.2
date	2005.05.30.06.43.17;	author jbj;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Permit file names with spaces.
@
text
@#!/bin/sh

if [ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ]; then
	exit 0
fi

case `uname -a` in
Darwin*) exit 0 ;;
*) ;;
esac

# Strip static libraries.
for f in `find $RPM_BUILD_ROOT -type f -a -exec file {} \; | \
        grep -v "^${RPM_BUILD_ROOT}/\?usr/lib/debug"  | \
	grep 'current ar archive' | \
	sed -n -e 's/^\(.*\):[ 	]*current ar archive/\1/p'`; do
	strip -g "$f"
done
@


1.1
log
@- python: put rpmmodule.so where python expects to find.
- add brp-strip-static-archive build root policy helper.
- add -lelf to rpm LDFLAGS, not LDADD, since there is no libelf.la now.
@
text
@d7 5
d17 1
a17 1
	strip -g $f
@


1.1.8.1
log
@macosx/opendarwin hackery, take 1.
@
text
@a6 5
case `uname -a` in
Darwin*) exit 0 ;;
*) ;;
esac

@


1.1.8.2
log
@Permit file names with spaces.
@
text
@d17 1
a17 1
	strip -g "$f"
@


1.1.2.1
log
@Backport db-4.1.25 changes, more, from rpm-4.2.
@
text
@@

