2019-09-30 11:13:00 -04:00
|
|
|
%global perl_package_name parent
|
|
|
|
|
Name: perl-parent
|
|
|
|
|
Epoch: 1
|
2023-07-21 10:17:45 +08:00
|
|
|
Version: 0.241
|
|
|
|
|
Release: 1
|
2019-09-30 11:13:00 -04:00
|
|
|
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
|
|
|
|
|
|
2021-08-02 10:14:53 +08:00
|
|
|
BuildRequires: gcc make
|
2019-09-30 11:13:00 -04:00
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2020-07-25 17:18:39 +08:00
|
|
|
BuildRequires: perl(Test::More) >= 0.40
|
2019-09-30 11:13:00 -04:00
|
|
|
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
|
2021-08-02 10:14:53 +08:00
|
|
|
%autosetup -n %{perl_package_name}-%{version} -p1
|
2019-09-30 11:13:00 -04:00
|
|
|
|
|
|
|
|
%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
|
2023-07-21 10:17:45 +08:00
|
|
|
* Fri Jul 21 2023 xujing <xujing125@huawei.com> - 1:0.241-1
|
|
|
|
|
- update version to 0.241
|
|
|
|
|
|
|
|
|
|
* Mon Aug 02 2021 chenyanpanHW <chenyanpan@huawei.com> - 1:0.238-2
|
2021-08-02 10:14:53 +08:00
|
|
|
- DESC: delete -S git from %autosetup, and delete BuildRequires git
|
|
|
|
|
|
2020-07-25 17:18:39 +08:00
|
|
|
* Sat Jul 25 2020 zhanzhimin <zhanzhimin@huawei.com> - 1:0.238-1
|
|
|
|
|
|
2019-09-30 11:13:00 -04:00
|
|
|
* Thu Sep 26 2019 shenyangyang<shenyangyang4@huawei.com> - 1:0.237-4
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:revise help package
|
|
|
|
|
|
|
|
|
|
* Tue Aug 13 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:0.237-3
|
|
|
|
|
- Package Init
|