Hello community, here is the log from the commit of package perl-Sub-Identify for openSUSE:Factory checked in at 2015-04-15 16:26:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Sub-Identify (Old) and /work/SRC/openSUSE:Factory/.perl-Sub-Identify.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Sub-Identify" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Sub-Identify/perl-Sub-Identify.changes 2011-11-21 12:46:16.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Sub-Identify.new/perl-Sub-Identify.changes 2015-04-15 16:26:55.000000000 +0200 @@ -1,0 +2,37 @@ +Tue Apr 14 20:32:50 UTC 2015 - [email protected] + +- updated to 0.10 + see /usr/share/doc/packages/perl-Sub-Identify/Changes + + 0.09- A. Sinan Unur (1): + Fix test failure due to hard-coded filenames. + + 0.08- Rafael Garcia-Suarez (2): + Require at least perl 5.8.0 + Improve docs beyond a really terse synopsis + + 0.07- Rafael Garcia-Suarez (1): + Require B unconditionally on older perls + + 0.06- Rafael Garcia-Suarez (4): + Remove perl version requirement + Skip tests that rely on perls more recent than 5.14.0 + Update ppport.h + Use the pure-perl version of is_sub_constant on perls earlier than 5.16 + + 0.05- Rafael Garcia-Suarez (13): + Add test for function prototypes + Require at least perl 5.14.1 + Better, simpler code for testing if we can load the XS version + Add gitignore file + Experimental implementation of get_code_location + Add XS implementation of get_code_location() + Add test for the prototype of get_code_location + Make get_code_location work on undefined subs + Add link to github repo in the meta file + Add TODO file + Add pure-perl implementation of is_sub_constant() + Add XS implemetation of is_constant_sub() + Add documentation + +------------------------------------------------------------------- Old: ---- Sub-Identify-0.04.tar.gz New: ---- Sub-Identify-0.10.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Sub-Identify.spec ++++++ --- /var/tmp/diff_new_pack.S22sL8/_old 2015-04-15 16:26:55.000000000 +0200 +++ /var/tmp/diff_new_pack.S22sL8/_new 2015-04-15 16:26:55.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Sub-Identify # -# 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,43 +15,47 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - -%bcond_with pod Name: perl-Sub-Identify +Version: 0.10 +Release: 0 %define cpan_name Sub-Identify Summary: Retrieve names of code references -Version: 0.04 -Release: 2 -License: GPL-1.0+ or Artistic-1.0 +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Sub-Identify/ -#Source: http://search.cpan.org/CPAN/authors/id/R/RG/RGARCIA/Sub-Identify-0.04.tar.gz -Source: %{cpan_name}-%{version}.tar.gz +Source: http://www.cpan.org/authors/id/R/RG/RGARCIA/%{cpan_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros -%if %{with pod} -BuildRequires: perl(Test::Pod) >= 1.14 -%endif -BuildRequires: perl(Test::More) +%{perl_requires} %description -Sub::Identify allows you to retrieve the real name of code references. -For this, it uses perl's introspection mechanism, provided by the -B module. - -Authors: --------- - Rafael Garcia-Suarez <rgarciasuarez at gmail dot com> +'Sub::Identify' allows you to retrieve the real name of code references. + +It provides six functions, all of them taking a code reference. + +'sub_name' returns the name of the code reference passed as an argument (or +'__ANON__' if it's an anonymous code reference), 'stash_name' returns its +package, and 'sub_fullname' returns the concatenation of the two. + +'get_code_info' returns a list of two elements, the package and the +subroutine name (in case of you want both and are worried by the speed.) + +In case of subroutine aliasing, those functions always return the original +name. + +'get_code_location' returns a two-element list containing the file name and +the line number where the subroutine has been defined. + +'is_sub_constant' returns a boolean value indicating whether the subroutine +is a constant or not. %prep %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %{__make} %{?_smp_mflags} %check @@ -62,11 +66,8 @@ %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf $RPM_BUILD_ROOT - %files -f %{name}.files -%defattr(-,root,root,-) -%doc Changes +%defattr(-,root,root,755) +%doc Changes README.mdown TODO.mdown %changelog ++++++ Sub-Identify-0.04.tar.gz -> Sub-Identify-0.10.tar.gz ++++++ ++++ 4354 lines of diff (skipped)
