Files
perl-String-Wildcard-Bash/perl-String-Wildcard-Bash.spec
Dirk Stoecker ae7b998515 Accepting request 994586 from devel:languages:perl:autoupdate
- updated to 0.044
   see /usr/share/doc/packages/perl-String-Wildcard-Bash/Changes
  0.044   2022-08-06  Released-By: PERLANCAR; Urgency: medium
          - Add functions:
            contains_{brace,joker,class,qmark,glob,globstar}_wildcard.
          - [function convert_wildcard_to_re] Add option: path_separator.
          - [function convert_wildcard_to_re] Add option: globstar.
          - Better compliance with bash: joker/glob does not match across
            subdirectory level, e.g. '*' matches 'aaa' but not 'aaa/bbb'.
          - [bugfix] Fix parameter passed to recursive
            convert_wildcard_to_re().

OBS-URL: https://build.opensuse.org/request/show/994586
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-String-Wildcard-Bash?expand=0&rev=2
2022-08-16 12:31:42 +00:00

58 lines
1.6 KiB
RPMSpec

#
# spec file for package perl-String-Wildcard-Bash
#
# 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
# 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/
#
%define cpan_name String-Wildcard-Bash
Name: perl-String-Wildcard-Bash
Version: 0.044
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Bash wildcard string routines
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
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More) >= 0.98
%{perl_requires}
%description
Bash wildcard string routines
%prep
%autosetup -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes README
%license LICENSE
%changelog