From 7e65e28efd51e4b8633eb1564486e5fc6eb06ef1 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 3 Feb 2015 08:19:57 +0000 Subject: [PATCH] Use %%license --- opus.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/opus.spec b/opus.spec index b45ef56..532cf60 100644 --- a/opus.spec +++ b/opus.spec @@ -1,6 +1,6 @@ Name: opus Version: 1.1.1 -Release: 0.1.beta%{?dist} +Release: 0.2.beta%{?dist} Summary: An audio codec for use in low-delay speech and audio communication Group: System Environment/Libraries @@ -55,7 +55,8 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc COPYING +%{!?_licensedir:%global license %%doc} +%license COPYING %{_libdir}/libopus.so.* %files devel @@ -68,6 +69,9 @@ rm -rf %{buildroot} %{_datadir}/man/man3/opus_*.3.gz %changelog +* Tue Feb 3 2015 Peter Robinson 1.1.1-0.2.beta +- Use %%license + * Wed Oct 15 2014 Peter Robinson 1.1.1-0.1.beta - Update to 1.1.1 beta (SSE, ARM, MIPS optimisations)