diff --git a/perl-Socket.spec b/perl-Socket.spec index 93c831c5f2e4dc3bdfe0b09b3eed720c3c77372a..5febebcc6ccc123dc6272eda660511404a53f35b 100644 --- a/perl-Socket.spec +++ b/perl-Socket.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: perl-Socket Epoch: 4 Version: 2.032 @@ -45,6 +45,14 @@ socket(), setsockopt() and bind(). It also provides several other support functions, mostly for dealing with conversions of network addresses between human-readable and native binary forms, and for hostname resolver operations. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{epoch}:%{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %package tests Summary: Tests for %{name} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} @@ -87,14 +95,19 @@ make test %files %license Artistic Copying LICENSE -%doc Changes %{perl_vendorarch}/auto/* %{perl_vendorarch}/Socket* %{_mandir}/man3/* +%files doc +%doc Changes + %files tests %{_libexecdir}/%{name} %changelog +* Mon Oct 10 2022 mgb01105731 - 4:2.032-2 +- add doc package + * Wed Mar 09 2022 DengXiewei - 4:2.032-1 - Init from upstream 2.032