tModified RPM specfile to allow building by non-root users - vaccinewars - be a… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit b7d0fea49c503bd45bdd6ecbdd980c5b0fc7b8fe | |
parent 6255a5767989271fbcc772ad77693ea4ce92c098 | |
Author: Ben Webb <[email protected]> | |
Date: Wed, 17 Oct 2001 17:02:50 +0000 | |
Modified RPM specfile to allow building by non-root users | |
Diffstat: | |
M dopewars.spec | 36 +++++++++++++++++------------… | |
1 file changed, 20 insertions(+), 16 deletions(-) | |
--- | |
diff --git a/dopewars.spec b/dopewars.spec | |
t@@ -36,23 +36,27 @@ ${RPM_BUILD_ROOT}/usr/bin/dopewars -C ${RPM_BUILD_ROOT}/us… | |
rm -rf ${RPM_BUILD_ROOT} | |
%files | |
-%doc ChangeLog LICENCE README | |
-%doc doc/aiplayer.html doc/clientplay.html doc/configfile.html doc/credits.html | |
-%doc doc/developer.html doc/example-cfg doc/i18n.html doc/index.html | |
-%doc doc/installation.html doc/metaserver.html doc/server.html | |
-%doc doc/servercommands.html doc/windows.html | |
-/usr/bin/dopewars | |
-%config /usr/share/dopewars.sco | |
-/usr/man/man6/dopewars.6.gz | |
-/usr/share/gnome/apps/Games/dopewars.desktop | |
-/usr/share/pixmaps/dopewars-pill.png | |
-/usr/share/pixmaps/dopewars-weed.png | |
-/usr/share/pixmaps/dopewars-shot.png | |
-/usr/share/locale/de/LC_MESSAGES/dopewars.mo | |
-/usr/share/locale/pl/LC_MESSAGES/dopewars.mo | |
-/usr/share/locale/pt_BR/LC_MESSAGES/dopewars.mo | |
-/usr/share/locale/fr/LC_MESSAGES/dopewars.mo | |
+%attr(-,root,root) %doc ChangeLog LICENCE README | |
+%attr(-,root,root) %doc doc/aiplayer.html doc/clientplay.html | |
+%attr(-,root,root) %doc doc/configfile.html doc/credits.html doc/developer.html | |
+%attr(-,root,root) %doc doc/example-cfg doc/i18n.html doc/index.html | |
+%attr(-,root,root) %doc doc/installation.html doc/metaserver.html | |
+%attr(-,root,root) %doc doc/server.html doc/servercommands.html | |
+%attr(-,root,root) %doc doc/windows.html | |
+%attr(2755,root,games) /usr/bin/dopewars | |
+%attr(0660,root,games) %config /usr/share/dopewars.sco | |
+%attr(-,root,root) /usr/man/man6/dopewars.6.gz | |
+%attr(-,root,root) /usr/share/gnome/apps/Games/dopewars.desktop | |
+%attr(-,root,root) /usr/share/pixmaps/dopewars-pill.png | |
+%attr(-,root,root) /usr/share/pixmaps/dopewars-weed.png | |
+%attr(-,root,root) /usr/share/pixmaps/dopewars-shot.png | |
+%attr(-,root,root) /usr/share/locale/de/LC_MESSAGES/dopewars.mo | |
+%attr(-,root,root) /usr/share/locale/pl/LC_MESSAGES/dopewars.mo | |
+%attr(-,root,root) /usr/share/locale/pt_BR/LC_MESSAGES/dopewars.mo | |
+%attr(-,root,root) /usr/share/locale/fr/LC_MESSAGES/dopewars.mo | |
%changelog | |
* Wed Sep 26 2001 Ben Webb <[email protected]> | |
- Added support for a buildroot | |
+* Wed Oct 17 2001 Ben Webb <[email protected]> | |
+ - Added in %attrs to allow building by non-root users |