diff --git a/zziplib.spec b/zziplib.spec index 29ce6fcf7215ff7fcc4d879d8341a543320cac91..04cff3bc645d4fca70704629dd381ef903406645 100644 --- a/zziplib.spec +++ b/zziplib.spec @@ -1,7 +1,8 @@ +%define anolis_release .0.1 Summary: Lightweight library to easily extract data from zip files Name: zziplib Version: 0.13.68 -Release: 9%{?dist} +Release: 9%{anolis_release}%{?dist} License: LGPLv2+ or MPLv1.1 Group: Applications/Archiving URL: http://zziplib.sourceforge.net/ @@ -38,6 +39,8 @@ BuildRequires: pkgconfig #BuildRequires: autoconf #BuildRequires: automake +Requires: glibc + %description The zziplib library is intentionally lightweight, it offers the ability to easily extract data from files archived in a single zip file. Applications @@ -77,6 +80,14 @@ which is actually used by the zip/unzip tools. This package contains files required to build applications that will use the zziplib library. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %setup -q %patch1 -p1 @@ -127,14 +138,12 @@ make install DESTDIR=%{buildroot} %postun -p /sbin/ldconfig %files -%doc docs/COPYING* ChangeLog README TODO %{_libdir}/*.so.* %files utils %{_bindir}/* %files devel -%doc docs/README.SDL docs/*.htm docs/*.html %{_includedir}/* %exclude %{_libdir}/*.la %{_libdir}/*.so @@ -142,7 +151,14 @@ make install DESTDIR=%{buildroot} %{_datadir}/aclocal/*.m4 %{_mandir}/man3/* +%files doc +%doc docs/README.SDL docs/*.htm docs/*.html +%doc docs/COPYING* ChangeLog README TODO + %changelog +* Fri Jul 15 2022 Liwei Ge - 0.13.68-9.0.1 +- Add doc sub package + * Mon Aug 02 2021 Jakub Martisko - 0.13.68-9 - Fix CVE-2020-18442 - Resolves: CVE-2020-18442