Accepting request 297271 from devel:languages:perl:autoupdate
- updated to 1.17 see /usr/share/doc/packages/perl-Hash-AutoHash/Changes 1.17 2013-10-05 No functional changes Updated depdendencies Fixed boilerplate & pod tests 1.16 2012-12-11 Fixed more deprecated syntax: defined @array deprecated in 5.16 or so Fixed tests that were failing because of hash key randomization introduced in 5.16 1.15 2012-09-18 Changed version number in helper package for consistency with other AutoHash modules 1.14 2012-09-02 INCOMPATIBLE CHANGE: no longer possible to use method notation for keys with the same names as methods inherited from UNIVERSAL (the base class of everything). These are 'can', 'isa', 'DOES', and 'VERSION'. The reason is that as of Perl 5.9.3, calling UNIVERSAL methods as functions is deprecated and developers are encouraged to use method form instead. Previous versions of AutoHash are incompatible with CPAN modules that adopt this style. 1.13 2012-09-01 Added test for version number in POD Changed tests to correct errors found by CPAN testers that look like 'deprecated use of qw(...) as parentheses' although the actual error message is 'Global symbol "$test" requires explicit package name' OBS-URL: https://build.opensuse.org/request/show/297271 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Hash-AutoHash?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
34c703deeb
commit
62d6452198
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7ca24f4cd3ea6e6cb62fadd7709fa0bc56713acbdd68a66aedbc5c39c6067203
|
||||
size 51234
|
File diff suppressed because it is too large
Load Diff
3
Hash-AutoHash-1.17.tar.gz
Normal file
3
Hash-AutoHash-1.17.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c4dafb86d10666700dbdc863b221c3ff56523cb3b3cbb7d2501216fb708edf52
|
||||
size 53662
|
20
cpanspec.yml
Normal file
20
cpanspec.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
description_paragraphs: 3
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: -
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
@@ -1,3 +1,42 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 16 17:28:17 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 1.17
|
||||
see /usr/share/doc/packages/perl-Hash-AutoHash/Changes
|
||||
|
||||
1.17 2013-10-05
|
||||
No functional changes
|
||||
Updated depdendencies
|
||||
Fixed boilerplate & pod tests
|
||||
|
||||
1.16 2012-12-11
|
||||
Fixed more deprecated syntax: defined @array deprecated in 5.16 or so
|
||||
Fixed tests that were failing because of hash key randomization
|
||||
introduced in 5.16
|
||||
|
||||
1.15 2012-09-18
|
||||
Changed version number in helper package for consistency with other
|
||||
AutoHash modules
|
||||
|
||||
1.14 2012-09-02
|
||||
INCOMPATIBLE CHANGE: no longer possible to use method notation for keys
|
||||
with the same names as methods inherited from UNIVERSAL (the base class
|
||||
of everything). These are 'can', 'isa', 'DOES', and 'VERSION'. The
|
||||
reason is that as of Perl 5.9.3, calling UNIVERSAL methods as functions
|
||||
is deprecated and developers are encouraged to use method form instead.
|
||||
Previous versions of AutoHash are incompatible with CPAN modules that
|
||||
adopt this style.
|
||||
|
||||
1.13 2012-09-01
|
||||
Added test for version number in POD
|
||||
Changed tests to correct errors found by CPAN testers that look like
|
||||
'deprecated use of qw(...) as parentheses' although the actual error
|
||||
message is 'Global symbol "$test" requires explicit package name'
|
||||
Changes to Build.PL
|
||||
- Removed redundant 'dist_version_from' param
|
||||
- Added Module::Build to configure_requires
|
||||
- Changed create_makefile_pl from deprecated 'passthrough' to 'small'
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 16:15:13 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Hash-AutoHash
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@@ -15,79 +15,83 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: perl-Hash-AutoHash
|
||||
Version: 1.17
|
||||
Release: 0
|
||||
%define cpan_name Hash-AutoHash
|
||||
Summary: Object-oriented access to real and tied hashes
|
||||
Version: 1.12
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Hash-AutoHash/
|
||||
#Source: http://www.cpan.org/modules/by-module/Hash/Hash-AutoHash-%{version}.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.gz
|
||||
Patch0: %{cpan_name}-1.12_Build_n_Test.patch
|
||||
Source0: http://www.cpan.org/authors/id/N/NA/NATG/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl-macros
|
||||
%if 0%{?suse_version} > 1120
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
%endif
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(List::MoreUtils) >= 0.09
|
||||
BuildRequires: perl(Scalar::Util) >= 1.01
|
||||
BuildRequires: perl(Test::Deep)
|
||||
BuildRequires: perl(Tie::Hash) >= 1
|
||||
BuildRequires: perl(Tie::Hash::MultiValue)
|
||||
BuildRequires: perl(Tie::ToObject)
|
||||
Requires: perl(Carp)
|
||||
Requires: perl(List::MoreUtils) >= 0.09
|
||||
Requires: perl(Scalar::Util) >= 1.01
|
||||
Requires: perl(Tie::Hash) >= 1
|
||||
Requires: perl(Tie::ToObject)
|
||||
BuildRequires: perl(Carp) >= 1.2
|
||||
BuildRequires: perl(Cwd) >= 3.4
|
||||
BuildRequires: perl(Exporter) >= 5.68
|
||||
BuildRequires: perl(File::Spec) >= 3.4
|
||||
BuildRequires: perl(List::MoreUtils) >= 0.33
|
||||
BuildRequires: perl(List::Util) >= 1.32
|
||||
BuildRequires: perl(Module::Build) >= 0.400700
|
||||
BuildRequires: perl(Scalar::Util) >= 1.23
|
||||
BuildRequires: perl(Storable) >= 2.3
|
||||
BuildRequires: perl(Test::Deep) >= 0.11
|
||||
BuildRequires: perl(Test::More) >= 0.98
|
||||
BuildRequires: perl(Test::Pod) >= 1.48
|
||||
BuildRequires: perl(Test::Pod::Content) >= 0.0.6
|
||||
BuildRequires: perl(Tie::Hash) >= 1.04
|
||||
BuildRequires: perl(Tie::Hash::MultiValue) >= 1.02
|
||||
BuildRequires: perl(Tie::ToObject) >= 0.03
|
||||
BuildRequires: perl(XSLoader) >= 0.15
|
||||
Requires: perl(Carp) >= 1.2
|
||||
Requires: perl(Cwd) >= 3.4
|
||||
Requires: perl(Exporter) >= 5.68
|
||||
Requires: perl(List::MoreUtils) >= 0.33
|
||||
Requires: perl(List::Util) >= 1.32
|
||||
Requires: perl(Tie::Hash) >= 1.04
|
||||
Requires: perl(Tie::ToObject) >= 0.03
|
||||
Requires: perl(XSLoader) >= 0.15
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
This is yet another module that lets you access or change the elements of a
|
||||
hash using methods with the same name as the element's key. It follows in
|
||||
the footsteps of Hash::AsObject, Hash::Inflator, Data::OpenStruct::Deep,
|
||||
Object::AutoAccessor, and probably others. The main difference between this
|
||||
module and its forebears is that it supports tied hashes, in addition to
|
||||
regular hashes. This allows a modular division of labor: this class is
|
||||
generic and treats all hashes the same; any special semantics come from the
|
||||
tied hash.
|
||||
the footsteps of the Hash::AsObject manpage, the Hash::Inflator manpage,
|
||||
the Data::OpenStruct::Deep manpage, the Object::AutoAccessor manpage, and
|
||||
probably others. The main difference between this module and its forebears
|
||||
is that it supports tied hashes, in addition to regular hashes. This allows
|
||||
a modular division of labor: this class is generic and treats all hashes
|
||||
the same; any special semantics come from the tied hash.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Nat Goodman <natg at shore.net>
|
||||
The class has a 'new' method but also supplies several functions for
|
||||
constructing new Hash::AutoHash objects.
|
||||
|
||||
The constructor functions shown in the SYNOPSIS are all you need for
|
||||
typical uses. autohash_hash creates a new 'real' (ie, not tied)
|
||||
Hash::AutoHash object; autohash_tie creates a new tied Hash::AutoHash
|
||||
object. Once the objects are constructed, the class treats them the same
|
||||
way.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%if 0%{?suse_version} <= 1120
|
||||
%patch0 -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build
|
||||
./Build build flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%install
|
||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user