From 6919af87dc6dd9ae6b235a117ee3cdc0e36d102d Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 3 Feb 2015 08:22:08 +0000 Subject: [PATCH] Use %%license --- libplist.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libplist.spec b/libplist.spec index 935b48f..2975948 100644 --- a/libplist.spec +++ b/libplist.spec @@ -2,7 +2,7 @@ Name: libplist Version: 1.12 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library for manipulating Apple Binary and XML Property Lists Group: System Environment/Libraries @@ -58,7 +58,9 @@ make check %postun -p /sbin/ldconfig %files -%doc AUTHORS COPYING.LESSER README +%{!?_licensedir:%global license %%doc} +%license COPYING.LESSER +%doc AUTHORS README %{_bindir}/plistutil %{_libdir}/libplist.so.3* %{_libdir}/libplist++.so.3* @@ -74,6 +76,9 @@ make check %{python_sitearch}/plist* %changelog +* Tue Feb 3 2015 Peter Robinson 1.12-2 +- Use %%license + * Wed Oct 15 2014 Peter Robinson 1.12-1 - New upstream 1.12 release