diff --git a/spice-protocol.spec b/spice-protocol.spec index e55e11c5e0c27c97aed1bb5aad9142e51eda1dee..9ed5ecbe1b2efb9d42d1d3a81e84979f59a7c829 100644 --- a/spice-protocol.spec +++ b/spice-protocol.spec @@ -1,6 +1,8 @@ +%define anolis_release .0.1 + Name: spice-protocol Version: 0.14.2 -Release: 1%{?dist} +Release: 1%{anolis_release}%{?dist} Summary: Spice protocol header files Group: Development/Libraries # Main headers are BSD, controller / foreign menu are LGPL @@ -19,6 +21,13 @@ BuildRequires: meson Header files describing the spice protocol and the para-virtual graphics card QXL. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. %prep gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} @@ -33,12 +42,16 @@ gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} %files -%doc COPYING README.md %{_includedir}/spice-1 %{_datadir}/pkgconfig/spice-protocol.pc +%files doc +%doc COPYING README.md %changelog +* Mon Jul 18 2022 Xiaoping Liu - 0.14.2-1.0.1 +- Add doc sub package + * Fri May 15 2020 Victor Toso - 0.14.2-1 - Update to 0.14.2 Resolves: rhbz#1817451