diff --git a/Class-Tiny-1.001.tar.gz b/Class-Tiny-1.001.tar.gz deleted file mode 100644 index 2bc9ba2..0000000 --- a/Class-Tiny-1.001.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:122781cf673d54ca7db402946f54d566c5ca96bb0c61185446fbbf76dd9c053e -size 27064 diff --git a/Class-Tiny-1.004.tar.gz b/Class-Tiny-1.004.tar.gz new file mode 100644 index 0000000..201b266 --- /dev/null +++ b/Class-Tiny-1.004.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9d8c54db74a0cbbc7328bb304f5be6c3e4c6d18e061442bfa63e8a145b541679 +size 27506 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b7ec50 --- /dev/null +++ b/cpanspec.yml @@ -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 diff --git a/perl-Class-Tiny.changes b/perl-Class-Tiny.changes index e85beda..0391f86 100644 --- a/perl-Class-Tiny.changes +++ b/perl-Class-Tiny.changes @@ -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 diff --git a/perl-Class-Tiny.spec b/perl-Class-Tiny.spec index 5bd0b7b..4474ba6 100644 --- a/perl-Class-Tiny.spec +++ b/perl-Class-Tiny.spec @@ -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