diff options
author | François Andriot <albator78@libertysurf.fr> | 2020-04-14 12:07:03 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2020-04-23 10:32:08 +0200 |
commit | 4a082768066b2b3ac46d6aaa2f6954be6e021d1b (patch) | |
tree | ccaaf127e407feaed165c8d59d6bd995a5b84853 /redhat/applications/kcpuload | |
parent | edc1bf4a4939ceb6ce016e01c8fb5b81a800eb96 (diff) | |
download | tde-packaging-4a082768066b2b3ac46d6aaa2f6954be6e021d1b.tar.gz tde-packaging-4a082768066b2b3ac46d6aaa2f6954be6e021d1b.zip |
RPM: various updates for TDE 14.0.8
Diffstat (limited to 'redhat/applications/kcpuload')
-rw-r--r-- | redhat/applications/kcpuload/kcpuload.spec | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/redhat/applications/kcpuload/kcpuload.spec b/redhat/applications/kcpuload/kcpuload.spec index d38734cff..2a15211f7 100644 --- a/redhat/applications/kcpuload/kcpuload.spec +++ b/redhat/applications/kcpuload/kcpuload.spec @@ -144,9 +144,7 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} -C build -# Fix desktop icon location -%__mkdir_p "%{?buildroot}%{tde_tdeappdir}" -%__mv -f "%{?buildroot}%{tde_datadir}/applnk/System/%{tde_pkg}.desktop" "%{?buildroot}%{tde_tdeappdir}" +%find_lang %{tde_pkg} || touch %{tde_pkg}.lang # Fix desktop files (openSUSE only) echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" @@ -159,7 +157,7 @@ echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" %__rm -rf %{buildroot} -%files +%files -f %{tde_pkg}.lang %defattr(-,root,root,-) %{tde_bindir}/kcpuload %{tde_tdeappdir}/kcpuload.desktop |