8
0

Accepting request 873328 from devel:languages:perl:autoupdate

- updated to 1.27
   see /usr/share/doc/packages/perl-Test-Script/Changes
  1.27      2021-02-17 13:15:57 -0700
    - Documentation improvements (RRWO++ gh#31, gh#30)

OBS-URL: https://build.opensuse.org/request/show/873328
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Script?expand=0&rev=45
This commit is contained in:
2021-02-18 09:41:44 +00:00
committed by Git OBS Bridge
parent 87286edf91
commit 2a14d2f761
4 changed files with 19 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Test-Script
#
# Copyright (c) 2019 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
@@ -16,18 +16,16 @@
#
Name: perl-Test-Script
Version: 1.26
Release: 0
%define cpan_name Test-Script
Name: perl-Test-Script
Version: 1.27
Release: 0
Summary: Basic cross-platform tests for scripts
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Capture::Tiny)
@@ -62,12 +60,11 @@ Where a clash exists between wanting more functionality and maintaining
platform safety, this module will err on the side of platform safety.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -name "*.sh" -print0 | xargs -0 chmod 644
%autosetup -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%make_build
%check
make test
@@ -78,7 +75,6 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc author.yml Changes README
%license LICENSE