2024-08-16 21:31:53 +00:00
committed by Git OBS Bridge
parent aaa7d6b5e9
commit cd3d352151

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Regexp-Pattern-Perl # spec file for package perl-Regexp-Pattern-Perl
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,23 +18,30 @@
%define cpan_name Regexp-Pattern-Perl %define cpan_name Regexp-Pattern-Perl
Name: perl-Regexp-Pattern-Perl Name: perl-Regexp-Pattern-Perl
Version: 0.007 Version: 0.7.0
Release: 0 Release: 0
# 0.007 -> normalize -> 0.7.0
%define cpan_version 0.007
License: Artistic-1.0 OR GPL-1.0-or-later License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Regexp patterns related to Perl Summary: Regexp patterns related to Perl
URL: https://metacpan.org/release/%{cpan_name} URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
Provides: perl(Regexp::Pattern::Perl) = %{version}
Provides: perl(Regexp::Pattern::Perl::Dist) = %{version}
Provides: perl(Regexp::Pattern::Perl::Module) = %{version}
Provides: perl(Regexp::Pattern::Perl::Release) = %{version}
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %description
Regexp::Pattern is a convention for organizing reusable regex patterns. Regexp::Pattern is a convention for organizing reusable regex patterns.
%prep %prep
%autosetup -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor