From: Brian J. Murrell Date: Tue, 30 Mar 2010 18:40:46 +0000 (-0700) Subject: b=15057 fix file ownerships in lustre-modules RPM X-Git-Tag: 1.10.0.39~20 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=62026b7ca2f3777a39301fa12a27fc9ee773a81e 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 --- diff --git a/lustre.spec.in b/lustre.spec.in index 144a638..868e8f8 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