SOURCES: rpm.macros - check also for ../SOURCES for _topdir
glen
glen at pld-linux.org
Sat Mar 1 13:12:06 CET 2008
Author: glen Date: Sat Mar 1 12:12:06 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- check also for ../SOURCES for _topdir
---- Files affected:
SOURCES:
rpm.macros (1.435 -> 1.436)
---- Diffs:
================================================================
Index: SOURCES/rpm.macros
diff -u SOURCES/rpm.macros:1.435 SOURCES/rpm.macros:1.436
--- SOURCES/rpm.macros:1.435 Sun Feb 17 23:29:34 2008
+++ SOURCES/rpm.macros Sat Mar 1 13:12:00 2008
@@ -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
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/rpm.macros?r1=1.435&r2=1.436&f=u
More information about the pld-cvs-commit
mailing list