commit 61cb9711cc01d69de286c1ff0bf14d788f932930
Author: Elan Ruusamäe <[email protected]>
Date:   Wed Oct 12 20:14:03 2005 +0000

    - completed arekm's nobody request
    
    Changed files:
        adapter.awk -> 1.201

 adapter.awk | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index b5c9e02..246755a 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -938,6 +938,11 @@ function use_files_macros( i, n, t, a)
        gsub("^%{_sbindir}", "%attr(755,root,root) %{_sbindir}")
        gsub("^%{_bindir}", "%attr(755,root,root) %{_bindir}")
 
+       # uid/gid nobody is not valid in %files
+       if (/%attr([^)]*nobody[^)]*)/ && !/FIXME/) {
+               $0 = $0 " # FIXME nobody user/group can't own files! 
-adapter.awk"
+       }
+
        # replace back
        gsub("%{_sysconfdir}/cron\.d", "/etc/cron.d")
        gsub("%{_sysconfdir}/crontab\.d", "/etc/cron.d")
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to