rpm/nodefattr.diff

18 lines
519 B
Diff
Raw Normal View History

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
@@ -1793,7 +1793,9 @@ static rpmRC processPackageFiles(rpmSpec
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;