2024-08-10 20:48:19 +00:00
committed by Git OBS Bridge
parent aac1ccd01d
commit 1f47a8bc7b

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-File-Flock-Retry
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,12 +18,14 @@
%define cpan_name File-Flock-Retry
Name: perl-File-Flock-Retry
Version: 0.632
Version: 0.632.0
Release: 0
Summary: Yet another flock module
# 0.632 -> normalize -> 0.632.0
%define cpan_version 0.632
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Yet another flock module
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
BuildArch: noarch
BuildRequires: perl
@@ -32,6 +34,8 @@ BuildRequires: perl(File::Slurper)
BuildRequires: perl(File::Temp) >= 0.2307
BuildRequires: perl(File::chdir)
BuildRequires: perl(Test::More) >= 0.98
Provides: perl(File::Flock::Retry) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@@ -46,7 +50,7 @@ I prefer this approach to blocking/waiting indefinitely or failing
immediately.
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor