[Rpm-maint] [PATCH] Fixup find-requires linking for srcdir != builddir.

Mark Wielaard mjw at redhat.com
Tue Mar 5 20:31:06 UTC 2013

When configuring with srcdir != builddir the find-requires link would fail:
ln: failed to create symbolic link './autodeps/find-requires'

Do the link in the same way as find-provides with an explicit ${srcdir}.
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index ba68d84..a6ba079 100644
--- a/configure.ac
+++ b/configure.ac
@@ -805,7 +805,7 @@ for reqscript in ${host_cpu}-${host_os_exact}.req ${host_os_exact}.req ${host_os
 	  echo "using ${srcdir}/autodeps/${reqscript} for automatic requires generation"
-       ln -sf ${reqscript} ./autodeps/find-requires
+       ln -sf ${reqscript} ${srcdir}/autodeps/find-requires
 } done

More information about the Rpm-maint mailing list