summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaarten Vanraes <maarten.vanraes@gmail.com>2011-05-28 00:58:35 +0200
committerMaarten Vanraes <maarten.vanraes@gmail.com>2011-05-28 00:58:35 +0200
commit1731fa858c12fd35a8da5b5c7844c66ef28ac3e8 (patch)
treedbf9009dbfeca3b56dd0bbc017a3c6401da72544
parent08828cf5c86c62ee49305db7e7b4a634969567da (diff)
downloadmv-1731fa858c12fd35a8da5b5c7844c66ef28ac3e8.tar.gz
mv-1731fa858c12fd35a8da5b5c7844c66ef28ac3e8.tar.bz2
mv-1731fa858c12fd35a8da5b5c7844c66ef28ac3e8.tar.xz
mv-1731fa858c12fd35a8da5b5c7844c66ef28ac3e8.zip
generalise the spec file even further
-rw-r--r--manaplus.spec.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/manaplus.spec.in b/manaplus.spec.in
index 3b16cb036..304b0ce7c 100644
--- a/manaplus.spec.in
+++ b/manaplus.spec.in
@@ -42,7 +42,7 @@ make
%install
rm -rf %{buildroot}
-make install
+make ROOT="%{buildroot}" install
%find_lang %{name}
@@ -52,8 +52,8 @@ rm -rf %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING docs/*.txt NEWS README
-%{_gamesbindir}/%{name}
-%{_gamesdatadir}/%{name}
+%{_bindir}/%{name}
+%{_datadir}/%{name}
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/applications/%{name}.desktop
%{_mandir}/man6/%{name}*