diff --git a/perl-Env.spec b/perl-Env.spec index 44ea496b691006827626f399fc1acae2afd0bf3e..ee6a45014b4092c1ec30733da4bb789ef088355c 100644 --- a/perl-Env.spec +++ b/perl-Env.spec @@ -1,6 +1,8 @@ +%define anolis_release .0.1 + Name: perl-Env Version: 1.04 -Release: 395%{?dist} +Release: 395%{anolis_release}%{?dist} Summary: Perl module that imports environment variables as scalars or arrays License: GPL+ or Artistic Group: Development/Libraries @@ -25,6 +27,14 @@ Perl maintains environment variables in a special hash named %%ENV. For when this access method is inconvenient, the Perl module Env allows environment variables to be treated as scalar or array variables. +%package doc +Summary: Documents for %{name} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +BuildArch: noarch + +%description doc +Doc pages for %{name}. + %prep %setup -q -n Env-%{version} @@ -41,11 +51,17 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; make test %files -%doc Changes LICENSE README +%license LICENSE %{perl_vendorlib}/* %{_mandir}/man3/* +%files doc +%doc Changes LICENSE README + %changelog +* Tue Jul 19 2022 Liwei Ge - 1.04-395.0.1 +- Add doc sub package + * Thu Feb 08 2018 Fedora Release Engineering - 1.04-395 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild