commit 6d4a05d72b1f4344e57292cae08703caeb7c29fa
Author: David Auer <dreua(a)posteo.de>
Date: Sat Feb 19 13:01:59 2022 +0100
Fix original desktop file being shipped
discord.spec | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/discord.spec b/discord.spec
index 0b46d77..511a48a 100644
--- a/discord.spec
+++ b/discord.spec
@@ -48,8 +48,6 @@ mkdir -p %{buildroot}/%{_bindir}/
mkdir -p %{buildroot}/%{_libdir}/discord
mkdir -p %{buildroot}/%{_datadir}/applications
-cp -r * %{buildroot}/%{_libdir}/discord/
-ln -sf ../%{_lib}/discord/Discord %{buildroot}/%{_bindir}/
desktop-file-install \
--set-icon=%{_libdir}/discord/discord.png \
--set-key=Exec --set-value=%{_bindir}/Discord \
@@ -57,6 +55,9 @@ desktop-file-install \
--dir=%{buildroot}/%{_datadir}/applications \
discord.desktop
+cp -r * %{buildroot}/%{_libdir}/discord/
+ln -sf ../%{_lib}/discord/Discord %{buildroot}/%{_bindir}/
+
%files
%{_libdir}/discord/
%{_bindir}/Discord
Show replies by date