fix license handling

This commit is contained in:
Tom Callaway 2014-07-12 10:32:19 -04:00
parent 5c68a6340a
commit 4893a0825e

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.42.11 Version: 1.42.11
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
@ -209,7 +209,9 @@ exit 0
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING README RELEASE-NOTES %doc README RELEASE-NOTES
%{!?_licensedir:%global license %%doc}
%license COPYING
%config(noreplace) /etc/mke2fs.conf %config(noreplace) /etc/mke2fs.conf
%config(noreplace) /etc/e2fsck.conf %config(noreplace) /etc/e2fsck.conf
@ -274,13 +276,15 @@ exit 0
%files libs %files libs
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING %{!?_licensedir:%global license %%doc}
%license COPYING
%{_libdir}/libe2p.so.* %{_libdir}/libe2p.so.*
%{_libdir}/libext2fs.so.* %{_libdir}/libext2fs.so.*
%files static %files static
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING %{!?_licensedir:%global license %%doc}
%license COPYING
%{_libdir}/*.a %{_libdir}/*.a
%files devel %files devel
@ -296,7 +300,8 @@ exit 0
%files -n libcom_err %files -n libcom_err
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING %{!?_licensedir:%global license %%doc}
%license COPYING
%{_libdir}/libcom_err.so.* %{_libdir}/libcom_err.so.*
%files -n libcom_err-devel %files -n libcom_err-devel
@ -312,7 +317,8 @@ exit 0
%files -n libss %files -n libss
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING %{!?_licensedir:%global license %%doc}
%license COPYING
%{_libdir}/libss.so.* %{_libdir}/libss.so.*
%files -n libss-devel %files -n libss-devel
@ -325,6 +331,9 @@ exit 0
%{_libdir}/pkgconfig/ss.pc %{_libdir}/pkgconfig/ss.pc
%changelog %changelog
* Sat Jul 12 2014 Tom Callaway <spot@fedoraproject.org> 1.42.11-2
- fix license handling
* Fri Jul 11 2014 Eric Sandeen <sandeen@redhat.com> 1.42.11-1 * Fri Jul 11 2014 Eric Sandeen <sandeen@redhat.com> 1.42.11-1
- New upstream release - New upstream release