build: RPM spec file updates

Remove BuildRoot:, Group:, and %clean in accordance with the Fedora packaging
guidelines.

Reference: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_tags_and_sections
This commit is contained in:
Jim Broadus 2020-12-17 00:16:55 -08:00 committed by John Maguire
parent 41513527cd
commit c9557237cf
1 changed files with 0 additions and 6 deletions

View File

@ -3,11 +3,9 @@ Version: @CLEMENTINE_VERSION_RPM_V@
Release: @CLEMENTINE_VERSION_RPM_R@%{?dist}
Summary: A music player and library organiser
Group: Applications/Multimedia
License: GPLv3
URL: http://www.clementine-player.org/
Source0: %{name}-@CLEMENTINE_VERSION_SPARKLE@.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: cmake
BuildRequires: make
@ -107,10 +105,6 @@ cd bin
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT/usr/share/icons/ubuntu-mono-{dark,light}/apps/24/clementine-panel*.png
%clean
cd bin
make clean
%files
%defattr(-,root,root,-)