summaryrefslogtreecommitdiffstats
path: root/e2fsprogs.spec
diff options
context:
space:
mode:
authorTom Callaway <spot@fedoraproject.org>2014-07-12 10:32:19 -0400
committerTom Callaway <spot@fedoraproject.org>2014-07-12 10:32:19 -0400
commit4893a0825ec944a6d9ad1d1d84d5f880825f9e4b (patch)
tree8a983dc41f4b5714eaecdc2d8020514ab60b4bd8 /e2fsprogs.spec
parent5c68a6340a47a1a05b3225f0b3de129a9c0aa8de (diff)
downloade2fsprogs-4893a0825ec944a6d9ad1d1d84d5f880825f9e4b.tar.gz
e2fsprogs-4893a0825ec944a6d9ad1d1d84d5f880825f9e4b.tar.xz
e2fsprogs-4893a0825ec944a6d9ad1d1d84d5f880825f9e4b.zip
fix license handling
Diffstat (limited to 'e2fsprogs.spec')
-rw-r--r--e2fsprogs.spec21
1 files changed, 15 insertions, 6 deletions
diff --git a/e2fsprogs.spec b/e2fsprogs.spec
index da05dd1..96bc3f0 100644
--- a/e2fsprogs.spec
+++ b/e2fsprogs.spec
@@ -1,7 +1,7 @@
Summary: Utilities for managing ext2, ext3, and ext4 filesystems
Name: e2fsprogs
Version: 1.42.11
-Release: 1%{?dist}
+Release: 2%{?dist}
# License tags based on COPYING file distinctions for various components
License: GPLv2
@@ -209,7 +209,9 @@ exit 0
%files -f %{name}.lang
%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/e2fsck.conf
@@ -274,13 +276,15 @@ exit 0
%files libs
%defattr(-,root,root)
-%doc COPYING
+%{!?_licensedir:%global license %%doc}
+%license COPYING
%{_libdir}/libe2p.so.*
%{_libdir}/libext2fs.so.*
%files static
%defattr(-,root,root)
-%doc COPYING
+%{!?_licensedir:%global license %%doc}
+%license COPYING
%{_libdir}/*.a
%files devel
@@ -296,7 +300,8 @@ exit 0
%files -n libcom_err
%defattr(-,root,root)
-%doc COPYING
+%{!?_licensedir:%global license %%doc}
+%license COPYING
%{_libdir}/libcom_err.so.*
%files -n libcom_err-devel
@@ -312,7 +317,8 @@ exit 0
%files -n libss
%defattr(-,root,root)
-%doc COPYING
+%{!?_licensedir:%global license %%doc}
+%license COPYING
%{_libdir}/libss.so.*
%files -n libss-devel
@@ -325,6 +331,9 @@ exit 0
%{_libdir}/pkgconfig/ss.pc
%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
- New upstream release