forked from pool/perl-String-RewritePrefix
Accepting request 767633 from devel:languages:perl:autoupdate
- updated to 0.008 see /usr/share/doc/packages/perl-String-RewritePrefix/Changes 0.008 2020-01-25 16:10:30-05:00 America/New_York more tests (thanks, Olivier Mengué!) warn when rewriting an empty list in scalar context (thanks, Olivier Mengué!) OBS-URL: https://build.opensuse.org/request/show/767633 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-String-RewritePrefix?expand=0&rev=9
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-String-RewritePrefix
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# 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-String-RewritePrefix
|
||||
Version: 0.007
|
||||
Version: 0.008
|
||||
Release: 0
|
||||
%define cpan_name String-RewritePrefix
|
||||
Summary: rewrite strings based on a set of known prefixes
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Summary: Rewrite strings based on a set of known prefixes
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/String-RewritePrefix/
|
||||
Source: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
|
||||
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(Sub::Exporter) >= 0.972
|
||||
BuildRequires: perl(Test::More) >= 0.96
|
||||
#BuildRequires: perl(String::RewritePrefix)
|
||||
Requires: perl(Sub::Exporter) >= 0.972
|
||||
%{perl_requires}
|
||||
|
||||
@@ -42,11 +42,11 @@ rewrite strings based on a set of known prefixes
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
@@ -55,6 +55,7 @@ rewrite strings based on a set of known prefixes
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes LICENSE README
|
||||
%doc Changes README
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user