Accepting request 865406 from devel:languages:perl:autoupdate

- updated to 1.022
   see /usr/share/doc/packages/perl-Module-Extract-Namespaces/Changes
  1.022 2021-01-20T09:52:22Z
  	* freshen distro, dump Travis CI, add Appveyor, add Github Actions

OBS-URL: https://build.opensuse.org/request/show/865406
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-Extract-Namespaces?expand=0&rev=7
This commit is contained in:
2021-01-21 14:56:29 +00:00
committed by Git OBS Bridge
parent 82309bbc66
commit 54c969f3ce
4 changed files with 26 additions and 20 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Module-Extract-Namespaces
#
# Copyright (c) 2017 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,27 +12,25 @@
# 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-Module-Extract-Namespaces
Version: 1.021
Release: 0
%define cpan_name Module-Extract-Namespaces
Summary: Extract the Package Declarations From a Module
Name: perl-Module-Extract-Namespaces
Version: 1.022
Release: 0
Summary: Extract the package declarations from a module
License: Artistic-2.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Module-Extract-Namespaces/
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/B/BD/BDFOY/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(PPI) >= 1.126
BuildRequires: perl(Test::More) >= 0.94
Requires: perl(PPI) >= 1.126
BuildRequires: perl(PPI) >= 1.270
BuildRequires: perl(Test::More) >= 1
Requires: perl(PPI) >= 1.270
%{perl_requires}
%description
@@ -46,14 +44,14 @@ It does not extract:
* * packages created as part of a fully qualified variable name
%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
@@ -61,7 +59,6 @@ It does not extract:
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes examples
%license LICENSE