Re: Request for volunteers: Find packages that rely on imake

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

 



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

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux