8
0

Accepting request 446319 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/446319
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-Reader?expand=0&rev=6
This commit is contained in:
Stephan Kulow
2016-12-15 12:18:32 +00:00
committed by Git OBS Bridge
parent 0b928b9270
commit ff90b09d0e
5 changed files with 74 additions and 10 deletions

View File

@@ -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}