> On Fri, 2013-06-28 at 11:02 +0200, Jens Neu wrote: >> >> works. > > In that case, apparently, the problem is that some links can't be > created, so in order to sort it out, you can add debugging statements to > the SPEC such as > > echo "XFROM: ../../$i" > echo "XTO: $RPM_BUILD_ROOT/%{_includedir}/%{name}-private/" > > and then have a look at the build log and inspect the build root to find > out why this could possibly fail... If those commands are not executed in a subshell, shouldn't the failure then be seen in the rpm build log (which is why I proposed to not run the subshell)? Simon