[usbmuxd] Use %%license

Peter Robinson pbrobinson at fedoraproject.org
Wed Feb 4 10:05:53 UTC 2015


commit 86a9907c3585bc5ba8a72efb83d220f56f6d5336
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Tue Feb 3 08:26:41 2015 +0000

    Use %%license

 usbmuxd.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/usbmuxd.spec b/usbmuxd.spec
index 26c662e..6e99ec1 100644
--- a/usbmuxd.spec
+++ b/usbmuxd.spec
@@ -1,6 +1,6 @@
 Name:          usbmuxd
 Version:       1.1.0
-Release:       2%{?dist}
+Release:       3%{?dist}
 Summary:       Daemon for communicating with Apple's iOS devices
 
 Group:         Applications/System
@@ -58,13 +58,18 @@ exit 0
 %systemd_postun_with_restart usbmuxd.service 
 
 %files
-%doc AUTHORS README COPYING.GPLv2 COPYING.GPLv3
+%{!?_licensedir:%global license %%doc}
+%license COPYING.GPLv2 COPYING.GPLv3
+%doc AUTHORS README
 %{_unitdir}/usbmuxd.service
 /usr/lib/udev/rules.d/39-usbmuxd.rules
 %{_sbindir}/usbmuxd
 %{_datadir}/man/man1/usbmuxd.1.gz
 
 %changelog
+* Tue Feb  3 2015 Peter Robinson <pbrobinson at fedoraproject.org> 1.0.10-3
+- Use %%license
+
 * Tue Oct 21 2014 Peter Robinson <pbrobinson at fedoraproject.org> 1.0.10-2
 - (rebuild)
 


More information about the scm-commits mailing list