1
0

Accepting request 343814 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/343814
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Class-Tiny?expand=0&rev=12
This commit is contained in:
Stephan Kulow 2015-11-11 14:56:48 +00:00 committed by Git OBS Bridge
parent 1fdc0edf80
commit 38b429e438
5 changed files with 75 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:122781cf673d54ca7db402946f54d566c5ca96bb0c61185446fbbf76dd9c053e
size 27064

3
Class-Tiny-1.004.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9d8c54db74a0cbbc7328bb304f5be6c3e4c6d18e061442bfa63e8a145b541679
size 27506

23
cpanspec.yml Normal file
View File

@ -0,0 +1,23 @@
---
#description_paragraphs: 3
#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_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

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Wed Nov 11 09:49:33 UTC 2015 - coolo@suse.com
- updated to 1.004
see /usr/share/doc/packages/perl-Class-Tiny/Changes
1.004 2015-10-30 10:33:59-04:00 America/New_York
- No changes since 1.003
1.003 2015-10-27 13:01:02-04:00 America/New_York (TRIAL RELEASE)
[INTERNAL]
- Refactored accessor generation to allow subclasses of Class::Tiny
to implement alternate accessors.
-------------------------------------------------------------------
Sat Feb 7 07:21:44 UTC 2015 - coolo@suse.com

View File

@ -17,14 +17,15 @@
Name: perl-Class-Tiny
Version: 1.001
Version: 1.004
Release: 0
%define cpan_name Class-Tiny
Summary: Minimalist class construction
License: Apache-2.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Class-Tiny/
Source: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz
Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@ -34,7 +35,34 @@ BuildRequires: perl(Test::More) >= 0.96
%description
This module offers a minimalist class construction kit in around 120 lines
of code.
of code. Here is a list of features:
* defines attributes via import arguments
* generates read-write accessors
* supports lazy attribute defaults
* supports custom accessors
* superclass provides a standard 'new' constructor
* 'new' takes a hash reference or list of key/value pairs
* 'new' supports providing 'BUILDARGS' to customize constructor options
* 'new' calls 'BUILD' for each class from parent to child
* superclass provides a 'DESTROY' method
* 'DESTROY' calls 'DEMOLISH' for each class from child to parent
Multiple-inheritance is possible, with superclass order determined via
mro::get_linear_isa|mro/Functions.
It uses no non-core modules for any recent Perl. On Perls older than v5.10
it requires MRO::Compat. On Perls older than v5.14, it requires
Devel::GlobalDestruction.
%prep
%setup -q -n %{cpan_name}-%{version}
@ -53,6 +81,6 @@ of code.
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CONTRIBUTING.mkdn cpanfile LICENSE perlcritic.rc README tidyall.ini
%doc Changes CONTRIBUTING.mkdn LICENSE README
%changelog