From 405fb6c4d171e78ae8ddd1d18bd6d369f6a708a3 Mon Sep 17 00:00:00 2001 From: "Brian J. Murrell" Date: Wed, 10 Feb 2010 13:47:45 -0500 Subject: [PATCH] b=15057 fix file ownerships in lustre-modules RPM The files in the lustre-modules RPM were not being set with a correct owner and were therefore just using what was on the filesystem. i=yangsheng i=wangyb --- lustre.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre.spec.in b/lustre.spec.in index 2ae5b3b..c9d38e1 100644 --- a/lustre.spec.in +++ b/lustre.spec.in @@ -188,7 +188,7 @@ if [ -d $RPM_BUILD_ROOT%{_libdir}/lustre/liblustre/tests ] ; then fi pushd $RPM_BUILD_ROOT >/dev/null -find lib/modules/%{kversion}/kernel -type f | awk "!/($modules_excludes)/ {print \"/\"\$0}" >>$RPM_BUILD_DIR/lustre-%{version}/lustre-modules.files +find lib/modules/%{kversion}/kernel -type f | awk "!/($modules_excludes)/ {print \"%attr(-, root, root) /\"\$0}" >>$RPM_BUILD_DIR/lustre-%{version}/lustre-modules.files popd >/dev/null %files -f lustre.files -- 1.8.3.1