|
|
|
Name: perl-Sort-Versions
|
|
|
|
Version: 1.62
|
|
|
|
Release: 29%{?dist}
|
|
|
|
Summary: Perl module for sorting of revision-like numbers
|
|
|
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
|
|
|
URL: https://metacpan.org/release/Sort-Versions
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/Sort/Sort-Versions-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
|
|
|
%description
|
|
|
|
A perl 5 module for sorting of revision-like numbers
|
|
|
|
|
|
|
|
Sort::Versions allows easy sorting of mixed non-numeric and numeric strings,
|
|
|
|
like the 'version numbers' that many shared library systems and revision
|
|
|
|
control packages use. This is quite useful if you are trying to deal with
|
|
|
|
shared libraries. It can also be applied to applications that intersperse
|
|
|
|
variable-width numeric fields within text. Other applications can
|
|
|
|
undoubtedly be found.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Sort-Versions-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%{make_install}
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc Changes
|
|
|
|
%license LICENSE
|
|
|
|
%{perl_vendorlib}/Sort
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Mon Sep 23 2024 Simone Caronni <negativo17@gmail.com> - 1.62-29
|
|
|
|
- Update SPEC file.
|
|
|
|
- Trim changelog.
|
|
|
|
|
|
|
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.62-28
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.62-27
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.62-26
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.62-25
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.62-24
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Nov 28 2022 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.62-23
|
|
|
|
- Modernize spec.
|
|
|
|
- Convert license to SPDX.
|
|
|
|
- Update sources to sha512.
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.62-22
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.62-21
|
|
|
|
- Perl 5.36 rebuild
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.62-20
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|