Sync from SUSE:SLFO:Main perl-Tie-Cycle revision af9677886f6d5f5d08b5342120bca06d
This commit is contained in:
commit
6b82410463
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
Tie-Cycle-1.227.tar.gz
(Stored with Git LFS)
Normal file
BIN
Tie-Cycle-1.227.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#description: |-
|
||||||
|
# override description from CPAN
|
||||||
|
#summary: override summary from CPAN
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
#patches:
|
||||||
|
# foo.patch: -p1
|
||||||
|
# bar.patch:
|
||||||
|
#preamble: |-
|
||||||
|
# BuildRequires: gcc-c++
|
||||||
|
#post_prep: |-
|
||||||
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||||
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||||
|
#post_build: |-
|
||||||
|
# rm unused.files
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
#license: SUSE-NonFree
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: |-
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
|
#custom_test: |-
|
||||||
|
#startserver && make test
|
||||||
|
#ignore_requires: Bizarre::Module
|
80
perl-Tie-Cycle.changes
Normal file
80
perl-Tie-Cycle.changes
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 9 03:10:36 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 1.227
|
||||||
|
see /usr/share/doc/packages/perl-Tie-Cycle/Changes
|
||||||
|
|
||||||
|
1.227 2022-01-08T21:25:01Z
|
||||||
|
* No code changes. Fix a link in the README.pod.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 13 03:08:56 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 1.226
|
||||||
|
see /usr/share/doc/packages/perl-Tie-Cycle/Changes
|
||||||
|
|
||||||
|
1.226 2021-01-12T09:38:15Z
|
||||||
|
* Freshening the distro, Travis is gone, Github Actions are in.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 10 06:33:55 UTC 2017 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 1.225
|
||||||
|
see /usr/share/doc/packages/perl-Tie-Cycle/Changes
|
||||||
|
|
||||||
|
1.225 2017-07-09T17:49:10Z
|
||||||
|
* Bump the version to reindex (See https://github.com/andk/pause/issues/248 )
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 19 06:52:26 UTC 2017 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 1.224
|
||||||
|
see /usr/share/doc/packages/perl-Tie-Cycle/Changes
|
||||||
|
|
||||||
|
1.224 2017-04-18T11:41:22Z
|
||||||
|
* Fix up various dist things and clarify that this is under
|
||||||
|
the Artistic License 2.0.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 14 07:51:13 UTC 2017 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 1.222
|
||||||
|
see /usr/share/doc/packages/perl-Tie-Cycle/Changes
|
||||||
|
|
||||||
|
1.222 2017-01-20T11:30:37Z
|
||||||
|
* The module seems to have disappeared from CPAN, so I'm
|
||||||
|
re-uploading.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 7 10:49:44 UTC 2016 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 1.221
|
||||||
|
see /usr/share/doc/packages/perl-Tie-Cycle/Changes
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 14 20:38:26 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 1.21
|
||||||
|
see /usr/share/doc/packages/perl-Tie-Cycle/Changes
|
||||||
|
|
||||||
|
1.21 - Fri Oct 3 22:08:25 2014
|
||||||
|
* Update Makefile for better META data
|
||||||
|
|
||||||
|
1.19_01 - Mon Sep 2 10:51:42 2013
|
||||||
|
* Take out // (5.10 feature I used without thought) to restore
|
||||||
|
5.8 compatibility.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 4 09:15:18 UTC 2013 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 1.19
|
||||||
|
* Update for modern usage, better code
|
||||||
|
* I use this as an example in Mastering Perl, so I shouldn't
|
||||||
|
leave embarrassing practices in the code. :)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 28 16:56:58 UTC 2013 - coolo@suse.com
|
||||||
|
|
||||||
|
- initial package 1.17
|
||||||
|
* created by cpanspec 1.78.06
|
||||||
|
|
71
perl-Tie-Cycle.spec
Normal file
71
perl-Tie-Cycle.spec
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
#
|
||||||
|
# spec file for package perl-Tie-Cycle
|
||||||
|
#
|
||||||
|
# Copyright (c) 2022 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define cpan_name Tie-Cycle
|
||||||
|
Name: perl-Tie-Cycle
|
||||||
|
Version: 1.227
|
||||||
|
Release: 0
|
||||||
|
Summary: Cycle through a list of values via a scalar
|
||||||
|
License: Artistic-2.0
|
||||||
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/B/BD/BDFOY/%{cpan_name}-%{version}.tar.gz
|
||||||
|
Source1: cpanspec.yml
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64
|
||||||
|
BuildRequires: perl(Test::More) >= 1
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
|
%description
|
||||||
|
You use 'Tie::Cycle' 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 don't have to
|
||||||
|
worry about any of this since the magic of tie does that for you.
|
||||||
|
|
||||||
|
The tie takes an array reference as its third argument. The tie should
|
||||||
|
succeed unless the argument is not an array reference. Previous versions
|
||||||
|
required you to use an array that had more than one element (what's the
|
||||||
|
pointing of looping otherwise?), but I've removed that restriction since
|
||||||
|
the number of elements you want to use may change depending on the
|
||||||
|
situation.
|
||||||
|
|
||||||
|
During the tie, this module makes a shallow copy of the array reference. If
|
||||||
|
the array reference contains references, and those references are changed
|
||||||
|
after the tie, the elements of the cycle will change as well. See the
|
||||||
|
included _test.pl_ script for an example of this effect.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%install
|
||||||
|
%perl_make_install
|
||||||
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
|
%files -f %{name}.files
|
||||||
|
%doc Changes CONTRIBUTING.md examples
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user