diff --git a/libvpx.spec b/libvpx.spec index e667c44137c44115e8f63c9e7850421628b96865..4cf36fc22b3a0f46c3ff8474fdbe99444285fa72 100644 --- a/libvpx.spec +++ b/libvpx.spec @@ -1,3 +1,4 @@ +%define anolis_release .0.1 %global somajor 5 %global sominor 0 %global sotiny 0 @@ -6,7 +7,7 @@ Name: libvpx Summary: VP8/VP9 Video Codec SDK Version: 1.7.0 -Release: 8%{?dist} +Release: 8%{anolis_release}%{?dist} License: BSD Group: System Environment/Libraries #Source0: http://downloads.webmproject.org/releases/webm/%{name}-%{version}.tar.bz2 @@ -49,6 +50,14 @@ Requires: %{name}%{?_isa} = %{version}-%{release} A selection of utilities and tools for VP8, including a sample encoder and decoder. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %setup -q -n libvpx-%{version} %patch0 -p1 -b .leave-fs-on @@ -227,7 +236,6 @@ rm -rf %{buildroot}%{_prefix}/src %files %license LICENSE -%doc AUTHORS CHANGELOG README %{_libdir}/libvpx.so.* %files devel @@ -244,7 +252,13 @@ rm -rf %{buildroot}%{_prefix}/src %files utils %{_bindir}/* +%files doc +%doc AUTHORS CHANGELOG README + %changelog +* Wed Jul 20 2022 Xiaoping Liu - 1.7.0-8.0.1 +- Add doc sub package + * Wed Apr 1 2020 Wim Taymans - 1.7.0-8 - Resolves: rhbz#1796086, rhbz#1796100, rhbz#1796448, rhbz#1796454 - Enable webm-io explicitly