Use %%license

This commit is contained in:
Peter Robinson 2015-02-03 08:19:57 +00:00
parent 6e144f0d55
commit 7e65e28efd

View File

@ -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 <pbrobinson@fedoraproject.org> 1.1.1-0.2.beta
- Use %%license
* Wed Oct 15 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.1-0.1.beta
- Update to 1.1.1 beta (SSE, ARM, MIPS optimisations)