Request for volunteers: Find packages that rely on imake

R P Herrold herrold at owlriver.com
Sun Sep 25 16:42:40 UTC 2005


On Sat, 24 Sep 2005, David Farning wrote:

> On Sat, 2005-09-24 at 21:52 -0400, R P Herrold wrote:
>> On Sat, 24 Sep 2005, Mike A. Harris wrote:
>
>> Checking my SRPM archives (14547 packages) with a semi-smart
>> scriptlet, I find these candidates:

> Can you post your script?

I wiped it, but it was like this:

#!/bin/sh
BASED="/var/ftp/pub"
for i in `find $BASED -name '*src.rpm'`; do
#
#	Note: our default build point (customarily ~/rpmbuild/BUILD/ )
#		is relocated into a local FS /var/tmp, to 
#		avoid NFS build collision and time skew issues
 	rm -rf ~/rpmbuild/SOURCES/* ~/rpmbuild/SPECS/* /var/tmp/*
 	rpm -U $i 2>/dev/null
 	IMA=`grep -i imake ~/rpmbuild/SPECS/* 2> /dev/null`
 	rpmbuild -bp `find ~/rpmbuild/SPECS/ -name '*spec'`
 	cd /var/tmp
 	NONCE=`egrep -R 'xmkmf' * 2> /dev/null`
 	[ "x$NONCE" != "x" -o "x$IMA" != "x" ] && {
 		SHRT=`basename $i`
 		echo "$SHRT 	$i "
 		echo "$IMA "
 		echo "$NONCE "
 		echo " "
 		}
done

and then manually scanning the results

-- Russ Herrold




More information about the devel mailing list