From 0c401235455ae2255bd6f73792ce7710c5a98f11 Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Tue, 7 Feb 2023 13:24:02 +0800 Subject: [PATCH] remove versioned MODULE_COMPAT_ requires --- perl-File-HomeDir.spec | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/perl-File-HomeDir.spec b/perl-File-HomeDir.spec index 298f32f..d2ece79 100644 --- a/perl-File-HomeDir.spec +++ b/perl-File-HomeDir.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 3 Name: perl-File-HomeDir Version: 1.006 Release: %{anolis_release}%{?dist} @@ -34,7 +34,6 @@ BuildRequires: perl(vars) BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(Test::More) >= 0.90 # Dependencies: -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Cwd) >= 3.12 Requires: perl(File::Path) >= 2.01 Requires: perl(File::Spec) >= 3.12 @@ -50,6 +49,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: Documentation files for %{name} +Requires: %{name} = %{EVR} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %prep %setup -q -n File-HomeDir-%{version} @@ -66,7 +73,6 @@ make test %files %license LICENSE -%doc Changes README.md %{perl_vendorlib}/File/ %{_mandir}/man3/File::HomeDir.3* %{_mandir}/man3/File::HomeDir::Darwin.3* @@ -78,8 +84,14 @@ make test %{_mandir}/man3/File::HomeDir::Test.3* %{_mandir}/man3/File::HomeDir::Unix.3* %{_mandir}/man3/File::HomeDir::Windows.3* - + +%files doc +%doc Changes README.md + %changelog +* Tue Feb 07 2023 mgb01105731 - 1.006-3 +- remove versioned MODULE_COMPAT_ requires + * Mon Jan 30 2023 Chunmei Xu - 1.006-2 - rebuild with perl 5.36.0 -- Gitee