[Rpm-maint] [Suse patch] Run filelist check on build despite other errors

Panu Matilainen pmatilai at redhat.com
Fri May 25 09:57:19 UTC 2007


This causes the unpackaged files check to be run even if there are other 
errors in the file processing. This is rather handy in spotting spec typos 
and such:

RPM build errors:
     File not found: /var/tmp/scripttest-0.1-1-root-pmatilai/usr/bin/tyop
     Installed (but unpackaged) file(s) found:
    /usr/bin/typo

Without it, you'd need to look into the buildroot manually to find out 
what ended up in there. Applied (slightly different version).

 	- Panu -

---

--- build/files.c	2007/03/19 11:52:22	1.103
+++ build/files.c	2007/03/19 14:13:05
@@ -2517,6 +2517,8 @@
  	if (checkFiles(check_fileList) > 0)
  	    res = 1;
      }
+    else
+       checkFiles(check_fileList);

      check_fileList = freeStringBuf(check_fileList);




More information about the Rpm-maint mailing list