Use the common utils + separate stable and canary installations

This commit is contained in:
TheElectronWill 2017-09-17 14:15:47 +02:00
parent d4215593a4
commit 7ade5025d9
9 changed files with 319 additions and 288 deletions

View file

@ -3,12 +3,12 @@
# downloaded_dir
# desktop_file
%define install_dir /opt/discord
%define install_dir /opt/discord-stable
%define apps_dir /usr/share/applications
Name: discord
Name: discord-stable
Version: %{version_number}
Release: stable%{?dist}
Release: 1%{?dist}
Summary: Free Voice and Text Chat for Gamers.
Group: Applications/Internet
@ -33,6 +33,7 @@ cp "%{desktop_file}" "%{buildroot}%{apps_dir}"
chmod +x "%{buildroot}%{install_dir}"/*.so
%files
/*
%{install_dir}
%{apps_dir}/*