diff --git a/Module-Reader-0.002003.tar.gz b/Module-Reader-0.002003.tar.gz deleted file mode 100644 index c22a9ef..0000000 --- a/Module-Reader-0.002003.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ecd13483a7797a4cf2261321ac43c8637f0cfe89e9e90ff55830ffa5499e2349 -size 4689 diff --git a/Module-Reader-0.003002.tar.gz b/Module-Reader-0.003002.tar.gz new file mode 100644 index 0000000..adbfafb --- /dev/null +++ b/Module-Reader-0.003002.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a67d9d94790900f5d4cf0a61e4f4c621c852c7f657eeb58497c5cb0471c1c0de +size 11372 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..76ad4a4 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,28 @@ +--- +#description_paragraphs: 3 +#description: |- +# override description from CPAN +#summary: override summary from CPAN +#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_build: |- +# rm unused.files +#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 diff --git a/perl-Module-Reader.changes b/perl-Module-Reader.changes index 2784e60..e74207f 100644 --- a/perl-Module-Reader.changes +++ b/perl-Module-Reader.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Thu Dec 15 06:49:49 UTC 2016 - coolo@suse.com + +- updated to 0.003002 + see /usr/share/doc/packages/perl-Module-Reader/Changes + + 0.003002 - 2016-12-14 + - releasing as stable + + 0.003_001 - 2016-11-30 + - fix links and formatting in pod + - fix some edge cases with arrayref hooks + - fix tests on Win32 + - fix 5.6 support + - fix cperl support + + 0.003_000 - 2016-11-27 + * Features + - add new object based interface, with more controls + - result objects include more information, including found filenames and + the @INC entry found in + - searches can be performed by filename rather than module name + - handle ./ and ../ like perl core for file searches + - list of all findable files can be returned + + * Bug Fixes + - fix @INC hook edge case + - adjust error messages to match perl core + - handle special files (character devices, fifos) correctly + - handle permission denied errors correctly + - support pmc files + - ignore -C/PERL_UNICODE layers, as perl does + ------------------------------------------------------------------- Mon Apr 13 18:23:50 UTC 2015 - coolo@suse.com diff --git a/perl-Module-Reader.spec b/perl-Module-Reader.spec index 3962edd..0f95149 100644 --- a/perl-Module-Reader.spec +++ b/perl-Module-Reader.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Module-Reader # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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,14 +17,15 @@ Name: perl-Module-Reader -Version: 0.002003 +Version: 0.003002 Release: 0 %define cpan_name Module-Reader -Summary: Read the source of a module like perl does +Summary: Find and read perl modules like perl does License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Module-Reader/ -Source: http://www.cpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -33,9 +34,11 @@ BuildRequires: perl(Test::More) >= 0.88 %{perl_requires} %description -Reads the content of perl modules the same way perl does. This includes -reading modules available only by perlfunc/require, or filtered through -them. +This module finds modules in '@INC' using the same algorithm perl does. +From that, it will give you the source content of a module, the file name +(where available), and how it was found. Searches (and content) are based +on the same internal rules that perl uses for _require|perlfunc/require_ +and _do|perlfunc/do_. %prep %setup -q -n %{cpan_name}-%{version}