2024-08-12 20:04:51 +00:00
committed by Git OBS Bridge
parent 030427852c
commit f2863ca731

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Overload-FileCheck # spec file for package perl-Overload-FileCheck
# #
# 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,18 +18,22 @@
%define cpan_name Overload-FileCheck %define cpan_name Overload-FileCheck
Name: perl-Overload-FileCheck Name: perl-Overload-FileCheck
Version: 0.013 Version: 0.13.0
Release: 0 Release: 0
# 0.013 -> normalize -> 0.13.0
%define cpan_version 0.013
License: Artistic-1.0 OR GPL-1.0-or-later License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Override/mock perl file check -X: -e, -f, -d, .. Summary: Override/mock perl file check -X: -e, -f, -d, ..
URL: https://metacpan.org/release/%{cpan_name} URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Test2::Bundle::Extended) BuildRequires: perl(Test2::Bundle::Extended)
BuildRequires: perl(Test2::Plugin::NoWarnings) BuildRequires: perl(Test2::Plugin::NoWarnings)
BuildRequires: perl(Test2::Tools::Explain) BuildRequires: perl(Test2::Tools::Explain)
Provides: perl(Overload::FileCheck) = %{version}
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %description
@@ -77,7 +81,7 @@ In addition it's also possible to mock the Perl OP 'stat' and 'lstat', read
"Mocking stat and lstat" section for more details. "Mocking stat and lstat" section for more details.
%prep %prep
%autosetup -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"