2024-08-07 18:45:48 +00:00
committed by Git OBS Bridge
parent 2c4b435ef4
commit b1a59b2c5a

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Array-IntSpan # spec file for package perl-Array-IntSpan
# #
# 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,16 +18,21 @@
%define cpan_name Array-IntSpan %define cpan_name Array-IntSpan
Name: perl-Array-IntSpan Name: perl-Array-IntSpan
Version: 2.004 Version: 2.4.0
Release: 0 Release: 0
Summary: Handles arrays of scalars or objects using integer ranges # 2.004 -> normalize -> 2.4.0
%define cpan_version 2.004
License: Artistic-2.0 License: Artistic-2.0
Group: Development/Libraries/Perl Summary: Handles arrays of scalars or objects using integer ranges
URL: https://metacpan.org/release/%{cpan_name} URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/D/DD/DDUMONT/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/D/DD/DDUMONT/%{cpan_name}-%{cpan_version}.tar.gz
BuildArch: noarch
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildArch: noarch Provides: perl(Array::IntSpan) = %{version}
Provides: perl(Array::IntSpan::Fields) = %{version}
Provides: perl(Array::IntSpan::IP) = %{version}
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %description
@@ -41,7 +46,7 @@ by comparing the adjacent values of the range. If 2 adjacent values are
identical, the 2 adjacent ranges are merged. identical, the 2 adjacent ranges are merged.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
@@ -56,7 +61,6 @@ make test
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README %doc Changes README
%license LICENSE %license LICENSE