[libusbg] Use %%license
Peter Robinson
pbrobinson at fedoraproject.org
Wed Feb 4 10:00:29 UTC 2015
commit c6d833a24d8a78ba60fc7ff326b7dc98824c444b
Author: Peter Robinson <pbrobinson at gmail.com>
Date: Wed Feb 4 10:00:20 2015 +0000
Use %%license
libusbg.spec | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/libusbg.spec b/libusbg.spec
index 0c5a62e..da6cb57 100644
--- a/libusbg.spec
+++ b/libusbg.spec
@@ -1,6 +1,6 @@
Name: libusbg
Version: 0.1.0
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Library for USB gadget-configfs userspace functionality
Group: System Environment/Libraries
@@ -49,7 +49,7 @@ make %{?_smp_mflags} V=1
make install DESTDIR=%{buildroot} INSTALL='install -p'
#Remove libtool archives.
-find %{buildroot} -name '*.la' -exec rm -f {} ';'
+find %{buildroot} -type f -name "*.la" -delete
%check
make check
@@ -59,7 +59,9 @@ make check
%postun -p /sbin/ldconfig
%files
-%doc COPYING.LGPL README AUTHORS ChangeLog
+%{!?_licensedir:%global license %%doc}
+%license COPYING.LGPL
+%doc README AUTHORS ChangeLog
%{_libdir}/*.so.*
%files utils
@@ -73,6 +75,9 @@ make check
%{_libdir}/*.so
%changelog
+* Wed Feb 4 2015 Peter Robinson <pbrobinson at fedoraproject.org> 0.1.0-5
+- Use %%license
+
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
More information about the scm-commits
mailing list