diff --git a/xmlrpc-c.spec b/xmlrpc-c.spec index c47e0210dd14d9f60145b2a13169e8a13303d141..ebba44c47f756c6092c1163671d480ee54448c15 100644 --- a/xmlrpc-c.spec +++ b/xmlrpc-c.spec @@ -1,3 +1,4 @@ +%define anolis_release .0.1 %global advanced_branch 1 # Upstream libxml2 backend is completely broken since 2015 @@ -6,7 +7,7 @@ Name: xmlrpc-c Version: 1.51.0 -Release: 6%{?dist} +Release: 6%{anolis_release}%{?dist} Summary: Lightweight RPC library based on XML and HTTP # See doc/COPYING for details. # The Python 1.5.2 license used by a few files is just BSD. @@ -49,6 +50,7 @@ BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(libcurl) BuildRequires: readline-devel BuildRequires: ncurses-devel +Requires: glibc %package c++ Summary: C++ libraries for xmlrpc-c @@ -125,6 +127,15 @@ to a remote server using HTTP, and gets back the response as XML. This package contains some handy XML-RPC demo applications. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + + %prep %autosetup -Sgit @@ -142,7 +153,6 @@ This package contains some handy XML-RPC demo applications. %files %license doc/COPYING lib/abyss/license.txt -%doc doc/CREDITS doc/HISTORY %if ! %{with libxml2} %{_libdir}/libxmlrpc_xml*.so.* %endif @@ -191,7 +201,13 @@ This package contains some handy XML-RPC demo applications. %{_bindir}/xmlrpc_pstream %{_bindir}/xmlrpc_dumpserver +%files doc +%doc doc/CREDITS doc/HISTORY + %changelog +* Sat Jul 16 2022 Hangbo Fan - 1.51.0-6.0.1 +- Add doc sub package + * Thu Mar 03 2022 Rob Crittenden - 1.51.0-6 - Add missing validation of encoding (CVE-2022-25235) (#2058114)