Hello community,
here is the log from the commit of package perl-Sub-Exporter-GlobExporter for
openSUSE:Factory checked in at 2015-11-12 19:41:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Sub-Exporter-GlobExporter (Old)
and /work/SRC/openSUSE:Factory/.perl-Sub-Exporter-GlobExporter.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Sub-Exporter-GlobExporter"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Sub-Exporter-GlobExporter/perl-Sub-Exporter-GlobExporter.changes
2013-11-28 07:38:32.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Sub-Exporter-GlobExporter.new/perl-Sub-Exporter-GlobExporter.changes
2015-11-12 19:41:26.000000000 +0100
@@ -1,0 +2,10 @@
+Wed Nov 11 10:31:21 UTC 2015 - [email protected]
+
+- updated to 0.005
+ see /usr/share/doc/packages/perl-Sub-Exporter-GlobExporter/Changes
+
+ 0.005 2015-11-04 23:27:05-05:00 America/New_York
+ the "-as" argument can now be a scalar ref, to which the glob will
be
+ assigned
+
+-------------------------------------------------------------------
Old:
----
Sub-Exporter-GlobExporter-0.004.tar.gz
New:
----
Sub-Exporter-GlobExporter-0.005.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Sub-Exporter-GlobExporter.spec ++++++
--- /var/tmp/diff_new_pack.wYnBsK/_old 2015-11-12 19:41:27.000000000 +0100
+++ /var/tmp/diff_new_pack.wYnBsK/_new 2015-11-12 19:41:27.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Sub-Exporter-GlobExporter
#
-# Copyright (c) 2013 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
@@ -17,27 +17,51 @@
Name: perl-Sub-Exporter-GlobExporter
-Version: 0.004
+Version: 0.005
Release: 0
%define cpan_name Sub-Exporter-GlobExporter
-Summary: export shared globs with Sub::Exporter collectors
+Summary: Export Shared Globs with Sub::Exporter Collectors
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Sub-Exporter-GlobExporter/
-Source:
http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
+Source0:
http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Sub::Exporter)
BuildRequires: perl(Test::More) >= 0.96
-#BuildRequires: perl(Sub::Exporter::GlobExporter)
-#BuildRequires: perl(TestGlob)
Requires: perl(Sub::Exporter)
%{perl_requires}
%description
-export shared globs with Sub::Exporter collectors
+Sub::Exporter::GlobExporter provides only one routine, 'glob_exporter',
+which may be called either by its full name or may be imported on request.
+
+ my $exporter = glob_exporter( $default_name, $globref_locator );
+
+The routine returns a collection validator|Sub::Exporter/Collector
+Configuration that will export a glob into the importing package. It will
+export it under the name '$default_name', unless an alternate name is given
+(as shown above). The glob that is installed is specified by the
+'$globref_locator', which can be either the globref itself, or a reference
+to a string which will be called on the exporter
+
+For an example, see the /SYNOPSIS, in which a method is defined to produce
+the globref to share. This allows the glob-exporting package to be
+subclassed, so the subclass may choose to either re-use the same glob when
+exporting or to export a new one.
+
+If there are entries in the arguments to the globref-exporting collector
+_other_ than those beginning with a dash, a hashref of them will be passed
+to the globref locator. In other words, if we were to write this:
+
+ use Shared::Symbol '$Symbol' => { arg => 1, -as => 2 };
+
+It would result in a call like the following:
+
+ my $globref = Shared::Symbol->_shared_globref({ arg => 1 });
%prep
%setup -q -n %{cpan_name}-%{version}
++++++ Sub-Exporter-GlobExporter-0.004.tar.gz ->
Sub-Exporter-GlobExporter-0.005.tar.gz ++++++
++++ 1803 lines of diff (skipped)
++++++ cpanspec.yml ++++++
---
#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
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module