use %license

This commit is contained in:
Jens Petersen 2016-09-28 18:32:27 +09:00
parent fdfc500d11
commit aa1e470bd1

View File

@ -75,7 +75,7 @@ mv %{buildroot}%{_datadir}/%{name}-%{version}/hlint.1 %{buildroot}%{_mandir}/man
%files
%doc LICENSE
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%{_datadir}/%{name}-%{version}
@ -83,7 +83,7 @@ mv %{buildroot}%{_datadir}/%{name}-%{version}/hlint.1 %{buildroot}%{_mandir}/man
%files -n ghc-%{name} -f ghc-%{name}.files
%doc LICENSE
%license LICENSE
%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files