add gcc build req, drop group, use %%license

This commit is contained in:
Peter Robinson 2018-07-17 16:55:00 +01:00
parent c6954f44c0
commit 07624ad5c2

View File

@ -3,10 +3,11 @@ Summary: Utilities for making and checking MS-DOS FAT filesystems on Linux
Version: 4.1
Release: 6%{?dist}
License: GPLv3+
Group: Applications/System
Source0: http://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
URL: http://github.com/dosfstools/dosfstools
BuildRequires: gcc
%description
The dosfstools package includes the mkdosfs and dosfsck utilities,
which respectively make and check MS-DOS FAT filesystems on hard
@ -23,7 +24,8 @@ make %{?_smp_mflags} CFLAGS="%{optflags} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS
make DESTDIR=%{buildroot} install PREFIX=%{_prefix}
%files
%doc ChangeLog COPYING doc/*
%license COPYING
%doc ChangeLog doc/*
%{_sbindir}/*
%{_mandir}/man8/*