forked from pool/perl-String-RewritePrefix
- 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
62 lines
1.8 KiB
RPMSpec
62 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package perl-String-RewritePrefix
|
|
#
|
|
# 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
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: perl-String-RewritePrefix
|
|
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-or-later
|
|
Group: Development/Libraries/Perl
|
|
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
|
|
Requires: perl(Sub::Exporter) >= 0.972
|
|
%{perl_requires}
|
|
|
|
%description
|
|
rewrite strings based on a set of known prefixes
|
|
|
|
%prep
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
make %{?_smp_mflags}
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%files -f %{name}.files
|
|
%defattr(-,root,root,755)
|
|
%doc Changes README
|
|
%license LICENSE
|
|
|
|
%changelog
|