tweak user creation, update file ownership
@@ -60,7 +60,7 @@ rm -rf $RPM_BUILD_ROOT
%pre
getent passwd %{testuser} >/dev/null || \
/usr/sbin/useradd -U -c "OpenHPC integration test account" \
- -s /bin/bash -r -d /home/%{testuser} %{testuser}
+ -s /bin/bash -d /home/%{testuser} %{testuser}
exit 0
%post
@@ -69,7 +69,7 @@ exit 0
%files
-%defattr(-,root,root,-)
+%defattr(-,%{testuser},%{testuser},-)
/home/%{testuser}/tests
