forked from pool/perl-MooseX-MultiInitArg
Compare commits
10 Commits
cfeb39272c
...
33032cda66
Author | SHA256 | Date | |
---|---|---|---|
|
33032cda66 | ||
|
8bf2785715 | ||
|
7e95ddcd91 | ||
|
fb25f6b8ce | ||
|
f636a276f6 | ||
|
d47bb22cf4 | ||
|
7f0c253a02 | ||
|
b934c4b1ed | ||
|
8ee75903c7 | ||
|
097909f2a6 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:971689feac40201411d2cadafa246ceb38f70f6560863c60aee5c4025ea52ea1
|
||||
size 2980
|
3
MooseX-MultiInitArg-0.02.tar.gz
Normal file
3
MooseX-MultiInitArg-0.02.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9fb65d5a6343368288f6ac83d9f4fad40b1e2ab4811ac1279536c177be9c28f2
|
||||
size 10306
|
@@ -1,3 +1,27 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 5 12:53:07 UTC 2013 - coolo@suse.com
|
||||
|
||||
- fix usage of Module::Build::Tiny, removing MooseX-MultiInitArg.diff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 26 18:36:01 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to 0.02
|
||||
- qw in list context is now an error
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 16 06:55:41 UTC 2013 - coolo@suse.com
|
||||
|
||||
- backport the perl 5.18 fix from 0.02:
|
||||
MooseX-MultiInitArg.diff
|
||||
- do not update as it requires Module::Build::Tiny, which is horrible
|
||||
to build as rpm
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 14 11:13:43 UTC 2011 - coolo@novell.com
|
||||
|
||||
- regnerate with cpanspec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 13:33:50 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
@@ -1,58 +1,68 @@
|
||||
# vim: set sw=4 ts=4 et nu:
|
||||
# norootforbuild
|
||||
#
|
||||
# spec file for package perl-MooseX-MultiInitArg
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# 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 http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-MooseX-MultiInitArg
|
||||
Version: 0.01
|
||||
Version: 0.02
|
||||
Release: 0
|
||||
%define cpan_name MooseX-MultiInitArg
|
||||
Summary: Attributes with aliases for constructor arguments
|
||||
Source: http://search.cpan.org/CPAN/authors/id/F/FR/FRODWITH/MooseX-MultiInitArg-%{version}.tar.gz
|
||||
URL: http://search.cpan.org/dist/MooseX-MultiInitArg
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
License: Perl License
|
||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||
%{perl_requires}
|
||||
Url: http://search.cpan.org/dist/MooseX-MultiInitArg/
|
||||
Source: http://www.cpan.org/authors/id/F/FR/FRODWITH/%{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: make
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Module::Build::Tiny) >= 0.023
|
||||
BuildRequires: perl(Moose)
|
||||
#BuildRequires: perl(Moose::Meta::Attribute)
|
||||
#BuildRequires: perl(Moose::Role)
|
||||
#BuildRequires: perl(MooseX::MultiInitArg)
|
||||
#BuildRequires: perl(MooseX::MultiInitArg::Attribute)
|
||||
#BuildRequires: perl(MooseX::MultiInitArg::Trait)
|
||||
Requires: perl(Moose)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
If you've ever wanted to be able to call an attribute any number of things
|
||||
while you're passing arguments to your object constructor, Now You Can.
|
||||
|
||||
The primary motivator is that I have some attributes that were named
|
||||
inconsistently, and I wanted to rename them without breaking backwards
|
||||
compatibility with my existing API.
|
||||
|
||||
%prep
|
||||
%setup -q -n "MooseX-MultiInitArg-%{version}"
|
||||
%__sed -i '/^auto_install/d' Makefile.PL
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||||
%__make %{?jobs:-j%{jobs}}
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%{__perl} Build.PL --installdirs=vendor
|
||||
./Build build --flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%__make test
|
||||
./Build test
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
%install
|
||||
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc Changes README
|
||||
%dir %{perl_vendorlib}/MooseX
|
||||
%{perl_vendorlib}/MooseX/MultiInitArg.pm
|
||||
%{perl_vendorlib}/MooseX/MultiInitArg
|
||||
%dir %{perl_vendorarch}/auto/MooseX
|
||||
%{perl_vendorarch}/auto/MooseX/MultiInitArg
|
||||
%doc %{perl_man3dir}/MooseX::MultiInitArg.%{perl_man3ext}%{ext_man}
|
||||
%doc %{perl_man3dir}/MooseX::MultiInitArg::*.%{perl_man3ext}%{ext_man}
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes cpanfile LICENSE README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user