diff --git a/libndp.spec b/libndp.spec index 7b44ec7b3e251c9002e916dcebba6a6ebb7faf00..d9c1674cc315cf39bc01ca5a6a6078398a0c361c 100644 --- a/libndp.spec +++ b/libndp.spec @@ -1,6 +1,7 @@ +%define anolis_release .0.1 Name: libndp Version: 1.7 -Release: 6%{?dist} +Release: 6%{anolis_release}%{?dist} Summary: Library for Neighbor Discovery Protocol Group: System Environment/Libraries License: LGPLv2+ @@ -29,6 +30,14 @@ Requires: libndp = %{version}-%{release} The libndp-devel package contains the header files and libraries necessary for developing programs using libndp. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %setup -q %patch1 -p1 -b .ndptool_add_T_target_support @@ -52,7 +61,6 @@ find $RPM_BUILD_ROOT -name \*.la -delete %postun -p /sbin/ldconfig %files -%doc COPYING %{_libdir}/*so.* %{_bindir}/ndptool %{_mandir}/man8/ndptool.8* @@ -62,7 +70,13 @@ find $RPM_BUILD_ROOT -name \*.la -delete %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc +%files doc +%doc COPYING + %changelog +* Wed Jul 20 2022 Bo Ren - 1.7-6.0.1 +- Add doc sub package + * Mon Apr 26 2021 Hangbin Liu - 1.7-6 - Bump the version number due to conflict with (rhbz 1937721)