!2 upgrade to version 0.017
From: @leeffo Reviewed-by: @wk333 Signed-off-by: @wk333
This commit is contained in:
commit
6f46d634fb
Binary file not shown.
BIN
CPAN-Meta-Check-0.017.tar.gz
Normal file
BIN
CPAN-Meta-Check-0.017.tar.gz
Normal file
Binary file not shown.
@ -1,9 +1,9 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: perl-CPAN-Meta-Check
|
||||
Version: 0.014
|
||||
Version: 0.017
|
||||
Release: 1
|
||||
Summary: Verify requirements in a CPAN::Meta object
|
||||
License: GPL+ or Artistic
|
||||
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/CPAN-Meta-Check/
|
||||
Source0: http://www.cpan.org/authors/id/L/LE/LEONT/CPAN-Meta-Check-%{version}.tar.gz
|
||||
@ -28,17 +28,22 @@ Requires: perl(Module::Metadata) >= 1.000023
|
||||
Requires: perl(strict)
|
||||
Requires: perl(warnings)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
This module verifies if requirements described in a CPAN::Meta object
|
||||
are present.
|
||||
|
||||
%package help
|
||||
Summary : Verify requirements in a CPAN::Meta object
|
||||
Provides: perl-CPAN-Meta-Check-doc
|
||||
|
||||
%description help
|
||||
This module verifies if requirements described in a CPAN::Meta object
|
||||
are present.
|
||||
|
||||
%prep
|
||||
%setup -q -n CPAN-Meta-Check-%{version}
|
||||
|
||||
%build
|
||||
export PERL_MM_OPT=""
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
@ -55,35 +60,23 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
pushd %{buildroot}
|
||||
touch filelist.lst
|
||||
if [ -d usr/bin ];then
|
||||
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||
fi
|
||||
if [ -d usr/sbin ];then
|
||||
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||
fi
|
||||
if [ -d usr/lib64 ];then
|
||||
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
||||
fi
|
||||
if [ -d usr/lib ];then
|
||||
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
||||
fi
|
||||
popd
|
||||
mv %{buildroot}/filelist.lst .
|
||||
%check
|
||||
make test
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f filelist.lst
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes dist.ini LICENSE META.json README
|
||||
%{perl_vendorlib}/*
|
||||
|
||||
%files help
|
||||
%{_mandir}/*
|
||||
|
||||
%changelog
|
||||
* Wed Jul 12 2023 leeffo <liweiganga@uniontech.com> - 0.017-1
|
||||
- upgrade to version 0.017
|
||||
|
||||
* Wed Jun 30 2021 Perl_Bot <Perl_Bot@openeuler.org> 0.014-1
|
||||
- Specfile autogenerated by Perl_Bot
|
||||
|
||||
4
perl-CPAN-Meta-Check.yaml
Normal file
4
perl-CPAN-Meta-Check.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: metacpan
|
||||
src_repo: CPAN-Meta-Check
|
||||
tag_prefix: ^v
|
||||
separator: .
|
||||
Loading…
x
Reference in New Issue
Block a user