commit 9935b2db4ef73c07a1000bc258bf59e685adbcfd Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:13:00 2019 -0400 Package init diff --git a/parent-0.237.tar.gz b/parent-0.237.tar.gz new file mode 100644 index 0000000..8ab568c Binary files /dev/null and b/parent-0.237.tar.gz differ diff --git a/perl-parent.spec b/perl-parent.spec new file mode 100644 index 0000000..14472e4 --- /dev/null +++ b/perl-parent.spec @@ -0,0 +1,55 @@ +%global perl_package_name parent +Name: perl-parent +Epoch: 1 +Version: 0.237 +Release: 4 +Summary: Establish an ISA relationship with base classes at compile time +License: GPL+ or Artistic +URL: https://metacpan.org/release/parent +Source0: https://cpan.metacpan.org/authors/id/C/CO/CORION/%{perl_package_name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: gcc git make +BuildRequires: perl-interpreter +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) >= 0.4 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +Allows you to both load one or more modules, while setting up inheritance +from those modules at the same time. + +%package_help + +%prep +%autosetup -n %{perl_package_name}-%{version} -S git + +%build +perl Makefile.PL INSTALLDIRS=vendor +%make_build + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -delete +%{_fixperms} -c $RPM_BUILD_ROOT + +%check +make test + +%files +%doc Changes +%{perl_vendorlib}/parent.pm + +%files help +%{_mandir}/man3/parent.3* + +%changelog +* Thu Sep 26 2019 shenyangyang - 1:0.237-4 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:revise help package + +* Tue Aug 13 2019 openEuler Buildteam - 1:0.237-3 +- Package Init