Author: baggins                      Date: Sun May 13 15:27:53 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- warn if spec name is different from package name

---- Files affected:
SPECS:
   builder (1.504 -> 1.505) 

---- Diffs:

================================================================
Index: SPECS/builder
diff -u SPECS/builder:1.504 SPECS/builder:1.505
--- SPECS/builder:1.504 Sun May 13 17:06:48 2007
+++ SPECS/builder       Sun May 13 17:27:48 2007
@@ -516,6 +516,10 @@
        PACKAGE_VERSION=$(rpm_dump | awk '$2 == "PACKAGE_VERSION" { print $3; 
exit}')
        PACKAGE_RELEASE=$(rpm_dump | awk '$2 == "PACKAGE_RELEASE" { print $3; 
exit}')
 
+       if [ "$PACKAGE_NAME" != "$ASSUMED_NAME" ]; then
+               echo "WARNING! Spec name ($ASSUMED_NAME) does not agree with 
package name ($PACKAGE_NAME)"
+       fi
+
        if [ -n "$BE_VERBOSE" ]; then
                echo "- Sources :  `nourl $SOURCES`"
                if [ -n "$PATCHES" ]; then
================================================================

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

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

Reply via email to