]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- check also for ../SOURCES for _topdir
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 1 Mar 2008 12:12:00 +0000 (12:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.436

rpm.macros

index 9a95353f66b71de7716ee9804b4d3e9df9298d9c..acd9432d62e0f70f55b33b4ea7d0b0c517317ef6 100644 (file)
@@ -35,7 +35,7 @@
 %__libtoolize          libtoolize --copy --force
 
 #      Path to top of build area.
-%_topdir               %(test -d ../SPECS && (cd ..; pwd) || echo $HOME/rpm)
+%_topdir               %(test -d ../SPECS -a -d ../SOURCES && (cd ..; pwd) || echo $HOME/rpm)
 
 #      The number of cvs changelog entries kept when building package.
 %_buildchangelogtruncate 20
This page took 0.037398 seconds and 4 git commands to generate.