perl-Tie-Cycle/perl-Tie-Cycle.spec
2023-09-09 14:17:06 +08:00

56 lines
1.5 KiB
RPMSpec

Name: perl-Tie-Cycle
Version: 1.227
Release: 1
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
* Sat Sep 09 2023 wangkai <13474090681@163.com> - 1.227-1
- Update to 1.227
* Mon Dec 13 2021 wangqing <wangqing@uniontech.com> - 1.225-7
- delete %dist
* Fri Jun 25 2021 shikeqiang <shikeqiang@kylinoc.cn>
- Init Project.