From 33d47e1d4e8cbc7c562c0be49f4482858ee88eb3 Mon Sep 17 00:00:00 2001 From: liuxiaoping Date: Wed, 20 Jul 2022 11:17:42 +0800 Subject: [PATCH] add doc sub package --- libvpx.spec | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/libvpx.spec b/libvpx.spec index e667c44..4cf36fc 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 -- Gitee