Author: sparky                       Date: Sat Jan 28 15:03:37 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use $RPMOPTS when checking for specs and sources dir, so we can change
  _topdir easyly

---- Files affected:
SPECS:
   builder (1.398 -> 1.399) 

---- Diffs:

================================================================
Index: SPECS/builder
diff -u SPECS/builder:1.398 SPECS/builder:1.399
--- SPECS/builder:1.398 Wed Jan 25 22:28:46 2006
+++ SPECS/builder       Sat Jan 28 16:03:31 2006
@@ -506,8 +506,8 @@
                set -v;
        fi
 
-       SOURCE_DIR="`$RPM --eval '%{_sourcedir}'`"
-       SPECS_DIR="`$RPM --eval '%{_specdir}'`"
+       SOURCE_DIR="`eval $RPM $RPMOPTS --eval '%{_sourcedir}'`"
+       SPECS_DIR="`eval $RPM $RPMOPTS --eval '%{_specdir}'`"
 
        __PWD="`pwd`"
 }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/builder?r1=1.398&r2=1.399&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to