diff --git a/libasyncns.spec b/libasyncns.spec index 181bc482a33157f372acfb1d69da4747cae33988..b347a3f69f83bccfed47fbc275926025eeb52764 100644 --- a/libasyncns.spec +++ b/libasyncns.spec @@ -1,6 +1,7 @@ +%define anolis_release .0.1 Name: libasyncns Version: 0.8 -Release: 14%{?dist} +Release: 14%{anolis_release}%{?dist} Summary: Asynchronous Name Service Library Group: System Environment/Libraries Source0: http://0pointer.de/lennart/projects/libasyncns/libasyncns-%{version}.tar.gz @@ -8,10 +9,21 @@ License: LGPLv2+ Url: http://0pointer.de/lennart/projects/libasyncns/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: glibc + %description A small and lightweight library that implements easy to use asynchronous wrappers around the libc NSS functions getaddrinfo(), res_query() and related. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + + +%description doc +Doc pages for %{name}. + %package devel Summary: Development Files for libasyncns Client Development Group: Development/Libraries @@ -42,9 +54,11 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) -%doc README LICENSE %{_libdir}/libasyncns.so.* +%files doc +%doc README LICENSE + %files devel %defattr(-,root,root) %{_includedir}/asyncns.h @@ -52,6 +66,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/libasyncns.pc %changelog +* Mon Jul 17 2022 mgb01105731 - 0.8-14.0.1 +- Add doc sub package + * Wed Feb 07 2018 Fedora Release Engineering - 0.8-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild