From 0b3ef21b2b077dc1bd9373aa1df357b0c49d39a3 Mon Sep 17 00:00:00 2001 From: Liwei Ge Date: Tue, 19 Jul 2022 11:24:14 +0800 Subject: [PATCH] spec: add sub doc package --- perl-File-HomeDir.spec | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/perl-File-HomeDir.spec b/perl-File-HomeDir.spec index ab9a70c..290e32e 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 -- Gitee