!1 package init

Merge pull request !1 from small_leek/xsl
This commit is contained in:
openeuler-ci-bot 2020-07-03 18:45:37 +08:00 committed by Gitee
commit aaf18b076a
3 changed files with 54 additions and 0 deletions

BIN
SUPER-1.20141117.tar.gz Normal file

Binary file not shown.

50
perl-SUPER.spec Normal file
View File

@ -0,0 +1,50 @@
Name: perl-SUPER
Version: 1.20141117
Release: 13
Summary: Sane superclass method dispatcher
License: GPL+ or Artistic
URL: https://metacpan.org/release/SUPER
Source0: https://cpan.metacpan.org/authors/id/C/CH/CHROMATIC/SUPER-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils findutils make perl-interpreter perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) perl(Carp) perl(Scalar::Util) >= 1.20 perl(strict)
BuildRequires: perl(Sub::Identify) >= 0.03 perl(warnings) perl(base) perl(lib)
BuildRequires: perl(Test::More) >= 0.88 perl(strict)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Scalar::Util) >= 1.20 perl(Sub::Identify) >= 0.03
%description
When subclassing a class, you occasionally want to dispatch control to the
superclass - at least conditionally and temporarily. This module provides
an easier, cleaner way for class methods to access their ancestor's
implementation.
%prep
%autosetup -n SUPER-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} %{buildroot}
%check
make test
%files
%if 0%{?_licensedir:1}
%license LICENSE
%else
%doc LICENSE
%endif
%doc Changes README
%{perl_vendorlib}/SUPER.pm
%{_mandir}/man3/SUPER.3*
%changelog
* Thu Jul 2 2020 huanghaitao <huanghaitao8@huawei.com> - 1.20141117-13
- package init

4
perl-SUPER.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: metacpan
src_repo: SUPER
tag_prefix: "^"
seperator: "."