向openEuler仓库提供源码和spec文件

This commit is contained in:
shikeqiang 2021-06-25 16:21:50 +08:00
parent b8fe333709
commit ea8db95edd
2 changed files with 49 additions and 0 deletions

BIN
Tie-Cycle-1.225.tar.gz Normal file

Binary file not shown.

49
perl-Tie-Cycle.spec Normal file
View File

@ -0,0 +1,49 @@
Name: perl-Tie-Cycle
Version: 1.225
Release: 6%{?dist}
Summary: Cycle through a list of values via a scalar
License: Artistic 2.0
URL: https://metacpan.org/release/Tie-Cycle
Source0: https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Tie-Cycle-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(File::Spec)
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
BuildRequires: perl(strict)
BuildRequires: perl(Test::More) >= 0.95
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
This Perl module can be used to go through a list over and over again.
Once you get to the end of the list, you go back to the beginning. You
do not have to worry about any of this since the magic of tie does that
for you.
%prep
%setup -q -n Tie-Cycle-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}/*
%check
make test
%files
%license LICENSE
%doc Changes README.pod CONTRIBUTING.md
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Fri Jun 25 2021 shikeqiang <shikeqiang@kylinoc.cn>
- Init Project.