On Wed, 22 Apr 2009 18:18:07 -0400 Chuck Anderson <cra@xxxxxxx> wrote: > ERROR: Patch linux-2.6-build-nonintconfig.patch not listed as a > source patch in specfile > error: Bad exit status from /var/tmp/rpm-tmp.8pegaB (%prep) > > this is due to the following code in ApplyPatch(): > > if ! egrep "^Patch[0-9]+: $patch\$" %{_specdir}/%{name}.spec ; then > if [ "${patch:0:10}" != "patch-2.6." ] ; then > echo "ERROR: Patch $patch not listed as a source patch in specfile" > exit 1 > fi > fi 2>/dev/null > It's trying to grep in {_specdir}/kernel-vanilla.spec because of the ugly name-munging that's used to build the vanilla kernel. Fixed in 2.6.29.1-114: if ! egrep "^Patch[0-9]+: $patch\$" %{_specdir}/${RPM_PACKAGE_NAME%%%%%{?variant}}.spec ; then _______________________________________________ Fedora-kernel-list mailing list Fedora-kernel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-kernel-list