Add missing %license macro

This commit is contained in:
Stephen Gallagher 2017-02-01 15:13:21 -05:00
parent ea08fd31a1
commit 55a0c09e0e
No known key found for this signature in database
GPG Key ID: 7A25556236BAA3A3

View File

@ -1,7 +1,7 @@
Summary: Utilities for managing ext2, ext3, and ext4 filesystems Summary: Utilities for managing ext2, ext3, and ext4 filesystems
Name: e2fsprogs Name: e2fsprogs
Version: 1.43.4 Version: 1.43.4
Release: 1%{?dist} Release: 2%{?dist}
# License tags based on COPYING file distinctions for various components # License tags based on COPYING file distinctions for various components
License: GPLv2 License: GPLv2
@ -278,12 +278,14 @@ exit 0
%files libs %files libs
%defattr(-,root,root) %defattr(-,root,root)
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
%license NOTICE
%{_libdir}/libe2p.so.* %{_libdir}/libe2p.so.*
%{_libdir}/libext2fs.so.* %{_libdir}/libext2fs.so.*
%files static %files static
%defattr(-,root,root) %defattr(-,root,root)
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
%license NOTICE
%{_libdir}/*.a %{_libdir}/*.a
%files devel %files devel
@ -300,6 +302,7 @@ exit 0
%files -n libcom_err %files -n libcom_err
%defattr(-,root,root) %defattr(-,root,root)
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
%license NOTICE
%{_libdir}/libcom_err.so.* %{_libdir}/libcom_err.so.*
%files -n libcom_err-devel %files -n libcom_err-devel
@ -316,6 +319,7 @@ exit 0
%files -n libss %files -n libss
%defattr(-,root,root) %defattr(-,root,root)
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
%license NOTICE
%{_libdir}/libss.so.* %{_libdir}/libss.so.*
%files -n libss-devel %files -n libss-devel
@ -328,6 +332,9 @@ exit 0
%{_libdir}/pkgconfig/ss.pc %{_libdir}/pkgconfig/ss.pc
%changelog %changelog
* Wed Feb 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 1.43.4-2
- Add missing %%license macro
* Tue Jan 31 2017 Eric Sandeen <sandeen@redhat.com> 1.43.4-1 * Tue Jan 31 2017 Eric Sandeen <sandeen@redhat.com> 1.43.4-1
- New upstream release - New upstream release