Accepting request 295936 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/295936 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Object-Simple?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
043e33a2f7
commit
b68feedace
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:fdfa3128f205c67d70997015000f2bc5444219c642f74101bd03d5504f426b66
|
|
||||||
size 15882
|
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b9ba7a3ba3859563392c8941a2227a1c084dabd0681f94ecd15e9d1723beaaa3
|
|
||||||
size 15565
|
|
3
Object-Simple-3.14.tar.gz
Normal file
3
Object-Simple-3.14.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6f097ddfe32b1a1c84cc0a1d07a7f45be820f4b108353275b89b5755d526a769
|
||||||
|
size 13313
|
@@ -1,3 +1,67 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 13 19:11:14 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 3.14
|
||||||
|
see /usr/share/doc/packages/perl-Object-Simple/Changes
|
||||||
|
|
||||||
|
3.14
|
||||||
|
- remove experimental with and role support
|
||||||
|
this is buggy.
|
||||||
|
- remove 5.10 feature on document. This hadn't work from now.
|
||||||
|
3.13
|
||||||
|
- fix super class namespace bug
|
||||||
|
3.12
|
||||||
|
- fix some role bug
|
||||||
|
3.11
|
||||||
|
- add with option and role support(EXPERIMENTAL)
|
||||||
|
3.10
|
||||||
|
- suppress warnings "Ambiguous use of *{-} resolved to -". after Perl 5.16
|
||||||
|
3.09
|
||||||
|
- use closure to suppress Perl 5.8 warnings
|
||||||
|
3.08
|
||||||
|
- improved document
|
||||||
|
3.07
|
||||||
|
- Carp module don't import any functions
|
||||||
|
3.0625
|
||||||
|
- fixed a little bug
|
||||||
|
3.0624
|
||||||
|
- changed BACKWARDS COMPATIBILITY POLICY
|
||||||
|
If a functionality is DEPRECATED, you can know it by DEPRECATED warnings
|
||||||
|
except for attribute method.
|
||||||
|
You can check all DEPRECATED functionalities by document.
|
||||||
|
DEPRECATED functionality is removed after five years,
|
||||||
|
but if at least one person use the functionality and tell me that thing
|
||||||
|
I extend one year each time he tell me it.
|
||||||
|
EXPERIMENTAL functionality will be changed without warnings.
|
||||||
|
- accessor and new method need more performance than userbility,
|
||||||
|
so argument check logic is removed, sorry
|
||||||
|
3.0622
|
||||||
|
removed -base flag EXPERIMENTAL status
|
||||||
|
added -base flag inherit feature.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 13 19:11:13 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 3.0625
|
||||||
|
see /usr/share/doc/packages/perl-Object-Simple/Changes
|
||||||
|
|
||||||
|
3.0625
|
||||||
|
- fixed a little bug
|
||||||
|
3.0624
|
||||||
|
- changed BACKWARDS COMPATIBILITY POLICY
|
||||||
|
If a functionality is DEPRECATED, you can know it by DEPRECATED warnings
|
||||||
|
except for attribute method.
|
||||||
|
You can check all DEPRECATED functionalities by document.
|
||||||
|
DEPRECATED functionality is removed after five years,
|
||||||
|
but if at least one person use the functionality and tell me that thing
|
||||||
|
I extend one year each time he tell me it.
|
||||||
|
EXPERIMENTAL functionality will be changed without warnings.
|
||||||
|
- accessor and new method need more performance than userbility,
|
||||||
|
so argument check logic is removed, sorry
|
||||||
|
3.0622
|
||||||
|
removed -base flag EXPERIMENTAL status
|
||||||
|
added -base flag inherit feature.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jun 12 21:00:56 CET 2011 - pascal.bleser@opensuse.org
|
Sun Jun 12 21:00:56 CET 2011 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
@@ -1,65 +1,84 @@
|
|||||||
# vim: set sw=4 ts=4 et nu:
|
#
|
||||||
|
# spec file for package perl-Object-Simple
|
||||||
|
#
|
||||||
|
# Copyright (c) 2015 SUSE LINUX 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-Object-Simple
|
Name: perl-Object-Simple
|
||||||
Version: 3.0621
|
Version: 3.14
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Generate accessor having default value, and provide constructor
|
%define cpan_name Object-Simple
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/K/KI/KIMOTO/Object-Simple-%{version}.tar.gz
|
Summary: Simple class builder(Mojo::Base porting)
|
||||||
URL: http://search.cpan.org/dist/Object-Simple
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic)
|
Url: http://search.cpan.org/dist/Object-Simple/
|
||||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
Source: http://www.cpan.org/authors/id/K/KI/KIMOTO/%{cpan_name}-%{version}.tar.gz
|
||||||
%{perl_requires}
|
|
||||||
BuildRequires: perl-macros
|
|
||||||
BuildRequires: make
|
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
||||||
BuildRequires: perl(Test::More)
|
|
||||||
%if 0%{?suse_version} >= 1120
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Object::Simple is a generator of accessor, such as Class::Accessor,
|
the Object::Simple manpage is the Mojo::Base manpage porting. you can use
|
||||||
Mojo::Base, or Moose. Class::Accessor is simple, but lack offten used
|
the Mojo::Base manpage features.
|
||||||
features. "new()" method can't receive hash arguments. Default value can't
|
|
||||||
be specified. If multipule values is set through the accssor, its value is
|
the Object::Simple manpage is a generator of accessor method, such as the
|
||||||
converted to array reference without warnings.
|
Class::Accessor manpage, the Mojo::Base manpage, or the Moose manpage.
|
||||||
Moose is too complex for many people to use, and depends on many modules.
|
|
||||||
Moose is almost another language, and don't fit familiar perl syntax.
|
the Class::Accessor manpage is simple, but lack offten used features. 'new'
|
||||||
Moose increase the complexity of projects, rather than increase production
|
method can't receive hash arguments. Default value can't be specified. If
|
||||||
efficiency. In addition, its complie speed is slow and used memroy is
|
multipule values is set through the accessor, its value is converted to
|
||||||
large.
|
array reference without warnings.
|
||||||
Object::Simple is the middle area between Class::Accessor and complex
|
|
||||||
class builder. Only offten used features is implemented. "new()" can
|
Some people find the Moose manpage too complex, and dislike that it depends
|
||||||
receive hash or hash reference as arguments. You can specify default value
|
on outside modules. Some say that the Moose manpage is almost like another
|
||||||
for the accessor. Compile speed is fast and used memory is small.
|
language and does not fit the familiar perl syntax. In some cases, in
|
||||||
Debugging is easy. Object::Simple is compatible of Mojo::Base
|
particular smaller projects, some people feel that the Moose manpage will
|
||||||
See Object::Simple::Guide to know Object::Simple details.
|
increase complexity and therefore decrease programmer efficiency. In
|
||||||
|
addition, the Moose manpage can be slow at compile-time and its memory
|
||||||
|
usage can get large.
|
||||||
|
|
||||||
|
the Object::Simple manpage is the middle way between the Class::Accessor
|
||||||
|
manpage and complex class builder. Only offten used features is implemented
|
||||||
|
has no dependency. the Object::Simple manpage is almost same as the
|
||||||
|
Mojo::Base manpage.
|
||||||
|
|
||||||
|
'new' method can receive hash or hash reference. You can specify default
|
||||||
|
value.
|
||||||
|
|
||||||
|
If you like the Mojo::Base manpage, the Object::Simple manpage is good
|
||||||
|
choice.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "Object-Simple-%{version}"
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%__sed -i '/^auto_install/d' Makefile.PL
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
%__make %{?_smp_flags}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%check
|
%files -f %{name}.files
|
||||||
%__make test
|
%defattr(-,root,root,755)
|
||||||
|
%doc Changes README
|
||||||
%clean
|
|
||||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc README Changes
|
|
||||||
%dir %{perl_vendorlib}/Object
|
|
||||||
%{perl_vendorlib}/Object/Simple.pm
|
|
||||||
%{perl_vendorlib}/Object/Simple
|
|
||||||
%doc %{perl_man3dir}/Object::Simple.%{perl_man3ext}%{ext_man}
|
|
||||||
%doc %{perl_man3dir}/Object::Simple::*.%{perl_man3ext}%{ext_man}
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
Reference in New Issue
Block a user