Hi packaging gurus, I am regularly rebuilding current Factory packages for ancient SLES releases (SLES15, SLES12-SP1...4, sometimes even SLES11). Many current spec files have gotten deprived of their %defattr(...) lines, which causes warnings like these: [ 25s] python-wheel.src:102: W: files-attr-not-set [ 25s] python-wheel.src:103: W: files-attr-not-set [ 25s] python-wheel.src:104: W: files-attr-not-set [ 25s] python-wheel.src:105: W: files-attr-not-set [ 25s] python-wheel.src:106: W: files-attr-not-set [ 25s] A file or a directory entry in a %files section does not have attributes set [ 25s] which may result in unexpected file permissions and thus security issues in [ 25s] the resulting binary package depending on the build environment and rpmbuild [ 25s] version (typically < 4.4). Add default attributes using %defattr before it in [ 25s] the %files section, or use per entry %attr's. Even SLES11-SP4 has rpm version 4.4.2.3, so maybe this can just be ignored. Or is there some prjconf or rpm macro magic that lets me automatically insert %defattr lines after every %file line? Thanks for any insights, Stefan -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org