diff --git a/CPAN-Meta-Check-0.014.tar.gz b/CPAN-Meta-Check-0.014.tar.gz new file mode 100644 index 0000000..2c1f45a Binary files /dev/null and b/CPAN-Meta-Check-0.014.tar.gz differ diff --git a/perl-CPAN-Meta-Check.spec b/perl-CPAN-Meta-Check.spec new file mode 100644 index 0000000..339fab6 --- /dev/null +++ b/perl-CPAN-Meta-Check.spec @@ -0,0 +1,89 @@ +%global _empty_manifest_terminate_build 0 +Name: perl-CPAN-Meta-Check +Version: 0.014 +Release: 1 +Summary: Verify requirements in a CPAN::Meta object +License: GPL+ or Artistic +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 +BuildArch: noarch +BuildRequires: perl >= 0:5.006 +BuildRequires: perl-generators +BuildRequires: perl(CPAN::Meta) >= 2.120920 +BuildRequires: perl(CPAN::Meta::Prereqs) >= 2.132830 +BuildRequires: perl(CPAN::Meta::Requirements) >= 2.121 +BuildRequires: perl(Env) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Module::Metadata) >= 1.000023 +BuildRequires: perl(strict) +BuildRequires: perl(Test::Deep) +BuildRequires: perl(Test::More) >= 0.88 +BuildRequires: perl(warnings) +Requires: perl(CPAN::Meta::Prereqs) >= 2.132830 +Requires: perl(CPAN::Meta::Requirements) >= 2.121 +Requires: perl(Exporter) +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 +make %{?_smp_mflags} + +%install +export PERL_MM_OPT="" +rm -rf $RPM_BUILD_ROOT + +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +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 +%defattr(-,root,root,-) +%doc Changes dist.ini LICENSE META.json README +%{perl_vendorlib}/* +%files help +%{_mandir}/* + +%changelog +* Wed Jun 30 2021 Perl_Bot 0.014-1 +- Specfile autogenerated by Perl_Bot