diff --git a/perl-File-Object.spec b/perl-File-Object.spec index ce279c0..4616058 100644 --- a/perl-File-Object.spec +++ b/perl-File-Object.spec @@ -1,7 +1,7 @@ # # spec file for package perl-File-Object # -# Copyright (c) 2023 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,23 +18,27 @@ %define cpan_name File-Object Name: perl-File-Object -Version: 0.18 +Version: 0.180.0 Release: 0 +# 0.18 -> normalize -> 0.180.0 +%define cpan_version 0.18 License: BSD-3-Clause Summary: Object system for filesystem paths URL: https://metacpan.org/release/%{cpan_name} -Source0: https://cpan.metacpan.org/authors/id/S/SK/SKIM/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/S/SK/SKIM/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Class::Utils) >= 0.14 -BuildRequires: perl(Error::Pure) >= 0.3 -BuildRequires: perl(Error::Pure::Utils) >= 0.16 +BuildRequires: perl(Class::Utils) >= 0.140 +BuildRequires: perl(Error::Pure) >= 0.300 +BuildRequires: perl(Error::Pure::Utils) >= 0.160 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.36 BuildRequires: perl(Test::NoWarnings) -Requires: perl(Class::Utils) >= 0.14 -Requires: perl(Error::Pure) >= 0.3 +Requires: perl(Class::Utils) >= 0.140 +Requires: perl(Error::Pure) >= 0.300 +Provides: perl(File::Object) = %{version} +%undefine __perllib_provides %{perl_requires} %description @@ -42,7 +46,7 @@ This provides an object oriented interface to file/directory paths, such as actual, parent or explicit directory and relative paths to them. %prep -%autosetup -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{cpan_version} %build PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor