-%doc ANNOUNCE BUGS CHANGES COPYING README
-%doc ABOUT-NLS UPGRADING WHATSNEW reLyX.README
-/usr/local/bin/*
-/usr/local/man/*/*
-/usr/local/share/lyx
-/usr/local/share/locale/*/LC_MESSAGES/lyx.mo
+%attr(-,root,root) %doc ABOUT-NLS ANNOUNCE CHANGES COPYING
+%attr(-,root,root) %doc README UPGRADING WHATSNEW
+%attr(-,root,root) %doc lib/CREDITS README.reLyX
+
+%attr(-,root,root) /usr/bin/*
+%attr(-,root,root) /usr/man/*
+%attr(-,root,root) /usr/share/locale/*/LC_MESSAGES/*
+%attr(-,root,root) /usr/share/lyx