[knavalbattle] fix build (update %files mostly)

Rex Dieter rdieter at fedoraproject.org
Sat Nov 16 17:22:17 UTC 2013


commit 8e4542cada03f920f99f2394507316b8e7d2a6bf
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Sat Nov 16 11:22:31 2013 -0600

    fix build (update %files mostly)

 knavalbattle.spec |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/knavalbattle.spec b/knavalbattle.spec
index d4e1c2f..ebf4141 100644
--- a/knavalbattle.spec
+++ b/knavalbattle.spec
@@ -42,11 +42,11 @@ make %{?_smp_mflags} -C %{_target_platform}
 %install
 make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
 
-%find_lang kbattleship --with-kde
+%find_lang %{name} --with-kde
 
 
 %check
-desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/kbattleship.desktop
+desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/knavalbattle.desktop
 
 
 %post
@@ -63,14 +63,15 @@ fi
 gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
 update-desktop-database -q &> /dev/null ||:
 
-%files -f kbattleship.lang
+%files -f %{name}.lang
 %doc COPYING*
 %doc AUTHORS
-%{_kde4_bindir}/kbattleship
-%{_kde4_datadir}/applications/kde4/kbattleship.desktop
-%{_kde4_datadir}/kde4/services/kbattleship.protocol
+%{_kde4_bindir}/knavalbattle
+%{_kde4_datadir}/applications/kde4/knavalbattle.desktop
+%{_kde4_datadir}/kde4/services/knavalbattle.protocol
 %{_kde4_iconsdir}/hicolor/*/*/*
-%{_kde4_appsdir}/kbattleship/
+%{_kde4_appsdir}/knavalbattle/
+%{_kde4_appsdir}/kconf_update/knavalbattle.upd
 
 
 %changelog


More information about the scm-commits mailing list