From 000f96fa33cff1a1e836ce0460c1111b59ae84a6 Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Wed, 21 Apr 2021 16:42:50 +0100 Subject: [PATCH] Update to 11.0.10.1 --- nv-codec-headers.spec | 12 ++++++++++-- sources | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/nv-codec-headers.spec b/nv-codec-headers.spec index 3fb22a7..cedb9fa 100644 --- a/nv-codec-headers.spec +++ b/nv-codec-headers.spec @@ -1,6 +1,6 @@ Name: nv-codec-headers -Version: 11.0.10.0 -Release: 2%{?dist} +Version: 11.0.10.1 +Release: 1%{?dist} Summary: FFmpeg version of Nvidia Codec SDK headers License: MIT URL: https://github.com/FFmpeg/nv-codec-headers @@ -18,6 +18,10 @@ FFmpeg version of headers required to interface with Nvidias codec APIs. %autosetup -n %{name}-n%{version} sed -i -e 's@/include@/include/ffnvcodec@g' ffnvcodec.pc.in +# Extract license +sed -n '4,25p' include/ffnvcodec/nvEncodeAPI.h > LICENSE +sed -i '1,22s/^.\{,3\}//' LICENSE + %build %make_build PREFIX=%{_prefix} LIBDIR=/share @@ -28,11 +32,15 @@ sed -i -e 's@/include@/include/ffnvcodec@g' ffnvcodec.pc.in %files %doc README +%license LICENSE %{_includedir}/ffnvcodec/ %{_datadir}/pkgconfig/ffnvcodec.pc %changelog +* Wed Apr 21 2021 Leigh Scott - 11.0.10.1-1 +- Update to 11.0.10.1 + * Tue Jan 26 2021 Fedora Release Engineering - 11.0.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index da6a3fe..02ea2f0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nv-codec-headers-n11.0.10.0.tar.gz) = ac16a91099ddfc3107356a92c2f90af313cf12fa7b69834a32991ba30eda7838c7bb5d0ae4bf8f1cf8f9d0baa2db7eda686f273fcbee425ee94164186ff081b2 +SHA512 (nv-codec-headers-n11.0.10.1.tar.gz) = 7d62baf12fd1a1e164e8cdf59cbd5b888ad8843ff0ea954b27367526c00326b17e9e9ec1e68f7c4879734b10f12d9af9e705455e472f6f7c6236e55ac46e83d3