diff --git a/Test-File-Contents-0.23.tar.gz b/Test-File-Contents-0.23.tar.gz deleted file mode 100644 index b52756d..0000000 Binary files a/Test-File-Contents-0.23.tar.gz and /dev/null differ diff --git a/Test-File-Contents-0.242.tar.gz b/Test-File-Contents-0.242.tar.gz new file mode 100644 index 0000000..451ccb2 Binary files /dev/null and b/Test-File-Contents-0.242.tar.gz differ diff --git a/perl-Test-File-Contents.spec b/perl-Test-File-Contents.spec index 98f2c23..127634c 100644 --- a/perl-Test-File-Contents.spec +++ b/perl-Test-File-Contents.spec @@ -1,10 +1,10 @@ Name: perl-Test-File-Contents -Version: 0.23 +Version: 0.242 Release: 1 Summary: Test routines for examining the contents of files License: GPL+ or Artistic URL: https://metacpan.org/release/Test-File-Contents -Source0: https://cpan.metacpan.org/authors/id/D/DW/DWHEELER/Test-File-Contents-%{version}.tar.gz +Source0: https://www.cpan.org/modules/by-module/Test/Test-File-Contents-%{version}.tar.gz BuildArch: noarch # Build BuildRequires: perl-interpreter @@ -27,9 +27,6 @@ Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) Requires: perl(Test::Builder) >= 0.70 Requires: perl(Text::Diff) >= 0.35 -%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Test::Builder\\)$ -%global __requires_exclude %__requires_exclude|^perl\\(Text::Diff\\)$ - %description Test routines for examining the contents of files. @@ -37,21 +34,27 @@ Test routines for examining the contents of files. %setup -q -n Test-File-Contents-%{version} %build -perl Build.PL installdirs=vendor -./Build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %install -./Build install destdir=%{buildroot} create_packlist=0 -%{_fixperms} %{buildroot} +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -delete +%{_fixperms} -c %{buildroot} %check -./Build test +make test %files %doc Changes README -%{perl_vendorlib}/Test/ +%{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Mon Feb 05 2024 woody2918 0.242-1 +- update version to 0.242 +- Corrected test dependencies +- Packaging fix to stop installing boilerplate.pl + * Wed Nov 02 2022 wangziliang - 0.23-1 - Package init