Browse Source

fix xmamerc installation; remove var stuff because this is no longer supported by current XMAME (is done on a user basis now)

Ralf S. Engelschall 22 years ago
parent
commit
927d84774a
1 changed files with 3 additions and 6 deletions
  1. 3 6
      xmame/xmame.spec

+ 3 - 6
xmame/xmame.spec

@@ -99,8 +99,7 @@ AutoReqProv:  no
         $RPM_BUILD_ROOT%{l_prefix}/bin \
         $RPM_BUILD_ROOT%{l_prefix}/man/man6 \
         $RPM_BUILD_ROOT%{l_prefix}/etc/xmame \
-        $RPM_BUILD_ROOT%{l_prefix}/share/xmame \
-        $RPM_BUILD_ROOT%{l_prefix}/var/xmame
+        $RPM_BUILD_ROOT%{l_prefix}/share/xmame
 
     #   install program and manual page
     %{l_shtool} install -c -s -m 755 \
@@ -109,7 +108,7 @@ AutoReqProv:  no
         doc/xmame.6 $RPM_BUILD_ROOT%{l_prefix}/man/man6/xmame.6
 
     #   install default configuration
-    %{l_shtool} install -c -m 644 \
+    %{l_shtool} install -c -m 644 %{l_value -s l_prefix} \
         %{SOURCE xmamerc} $RPM_BUILD_ROOT%{l_prefix}/etc/xmame/
 
     #   install .DAT files
@@ -122,9 +121,7 @@ AutoReqProv:  no
         $RPM_BUILD_ROOT%{l_prefix}/share/xmame/
 
     #   determine installation files
-    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
-        %{l_files_std} \
-        '%attr(1777,%{l_musr},%{l_mgrp}) %{l_prefix}/var/xmame'
+    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
 
 %files -f files