summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2016-10-01 11:13:58 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2016-10-01 11:13:58 +0200
commite2db2b23e595f9bfc8fe4bf0382ec803c7d48e73 (patch)
tree5251b568810a76e27121aa65b4e4cbc0cba60de7 /redhat
parent56bee759ee359e2a4d0dec0a57e3c717f18391de (diff)
downloadtde-packaging-e2db2b23e595f9bfc8fe4bf0382ec803c7d48e73.tar.gz
tde-packaging-e2db2b23e595f9bfc8fe4bf0382ec803c7d48e73.zip
RPM packaging: fix qalculate categories in OBS
Diffstat (limited to 'redhat')
-rw-r--r--redhat/applications/qalculate-tde/qalculate-tde.spec5
1 files changed, 2 insertions, 3 deletions
diff --git a/redhat/applications/qalculate-tde/qalculate-tde.spec b/redhat/applications/qalculate-tde/qalculate-tde.spec
index 2da0f36a8..cfa176787 100644
--- a/redhat/applications/qalculate-tde/qalculate-tde.spec
+++ b/redhat/applications/qalculate-tde/qalculate-tde.spec
@@ -138,8 +138,7 @@ export PATH="%{tde_bindir}:${PATH}"
# Updates applications categories for openSUSE
%if 0%{?suse_version}
-rm -f %{buildroot}%{tde_tdeappdir}/qalculate_tde.desktop
-%suse_update_desktop_file -i qalculate_tde TDE Utility Calculator
+%suse_update_desktop_file qalculate_tde -r TDE Utility Calculator
%endif
@@ -151,8 +150,8 @@ rm -f %{buildroot}%{tde_tdeappdir}/qalculate_tde.desktop
%defattr(-,root,root,-)
%{tde_bindir}/qalculate
%{tde_bindir}/qalculate-tde
-%{tde_tdeappdir}/qalculate_tde.desktop
%{tde_datadir}/apps/qalculate_tde/
+%{tde_tdeappdir}/qalculate_tde.desktop
%{tde_tdedocdir}/HTML/en/qalculate_tde/
%{tde_datadir}/icons/hicolor/*/apps/qalculate_tde.png
%{tde_datadir}/icons/hicolor/*/actions/qalculate_convert.png