rpm/nodefattr.diff

18 lines
519 B
Diff

Revert upstream patch that always uses %defattr(-,root,root).
Upstream should probably use a macro instead.
Index: build/files.c
===================================================================
--- build/files.c.orig
+++ build/files.c
@@ -2014,7 +2014,9 @@ static int processPackageFiles(Spec spec
nullAttrRec(&fl.cur_ar);
nullAttrRec(&fl.def_ar);
+#if 0
dupAttrRec(&root_ar, &fl.def_ar); /* XXX assume %defattr(-,root,root) */
+#endif
fl.defVerifyFlags = RPMVERIFY_ALL;
fl.nLangs = 0;