Accepting request 943090 from devel:languages:perl:autoupdate

- updated to 0.006
   see /usr/share/doc/packages/perl-Regexp-Pattern-Perl/Changes
  0.006   2021-07-27  Released-By: PERLANCAR; Urgency: medium; Backward-Incompatible: yes
  	- [incompatible change] Rename pat perl_release_tarball_filename ->
  	  perl_release_archive_filename.
  0.005   2021-07-27  Released-By: PERLANCAR; Urgency: medium
  	- Add module: Regexp::Pattern::Perl::Release.

OBS-URL: https://build.opensuse.org/request/show/943090
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Regexp-Pattern-Perl?expand=0&rev=2
This commit is contained in:
Lars Vogdt
2022-01-01 17:44:07 +00:00
committed by Git OBS Bridge
parent 243dfc143d
commit 44927e0c11
5 changed files with 57 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Regexp-Pattern-Perl
#
# Copyright (c) 2020 SUSE LLC
# 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,17 +16,16 @@
#
Name: perl-Regexp-Pattern-Perl
Version: 0.004
Release: 0
%define cpan_name Regexp-Pattern-Perl
Name: perl-Regexp-Pattern-Perl
Version: 0.006
Release: 0
Summary: Regexp patterns related to Perl
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/P/PE/PERLANCAR/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
@@ -35,11 +34,11 @@ BuildRequires: perl-macros
Regexp::Pattern is a convention for organizing reusable regex patterns.
%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
@@ -50,7 +49,6 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%license LICENSE