2024-07-29 19:29:23 +00:00
committed by Git OBS Bridge
parent 3f5b0d9b74
commit 781b4aa8ab

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Sort-ArrayOfArrays # spec file for package perl-Sort-ArrayOfArrays
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # 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
@@ -12,60 +12,47 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
# norootforbuild
Name: perl-Sort-ArrayOfArrays
%define cpan_name Sort-ArrayOfArrays %define cpan_name Sort-ArrayOfArrays
Summary: Perl extension for sorting an array of arrays Name: perl-Sort-ArrayOfArrays
Version: 1.00 Version: 1.0.0
Release: 1 Release: 0
License: CHECK(GPL+ or Artistic) # 1.00 -> normalize -> 1.0.0
Group: Development/Libraries/Perl %define cpan_version 1.00
Url: http://search.cpan.org/dist/Sort-ArrayOfArrays/ License: CHECK(Artistic-1.0 or GPL-1.0-or-later)
#Source: http://www.cpan.org/modules/by-module/Sort/Sort-ArrayOfArrays-%{version}.tar.gz Summary: Sort::ArrayOfArrays Perl module
Source: %{cpan_name}-%{version}.tar.gz URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/E/EA/EARL/%{cpan_name}-%{cpan_version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
Provides: perl(Sort::ArrayOfArrays) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description %description
Sort::ArrayOfArrays was written to sort an arbitrary array of arrays, in Sort::ArrayOfArrays was written to sort an arbitrary array of arrays, in
powerful, different ways. powerful, different ways.
Author:
-------
Earl Cahill <cpan@spack.net>
%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
%{__make} %{?_smp_mflags} %make_build
%check %check
%{__make} test make test
%install %install
%perl_make_install %perl_make_install
# do not perl_process_packlist (noarch) %perl_process_packlist
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_gen_filelist %perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,-)
%doc Changes README %doc Changes README
%changelog %changelog