Package init
This commit is contained in:
commit
9935b2db4e
BIN
parent-0.237.tar.gz
Normal file
BIN
parent-0.237.tar.gz
Normal file
Binary file not shown.
55
perl-parent.spec
Normal file
55
perl-parent.spec
Normal file
@ -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<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
|
||||
Loading…
x
Reference in New Issue
Block a user