[packages/rpm-pld-macros] - make root owner of files in source packages, 2.045

baggins baggins at pld-linux.org
Tue Feb 11 02:48:19 CET 2025


commit 13e68df819a8b948fdd513a139c52f83fa731b8c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Feb 11 01:57:25 2025 +0100

    - make root owner of files in source packages, 2.045

 macros.pld          | 3 +++
 rpm-pld-macros.spec | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/rpm-pld-macros.spec b/rpm-pld-macros.spec
index 7abee4f..ee3679d 100644
--- a/rpm-pld-macros.spec
+++ b/rpm-pld-macros.spec
@@ -1,4 +1,4 @@
-%define		rpm_macros_rev	2.044
+%define		rpm_macros_rev	2.045
 %define		find_lang_rev	1.42
 # split into individual X_prov_ver if there is a reason to desync
 %define		prov_ver	4.15
diff --git a/macros.pld b/macros.pld
index 764c408..131ad0b 100644
--- a/macros.pld
+++ b/macros.pld
@@ -162,6 +162,9 @@ pakietu oraz przy odpluskwianiu samego pakietu.\
 %_duplicate_files_terminate_build	1
 %_unpackaged_files_terminate_build	0
 
+# Make files in .src.rpm owned by root, but preserve permissions
+%_srcdefattr	(-,root,root,-)
+
 #-----------------------------------------------------------------
 # CFLAGS and LDFLAGS used to build
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-pld-macros.git/commitdiff/13e68df819a8b948fdd513a139c52f83fa731b8c



More information about the pld-cvs-commit mailing list