diff --git a/npth.spec b/npth.spec index 20ad4a5739dd141751d648c793b6e76b107a9d3d..87189a5292086ead906ec65435bb0af2dd3905cd 100644 --- a/npth.spec +++ b/npth.spec @@ -1,6 +1,8 @@ +%define anolis_release .0.1 + Name: npth Version: 1.5 -Release: 4%{?dist} +Release: 4%{anolis_release}%{?dist} Summary: The New GNU Portable Threads library License: LGPLv2+ URL: http://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git @@ -27,6 +29,14 @@ Requires: %{name}%{?_isa} = %{version}-%{release} This package contains libraries and header files for developing applications that use %{name}. +%package devel-doc +Summary: Documents for %{name} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +BuildArch: noarch + +%description devel-doc +Doc pages for %{name}. + %prep %autosetup @@ -52,14 +62,19 @@ make check %{_libdir}/lib%{name}.so.* %files devel -%doc AUTHORS ChangeLog NEWS README %{_bindir}/%{name}-config %{_libdir}/lib%{name}.so %{_includedir}/%{name}.h %{_mandir}/man1/%{name}-config.1* %{_datadir}/aclocal/%{name}.m4 +%files devel-doc +%doc AUTHORS ChangeLog NEWS README + %changelog +* Wed Jul 20 2022 DengXiewei - 1.5-4.0.1 +- Add doc sub package + * Sat Feb 03 2018 Igor Gnatenko - 1.5-4 - Switch to %%ldconfig_scriptlets