tModified RPM specfile to allow building by non-root users - vaccinewars - be a doctor and try to vaccinate the world
 (HTM) git clone git://src.adamsgaard.dk/vaccinewars
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit b7d0fea49c503bd45bdd6ecbdd980c5b0fc7b8fe
 (DIR) parent 6255a5767989271fbcc772ad77693ea4ce92c098
 (HTM) Author: Ben Webb <ben@salilab.org>
       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(-)
       ---
 (DIR) diff --git a/dopewars.spec b/dopewars.spec
       t@@ -36,23 +36,27 @@ ${RPM_BUILD_ROOT}/usr/bin/dopewars -C ${RPM_BUILD_ROOT}/usr/share/dopewars.sco
        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 <ben@bellatrix.pcl.ox.ac.uk>
           - Added support for a buildroot
       +* Wed Oct 17 2001 Ben Webb <ben@bellatrix.pcl.ox.ac.uk>
       +   - Added in %attrs to allow building by non-root users