8
0

Compare commits

...

10 Commits

Author SHA256 Message Date
Stephan Kulow
33032cda66 Accepting request 185936 from devel:languages:perl
- fix usage of Module::Build::Tiny, removing MooseX-MultiInitArg.diff

- updated to 0.02
 - qw in list context is now an error

OBS-URL: https://build.opensuse.org/request/show/185936
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-MooseX-MultiInitArg?expand=0&rev=8
2013-08-06 10:05:52 +00:00
Stephan Kulow
8bf2785715 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MooseX-MultiInitArg?expand=0&rev=11 2013-08-05 12:54:23 +00:00
Stephan Kulow
7e95ddcd91 - fix usage of Module::Build::Tiny, removing MooseX-MultiInitArg.diff
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MooseX-MultiInitArg?expand=0&rev=10
2013-08-05 12:53:59 +00:00
Stephan Kulow
fb25f6b8ce - updated to 0.02
- qw in list context is now an error

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MooseX-MultiInitArg?expand=0&rev=9
2013-07-26 18:36:44 +00:00
Stephan Kulow
f636a276f6 Accepting request 179132 from devel:languages:perl
- 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

OBS-URL: https://build.opensuse.org/request/show/179132
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-MooseX-MultiInitArg?expand=0&rev=7
2013-06-17 08:15:07 +00:00
Stephan Kulow
d47bb22cf4 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MooseX-MultiInitArg?expand=0&rev=7
2013-06-16 07:02:42 +00:00
Stephan Kulow
7f0c253a02 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-MooseX-MultiInitArg?expand=0&rev=4
2011-12-06 17:44:43 +00:00
Sascha Peilicke
b934c4b1ed Autobuild autoformatter for 76247
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-MooseX-MultiInitArg?expand=0&rev=2
2011-07-19 14:06:53 +00:00
Sascha Peilicke
8ee75903c7 Accepting request 76247 from devel:languages:perl
new dep of hermes

OBS-URL: https://build.opensuse.org/request/show/76247
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-MooseX-MultiInitArg?expand=0&rev=1
2011-07-19 14:06:34 +00:00
Stephan Kulow
097909f2a6 - updated to 0.01
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MooseX-MultiInitArg?expand=0&rev=5
2011-07-14 11:21:02 +00:00
4 changed files with 70 additions and 36 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:971689feac40201411d2cadafa246ceb38f70f6560863c60aee5c4025ea52ea1
size 2980

View File

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

View File

@@ -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

View File

@@ -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