Remove unnecessary definition of %license
These were only needed for RHEL-6: https://access.redhat.com/documentation/en-us/red_hat_software_collections/3/html/packaging_guide/sect-differences_between_red_hat_enterprise_linux_6_and_7 Signed-off-by: Ondrej Mosnáček <omosnacek@gmail.com>
This commit is contained in:
parent
13aacd8531
commit
e6ed279ca1
@ -90,7 +90,6 @@ cp man/growpart.* $RPM_BUILD_ROOT/%{_mandir}/man1/
|
||||
%if %{BuildMainPackage}
|
||||
%files
|
||||
%doc ChangeLog
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license LICENSE
|
||||
%{_bindir}/cloud-localds
|
||||
%{_bindir}/write-mime-multipart
|
||||
@ -107,7 +106,6 @@ cp man/growpart.* $RPM_BUILD_ROOT/%{_mandir}/man1/
|
||||
# Files for the growpart subpackage
|
||||
%files growpart
|
||||
%doc ChangeLog
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license LICENSE
|
||||
%{_bindir}/growpart
|
||||
%doc %{_mandir}/man1/growpart.*
|
||||
|
Loading…
Reference in New Issue
Block a user