Accepting request 865934 from devel:languages:perl:autoupdate

- updated to 1.04
   see /usr/share/doc/packages/perl-Text-Trim/Changes
  1.04    2020-12-24
          - RT -> GitHub for issue tracker, as RT is being shut down

OBS-URL: https://build.opensuse.org/request/show/865934
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Trim?expand=0&rev=3
This commit is contained in:
2021-01-22 10:58:16 +00:00
committed by Git OBS Bridge
parent 365e93e1a7
commit 44070d09bf
4 changed files with 19 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Text-Trim
#
# 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-Text-Trim
Version: 1.03
Release: 0
%define cpan_name Text-Trim
Name: perl-Text-Trim
Version: 1.04
Release: 0
Summary: Remove leading and/or trailing whitespace from strings
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/R/RJ/RJT/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
@@ -38,11 +36,11 @@ whitespace from strings. It is basically a wrapper around some simple
regexes with a flexible context-based interface.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%make_build
%check
make test
@@ -53,7 +51,6 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README README.md
%license LICENSE