rpms/goldendict/devel goldendict.spec,1.7,1.8

helloworld1 helloworld1 at fedoraproject.org
Tue May 11 17:08:58 UTC 2010


Author: helloworld1

Update of /cvs/pkgs/rpms/goldendict/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv7844

Modified Files:
	goldendict.spec 
Log Message:


fix desktop install problem



Index: goldendict.spec
===================================================================
RCS file: /cvs/pkgs/rpms/goldendict/devel/goldendict.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- goldendict.spec	11 May 2010 16:21:55 -0000	1.7
+++ goldendict.spec	11 May 2010 17:08:58 -0000	1.8
@@ -55,14 +55,7 @@ rm -rf %{buildroot}/%{_datadir}/app-inst
 # Fix the icon name in desktop file
 sed -i 's/\/usr\/share\/pixmaps\/goldendict\.png/goldendict/g' %{buildroot}/%{_datadir}/applications/goldendict.desktop
 # Fix the categories in desktop file
-desktop-file-install \
-    --add-category="Utility" \
-    --remove-category="Office" \
-    --remove-category="Education" \
-    --remove-category="Applications" \ 
-    --delete-original \
-    --dir=%{buildroot}/%{_datadir}/applications	\
-    %{buildroot}/%{_datadir}/applications/goldendict.desktop
+desktop-file-install --add-category="Utility" --remove-category="Office" --remove-category="Education" --remove-category="Applications"	--delete-original --dir=%{buildroot}/%{_datadir}/applications %{buildroot}/%{_datadir}/applications/goldendict.desktop
 install -d %{buildroot}/%{_datadir}/goldendict/locale
 install -pm 644 locale/*.qm %{buildroot}/%{_datadir}/goldendict/locale
 



More information about the scm-commits mailing list