diff --git a/Class-Inspector-1.32.tar.gz b/Class-Inspector-1.32.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..f27fd79371a0da81e4f0ac1d926ca8dbc3626fed Binary files /dev/null and b/Class-Inspector-1.32.tar.gz differ diff --git a/README.md b/README.md deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/perl-Class-Inspector.spec b/perl-Class-Inspector.spec new file mode 100644 index 0000000000000000000000000000000000000000..130b0d61b290a9b34efc8d68674cd5d9d7b99921 --- /dev/null +++ b/perl-Class-Inspector.spec @@ -0,0 +1,65 @@ +Name: perl-Class-Inspector +Version: 1.32 +Release: 5 +Summary: Get information about a class and its structure + +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Class-Inspector/ +Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Class-Inspector-%{version}.tar.gz + +BuildArch: noarch + + +BuildRequires: make perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) perl(File::Spec) >= 0.80 perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + + +%description +Class::Inspector allows you to get information about a loaded class. +Most or all of this information can be found in other ways, but they aren't +always very friendly, and usually involve a relatively high level of Perl +wizardry, or strange and unusual looking code. Class::Inspector attempts to +provide an easier, more friendly interface to this information. + + +%package_help + + +%prep +%autosetup -n Class-Inspector-%{version} -p1 + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +%make_build + + +%install +rm -rf %{buildroot} +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' +%{_fixperms} %{buildroot}/* + + +%check +make test + + +%files +%license LICENSE +%{perl_vendorlib}/* + + +%files help +%doc Changes README +%{_mandir}/man3/*.3* + + +%changelog +* Thu Nov 28 2019 Qianbiao.NG - 1.32-5 +- Repackage for openEuler OS