]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- display some error message when source files are missing
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 9 Jan 2007 16:10:24 +0000 (16:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-build-failure-error.patch -> 1.1

rpm-build-failure-error.patch [new file with mode: 0644]

diff --git a/rpm-build-failure-error.patch b/rpm-build-failure-error.patch
new file mode 100644 (file)
index 0000000..4adda43
--- /dev/null
@@ -0,0 +1,11 @@
+--- build/parsePrep.c.org      2007-01-09 16:59:32.048077000 +0100
++++ build/parsePrep.c  2007-01-09 17:08:34.245962250 +0100
+@@ -588,6 +588,8 @@
+       Rurlfn = rpmGetPath(Rmacro, sp->source, NULL);
+       if (Rurlfn == NULL || *Rurlfn == '%' || !strcmp(Lurlfn, Rurlfn)) {
++          rpmError(RPMERR_BADFILENAME, _("file %s missing: %s\n"),
++              Lurlfn, strerror(errno));
+           ec++;
+           goto bottom;
+       }
This page took 0.032117 seconds and 4 git commands to generate.