|
|
@ -1,15 +1,17 @@
|
|
|
|
# Support isbn URN via Business::ISBN that needs gd library
|
|
|
|
# Support isbn URN via Business::ISBN that needs gd library
|
|
|
|
%if 0%{?rhel}
|
|
|
|
%if 0%{?rhel}
|
|
|
|
%bcond_with perl_URI_enables_Business_ISBN
|
|
|
|
%bcond_with perl_URI_enables_Business_ISBN
|
|
|
|
|
|
|
|
%bcond_with perl_URI_enables_Regexp_IPv6
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
%bcond_without perl_URI_enables_Business_ISBN
|
|
|
|
%bcond_without perl_URI_enables_Business_ISBN
|
|
|
|
|
|
|
|
%bcond_without perl_URI_enables_Regexp_IPv6
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-URI
|
|
|
|
Name: perl-URI
|
|
|
|
Version: 5.09
|
|
|
|
Version: 5.27
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: A Perl module implementing URI parsing and manipulation
|
|
|
|
Summary: A Perl module implementing URI parsing and manipulation
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
|
|
|
URL: https://metacpan.org/release/URI
|
|
|
|
URL: https://metacpan.org/release/URI
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/URI/URI-%{version}.tar.gz
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/URI/URI-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
@ -18,8 +20,10 @@ BuildRequires: coreutils
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
# Module Runtime
|
|
|
|
# Module Runtime
|
|
|
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
@ -36,16 +40,18 @@ BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Test Suite
|
|
|
|
# Test Suite
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
BuildRequires: perl(File::Spec::Functions)
|
|
|
|
BuildRequires: perl(File::Spec::Functions)
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
BuildRequires: perl(Storable)
|
|
|
|
BuildRequires: perl(Storable)
|
|
|
|
BuildRequires: perl(Test)
|
|
|
|
BuildRequires: perl(Test::Fatal)
|
|
|
|
BuildRequires: perl(Test::More) >= 0.96
|
|
|
|
BuildRequires: perl(Test::More) >= 0.96
|
|
|
|
BuildRequires: perl(Test::Needs)
|
|
|
|
BuildRequires: perl(Test::Needs)
|
|
|
|
# Runtime
|
|
|
|
BuildRequires: perl(Test::Warnings)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
# Optional Tests
|
|
|
|
|
|
|
|
# Geo::Point not (yet) available in Fedora
|
|
|
|
|
|
|
|
#BuildRequires: perl(Geo::Point)
|
|
|
|
|
|
|
|
# Dependencies
|
|
|
|
Requires: perl(Cwd)
|
|
|
|
Requires: perl(Cwd)
|
|
|
|
Requires: perl(Data::Dumper)
|
|
|
|
Requires: perl(Data::Dumper)
|
|
|
|
Requires: perl(Encode)
|
|
|
|
Requires: perl(Encode)
|
|
|
@ -62,6 +68,10 @@ BuildRequires: perl(Business::ISBN) >= 3.005
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
Suggests: perl(Business::ISBN) >= 3.005
|
|
|
|
Suggests: perl(Business::ISBN) >= 3.005
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with perl_URI_enables_Regexp_IPv6}
|
|
|
|
|
|
|
|
BuildRequires: perl(Regexp::IPv6) >= 0.03
|
|
|
|
|
|
|
|
Suggests: perl(Regexp::IPv6) >= 0.03
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
This module implements the URI class. Objects of this class represent
|
|
|
|
This module implements the URI class. Objects of this class represent
|
|
|
@ -85,11 +95,7 @@ with "%{_libexecdir}/%{name}/test".
|
|
|
|
chmod -c 644 uri-test
|
|
|
|
chmod -c 644 uri-test
|
|
|
|
|
|
|
|
|
|
|
|
for F in t/*.t t/*.pl; do
|
|
|
|
for F in t/*.t t/*.pl; do
|
|
|
|
if head -1 "$F" | grep -q -e '^#!.*perl\b' ; then
|
|
|
|
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
|
|
|
|
perl -MConfig -pi -e 's|^#!.*perl\b|$Config{startperl}|' "$F"
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' "$F"
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
chmod +x "$F"
|
|
|
|
chmod +x "$F"
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
@ -131,20 +137,94 @@ make test
|
|
|
|
%{_mandir}/man3/URI::URL.3*
|
|
|
|
%{_mandir}/man3/URI::URL.3*
|
|
|
|
%{_mandir}/man3/URI::WithBase.3*
|
|
|
|
%{_mandir}/man3/URI::WithBase.3*
|
|
|
|
%{_mandir}/man3/URI::_punycode.3*
|
|
|
|
%{_mandir}/man3/URI::_punycode.3*
|
|
|
|
|
|
|
|
%{_mandir}/man3/URI::icap.3*
|
|
|
|
|
|
|
|
%{_mandir}/man3/URI::icaps.3*
|
|
|
|
%{_mandir}/man3/URI::data.3*
|
|
|
|
%{_mandir}/man3/URI::data.3*
|
|
|
|
%{_mandir}/man3/URI::file.3*
|
|
|
|
%{_mandir}/man3/URI::file.3*
|
|
|
|
|
|
|
|
%{_mandir}/man3/URI::geo.3*
|
|
|
|
%{_mandir}/man3/URI::ldap.3*
|
|
|
|
%{_mandir}/man3/URI::ldap.3*
|
|
|
|
|
|
|
|
|
|
|
|
%files tests
|
|
|
|
%files tests
|
|
|
|
%{_libexecdir}/%{name}
|
|
|
|
%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 5.09-3
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 5.27-2
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 9 2024 Paul Howarth <paul@city-fan.org> - 5.27-1
|
|
|
|
|
|
|
|
- 5.27 bump (rhbz#2263535)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 3 2024 Paul Howarth <paul@city-fan.org> - 5.26-1
|
|
|
|
|
|
|
|
- 5.26 bump (rhbz#2262451)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jan 28 2024 Paul Howarth <paul@city-fan.org> - 5.25-1
|
|
|
|
|
|
|
|
- 5.25 bump (rhbz#2260642)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Jitka Plesnikova <jplesnik@redhat.com> - 5.24-1
|
|
|
|
|
|
|
|
- 5.24 bump (rhbz#2260409)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Paul Howarth <paul@city-fan.org> - 5.22-1
|
|
|
|
|
|
|
|
- 5.22 bump (rhbz#2260363)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.21-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Aug 24 2023 Jitka Plesnikova <jplesnik@redhat.com> - 5.21-1
|
|
|
|
|
|
|
|
- 5.21 bump (rhbz#2233885)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.19-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 1 2023 Paul Howarth <paul@city-fan.org> - 5.19-1
|
|
|
|
|
|
|
|
- 5.19 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Apr 29 2023 Paul Howarth <paul@city-fan.org> - 5.18-1
|
|
|
|
|
|
|
|
- 5.18 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.17-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Nov 3 2022 Paul Howarth <paul@city-fan.org> - 5.17-1
|
|
|
|
|
|
|
|
- 5.17 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Oct 12 2022 Jitka Plesnikova <jplesnik@redhat.com> - 5.16-1
|
|
|
|
|
|
|
|
- 5.16 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Oct 11 2022 Paul Howarth <paul@city-fan.org> - 5.15-1
|
|
|
|
|
|
|
|
- 5.15 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Oct 11 2022 Jitka Plesnikova <jplesnik@redhat.com> - 5.14-1
|
|
|
|
|
|
|
|
- 5.14 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Oct 07 2022 Jitka Plesnikova <jplesnik@redhat.com> - 5.13-1
|
|
|
|
|
|
|
|
- 5.13 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.12-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 11 2022 Paul Howarth <paul@city-fan.org> - 5.12-1
|
|
|
|
|
|
|
|
- 5.12 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 5 2022 Paul Howarth <paul@city-fan.org> - 5.11-1
|
|
|
|
|
|
|
|
- 5.11 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 5.10-3
|
|
|
|
|
|
|
|
- Perl 5.36 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 5.10-2
|
|
|
|
|
|
|
|
- Perl 5.36 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Oct 26 2021 Paul Howarth <paul@city-fan.org> - 5.10-1
|
|
|
|
|
|
|
|
- 5.10 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.09-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 5.09-3
|
|
|
|
|
|
|
|
- Perl 5.34 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 5.09-2
|
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 5.09-2
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Mar 03 2021 Jitka Plesnikova <jplesnik@redhat.com> - 5.09-1
|
|
|
|
* Wed Mar 03 2021 Jitka Plesnikova <jplesnik@redhat.com> - 5.09-1
|
|
|
|
- 5.09 bump
|
|
|
|
- 5.09 bump
|
|
|
|