diff --git a/Class-ISA-0.36.tar.gz b/Class-ISA-0.36.tar.gz new file mode 100644 index 0000000..a426e7e Binary files /dev/null and b/Class-ISA-0.36.tar.gz differ diff --git a/perl-Class-ISA.spec b/perl-Class-ISA.spec new file mode 100644 index 0000000..67a9968 --- /dev/null +++ b/perl-Class-ISA.spec @@ -0,0 +1,42 @@ +Name: perl-Class-ISA +Version: 0.36 +Release: 0 +Summary: A class's ISA tree to report the search path +License: GPL+ or Artistic +URL: https://metacpan.org/release/Class-ISA +Source0: https://cpan.metacpan.org/authors/id/S/SM/SMUELLER/Class-ISA-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: perl-generators perl(ExtUtils::MakeMaker) perl(Test) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +Perl-Class-ISA is a Class's ISA tree to report the search path.It provides functions +that return the list (in order) of names of(super-)classes Perl would search to +find a method, with no duplicates. + +%prep +%autosetup -n Class-ISA-%{version} -p1 + +%build +perl Makefile.PL INSTALLDIRS=vendor +%make_build + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%doc ChangeLog README +%{perl_vendorlib}/* +%exclude %{_mandir}/man3/* +%exclude %{_libdir}/perl5/vendor_perl/auto/Class/ISA/.packlist + +%changelog +* Wed Apr 22 2020 leiju - 0.36-0 +- Package init diff --git a/perl-Class-ISA.yaml b/perl-Class-ISA.yaml new file mode 100644 index 0000000..01f2a18 --- /dev/null +++ b/perl-Class-ISA.yaml @@ -0,0 +1,4 @@ +version_control: metacpan +src_repo: Class-ISA +tag_prefix: ^ +seperator: .