commit 8f1c65fad3c15205c32c830d0ab3c161bd7fdeb0 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Fri Feb 3 06:24:42 2012 +0100 initial import (rhbz#784167) .gitignore | 1 + perl-MooseX-Attribute-Chained.spec | 71 ++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 73 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..269d080 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/MooseX-Attribute-Chained-1.0.1.tar.gz diff --git a/perl-MooseX-Attribute-Chained.spec b/perl-MooseX-Attribute-Chained.spec new file mode 100644 index 0000000..02b49bb --- /dev/null +++ b/perl-MooseX-Attribute-Chained.spec @@ -0,0 +1,71 @@ +Name: perl-MooseX-Attribute-Chained +Version: 1.0.1 +Release: 1%{?dist} +Summary: Attribute that returns the instance to allow for chaining +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/MooseX-Attribute-Chained/ +Source0: http://www.cpan.org/authors/id/P/PE/PERLER/MooseX-Attribute-Chained-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Temp) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Moose) +BuildRequires: perl(Test::More) >= 0.88 +BuildRequires: perl(Test::Script) +BuildRequires: perl(Try::Tiny) +# for release testing, but they mostly fail +#BuildRequires: perl(Pod::Coverage::TrustPod) +#BuildRequires: perl(Test::HasVersion) +#BuildRequires: perl(Test::Kwalitee) +#BuildRequires: perl(Test::MinimumVersion) +#BuildRequires: perl(Test::Pod) +#BuildRequires: perl(Test::Pod::Coverage) +#BuildRequires: perl(Test::Portability::Files) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +# renamed from perl-MooseX-ChainedAccessors in January 2012 +# no explicit provides necessary as this package still contains the old classes +# and rpm automatically detects them +Obsoletes: perl-MooseX-ChainedAccessors <= 0.02-3.fc17 + +%?perl_default_filter + +%description +MooseX::Attribute::Chained is a Moose Trait which allows for method +chaining on accessors by returning $self on write/set operations. + +%prep +%setup -q -n MooseX-Attribute-Chained-%{version} + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=%{buildroot} create_packlist=0 +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot}/* + +%check +./Build test + +%files +%doc Changes LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Jan 20 2012 Iain Arnell <iarnell@xxxxxxxxx> 1.0.1-1 +- renamed from perl-MooseX-ChainedAccessors +- specfile regenerated by cpanspec + +* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.02-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Jul 19 2011 Petr Sabata <contyk@xxxxxxxxxx> - 0.02-2 +- Perl mass rebuild + +* Sat Apr 02 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.02-1 +- Specfile autogenerated by cpanspec 1.79. diff --git a/sources b/sources index e69de29..51bcf2f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +407a3638e2eccc4a4657f2cb2b2f2378 MooseX-Attribute-Chained-1.0.1.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel