Accepting request 1041136 from devel:languages:perl:autoupdate

- updated to 0.150
   see /usr/share/doc/packages/perl-Parse-Netstat/Changes

OBS-URL: https://build.opensuse.org/request/show/1041136
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Parse-Netstat?expand=0&rev=5
This commit is contained in:
Stephan Kulow
2022-12-13 16:03:00 +00:00
committed by Git OBS Bridge
parent 46d4a37081
commit 2cb23fc43c
4 changed files with 20 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Parse-Netstat
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,22 +12,20 @@
# 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-Parse-Netstat
Version: 0.14
Release: 0
%define cpan_name Parse-Netstat
Name: perl-Parse-Netstat
Version: 0.150
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Parse the output of "netstat" command
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Parse-Netstat/
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(File::ShareDir::Install) >= 0.06
@@ -39,14 +37,14 @@ BuildRequires: perl(Test::More) >= 0.98
Parse the output of "netstat" command
%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
@@ -54,7 +52,6 @@ Parse the output of "netstat" command
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%license LICENSE