8
0
2021-07-07 16:30:27 +00:00
committed by Git OBS Bridge
5 changed files with 77 additions and 40 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:280a1c4710390865fb9f310a861a34720b28b4cbe50609c841af5cf2d3a2bced
size 28136

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:30ebc3871882806589bd8f4d92689113e149c9a596bfd930eba745d54f1a5b64
size 28758

35
cpanspec.yml Normal file
View File

@@ -0,0 +1,35 @@
---
#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:
# baz.patch: PATCH-FIX-OPENSUSE
#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
#skip_doc: regexp_to_skip_for_doc.*
#add_doc: files to add to docs
#misc: |-
#anything else to be added to spec file
#follows directly after %files section, so it can contain new blocks or also
#changes to %files section

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sun Jul 4 03:07:16 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 1.024
see /usr/share/doc/packages/perl-Perl-PrereqScanner/Changes
1.024 2021-07-03 13:28:30-04:00 America/New_York
- switched from List::MoreUtils to List::Util (thanks, Karen
Etheridge!)
- update author contact info
- add docs on perl version policy
-------------------------------------------------------------------
Mon Apr 13 18:24:43 UTC 2015 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Perl-PrereqScanner
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,26 +12,26 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-Perl-PrereqScanner
Version: 1.023
Release: 0
%define cpan_name Perl-PrereqScanner
Summary: a tool to scan your Perl code for its prerequisites
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Perl-PrereqScanner/
Source: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
Name: perl-Perl-PrereqScanner
Version: 1.024
Release: 0
Summary: Tool to scan your Perl code for its prerequisites
License: Artistic-1.0 OR GPL-1.0-or-later
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.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(CPAN::Meta::Requirements) >= 2.124
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.124000
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.78
BuildRequires: perl(Getopt::Long::Descriptive)
BuildRequires: perl(List::MoreUtils)
BuildRequires: perl(List::Util) >= 1.33
BuildRequires: perl(Module::Path)
BuildRequires: perl(Moose)
BuildRequires: perl(Moose::Role)
@@ -42,9 +42,9 @@ BuildRequires: perl(String::RewritePrefix) >= 0.005
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Try::Tiny)
BuildRequires: perl(namespace::autoclean)
Requires: perl(CPAN::Meta::Requirements) >= 2.124
Requires: perl(CPAN::Meta::Requirements) >= 2.124000
Requires: perl(Getopt::Long::Descriptive)
Requires: perl(List::MoreUtils)
Requires: perl(List::Util) >= 1.33
Requires: perl(Module::Path)
Requires: perl(Moose)
Requires: perl(Moose::Role)
@@ -61,36 +61,26 @@ files.
The extraction may not be perfect but tries to do its best. It will
currently find the following prereqs:
* *
* plain lines beginning with 'use' or 'require' in your perl modules and
scripts, including minimum perl version
plain lines beginning with 'use' or 'require' in your perl modules and
scripts, including minimum perl version
* regular inheritance declared with the 'base' and 'parent' pragmata
* *
* Moose inheritance declared with the 'extends' keyword
regular inheritance declared with the 'base' and 'parent' pragmata
* Moose roles included with the 'with' keyword
* *
the Moose manpage inheritance declared with the 'extends' keyword
* *
the Moose manpage roles included with the 'with' keyword
* *
OO namespace aliasing using the 'aliased' module
* OO namespace aliasing using the 'aliased' module
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%{__make} test
make test
%install
%perl_make_install
@@ -98,7 +88,7 @@ currently find the following prereqs:
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes LICENSE README
%doc Changes README
%license LICENSE
%changelog