diff --git a/perl-File-HomeDir.spec b/perl-File-HomeDir.spec index ab9a70cd1dc898ec0b6a3888682dadb14b73b8f5..290e32e93750f2973091bf4c861aa834618b68f0 100644 --- a/perl-File-HomeDir.spec +++ b/perl-File-HomeDir.spec @@ -1,6 +1,8 @@ +%define anolis_release .0.1 + Name: perl-File-HomeDir Version: 1.002 -Release: 4%{?dist} +Release: 4%{anolis_release}%{?dist} Summary: Find your home and other directories on any platform Group: Development/Libraries License: GPL+ or Artistic @@ -48,6 +50,14 @@ by a user (typically your user) and to solve the various issues that arise trying to find them consistently across a wide variety of platforms. +%package doc +Summary: Documents for %{name} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +BuildArch: noarch + +%description doc +Doc pages for %{name}. + %prep %setup -q -n File-HomeDir-%{version} @@ -64,11 +74,16 @@ make test %files %license LICENSE -%doc Changes README.md %{perl_vendorlib}/File/ %{_mandir}/man3/*.3pm* +%files doc +%doc Changes README.md + %changelog +* Tue Jul 19 2022 Liwei Ge - 1.002-4.0.1 +- Add doc sub package + * Thu Feb 08 2018 Fedora Release Engineering - 1.002-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild