fix license handling

This commit is contained in:
Tom Callaway 2014-08-05 17:11:11 +02:00
parent a96b4e11c4
commit f766d72ecb

View File

@ -2,7 +2,7 @@ Summary: Simple kernel loader which boots from a FAT filesystem
Name: syslinux Name: syslinux
Version: 6.02 Version: 6.02
%define tarball_version 6.02 %define tarball_version 6.02
Release: 5%{?dist} Release: 6%{?dist}
License: GPLv2+ License: GPLv2+
Group: Applications/System Group: Applications/System
URL: http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project URL: http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project
@ -159,7 +159,9 @@ rm -rf %{buildroot}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc NEWS README* COPYING %{!?_licensedir:%global license %%doc}
%license COPYING
%doc NEWS README*
%doc doc/* %doc doc/*
%doc sample %doc sample
%{_mandir}/man1/gethostip* %{_mandir}/man1/gethostip*
@ -181,6 +183,8 @@ rm -rf %{buildroot}
%files perl %files perl
%defattr(-,root,root) %defattr(-,root,root)
%{!?_licensedir:%global license %%doc}
%license COPYING
%{_mandir}/man1/lss16toppm* %{_mandir}/man1/lss16toppm*
%{_mandir}/man1/ppmtolss16* %{_mandir}/man1/ppmtolss16*
%{_mandir}/man1/syslinux2ansi* %{_mandir}/man1/syslinux2ansi*
@ -196,6 +200,8 @@ rm -rf %{buildroot}
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{!?_licensedir:%global license %%doc}
%license COPYING
%dir %{_datadir}/syslinux/com32 %dir %{_datadir}/syslinux/com32
%{_datadir}/syslinux/com32 %{_datadir}/syslinux/com32
@ -231,6 +237,8 @@ rm -rf %{buildroot}
%ifarch %{x86_64} %ifarch %{x86_64}
%files efi64 %files efi64
%{!?_licensedir:%global license %%doc}
%license COPYING
%dir %{_datadir}/syslinux/efi64 %dir %{_datadir}/syslinux/efi64
%{_datadir}/syslinux/efi64 %{_datadir}/syslinux/efi64
%endif %endif
@ -247,6 +255,9 @@ elif [ -f /boot/extlinux.conf ]; then \
fi fi
%changelog %changelog
* Tue Aug 5 2014 Tom Callaway <spot@fedoraproject.org> - 6.02-6
- fix license handling
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.02-5 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.02-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild