Spec URL: http://jplesnik.fedorapeople.org/perl-Class-Tiny/perl-Class-Tiny.spec SRPM URL: http://jplesnik.fedorapeople.org/perl-Class-Tiny/perl-Class-Tiny-0.008-1.fc21.src.rpm Description: This module offers a minimalist class construction kit in around 120 lines 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 has heuristics to catch constructor attribute typos * 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 Fedora Account System Username: jplesnik
Since you're not including the dependencies for old Perls, you should probably BR: perl >= 5.14 rather than 5.8.1
The package is fine except for the bit pointed out by Paul. I'd suggest wrapping the dependency (both BR and the filter) in a condition checking for the version of perl available.
My local build has this: %if %(perl -e 'print $] < 5.014 ? 1 : 0;') BuildRequires: perl(Devel::GlobalDestruction) %else %global __requires_exclude ^perl\\(Devel::GlobalDestruction\\) %endif I have a similar condition for the Perl < 5.10 support but Class-Tiny seems to have issues there (https://github.com/dagolden/Class-Tiny/issues/8) and a test build of Pod-Spell 1.07 on 5.8.8 failed for me with an error that suggested it was a Class::Tiny problem, whilst 5.10 passed OK. So I'd be inclined not to even try to support Perl < 5.10 at the moment.
Updated files are on the same place. Spec URL: http://jplesnik.fedorapeople.org/perl-Class-Tiny/perl-Class-Tiny.spec SRPM URL: http://jplesnik.fedorapeople.org/perl-Class-Tiny/perl-Class-Tiny-0.008-1.fc21.src.rpm
Well, additional minimum perl depdency or Class::Tiny fixes could be added later if we hit the problems you're referring to. I don't think that's a review blocker. Approving.
New Package SCM Request ======================= Package Name: perl-Class-Tiny Short Description: Minimalist class construction Owners: jplesnik ppisar psabata Branches: f20 InitialCC: perl-sig
Git done (by process-git-requests).
perl-Class-Tiny-0.008-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/perl-Class-Tiny-0.008-1.fc20
Class-Tiny 0.009 is out now by the way.
Package perl-Class-Tiny-0.008-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing perl-Class-Tiny-0.008-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-16942/perl-Class-Tiny-0.008-1.fc20 then log in and leave karma (feedback).
perl-Class-Tiny-0.009-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/perl-Class-Tiny-0.009-1.fc20
perl-Class-Tiny-0.009-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.