From 49116369424aea4c52e71ba86448959b8610efe9 Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Mon, 18 Jul 2022 14:01:27 +0800 Subject: [PATCH] Add doc sub package --- libcroco.spec | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/libcroco.spec b/libcroco.spec index a2f0573..9fa1436 100644 --- a/libcroco.spec +++ b/libcroco.spec @@ -1,7 +1,8 @@ +%define anolis_release .0.1 Name: libcroco Summary: A CSS2 parsing library Version: 0.6.12 -Release: 4%{?dist}.1 +Release: 4%{anolis_release}%{?dist}.1 License: LGPLv2 Group: System Environment/Libraries Source: http://download.gnome.org/sources/libcroco/0.6/%{name}-%{version}.tar.xz @@ -14,9 +15,21 @@ BuildRequires: pkgconfig BuildRequires: glib2-devel BuildRequires: libxml2-devel +Requires: glibc +Provides: /usr/bin/csslint-0.6 + %description CSS2 parsing and manipulation library for GNOME +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + + +%description doc +Doc pages for %{name}. + %package devel Summary: Libraries and include files for developing with libcroco Group: Development/Libraries @@ -48,10 +61,12 @@ make check %files %license COPYING COPYING.LIB -%doc AUTHORS NEWS README %{_bindir}/csslint-0.6 %{_libdir}/*.so.* +%files doc +%doc AUTHORS NEWS README + %files devel %{_libdir}/*.so %{_includedir}/libcroco-0.6 @@ -60,6 +75,9 @@ make check %{_datadir}/gtk-doc/html/libcroco %changelog +* Mon Jul 17 2022 mgb01105731 - 0.6.12-4.0.1.1 +- Add doc sub package + * Thu Aug 06 2020 Michael Catanzaro - 0.6.12-4.1 - Fix CVE-2020-12825 Resolves: #1866484 -- Gitee