update version to 0.242
update version to 0.242
This commit is contained in:
parent
62447f544c
commit
5f89fdf99a
Binary file not shown.
BIN
Test-File-Contents-0.242.tar.gz
Normal file
BIN
Test-File-Contents-0.242.tar.gz
Normal file
Binary file not shown.
@ -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 <wudi1@uniontech.com> 0.242-1
|
||||
- update version to 0.242
|
||||
- Corrected test dependencies
|
||||
- Packaging fix to stop installing boilerplate.pl
|
||||
|
||||
* Wed Nov 02 2022 wangziliang <wangziliang@kylinos.cn> - 0.23-1
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user