]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- commented out code that causes problems
authorankry <ankry@pld-linux.org>
Tue, 9 Nov 2004 15:41:28 +0000 (15:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    builder.sh -> 1.292

builder.sh

index b907ce0c3baed64a1ac7666b43edf7a4713793bf..55746a717498aae7250825ecb2ed1da00f894ce3 100644 (file)
@@ -314,9 +314,12 @@ parse_spec()
        PACKAGE_VERSION="`$RPM -q --qf '%{VERSION}\n' --specfile ${SPECFILE} 2> /dev/null| head -n 1`"
        PACKAGE_RELEASE="`$RPM -q --qf '%{RELEASE}\n' --specfile ${SPECFILE} 2> /dev/null | head -n 1`"
 
-       if [ -z "$PACKAGE_NAME" -o -z "$PACKAGE_VERSION" -o -z "$PACKAGE_RELEASE" ]; then
-                Exit_error err_no_package_data;
-       fi
+# These variables may be unset after first cache_rpm_dump call
+# (because of not-yet-retrieved icon file)
+#
+#      if [ -z "$PACKAGE_NAME" -o -z "$PACKAGE_VERSION" -o -z "$PACKAGE_RELEASE" ]; then
+#               Exit_error err_no_package_data;
+#      fi
 
        if [ -n "$BE_VERBOSE" ]; then
                echo "- Sources :  `nourl $SOURCES`"
This page took 0.039856 seconds and 4 git commands to generate.