# Perform an optional test %bcond_without perl_URI_Query_enables_optional_test Name: perl-URI-Query Version: 0.16 Release: 11%{?dist} Summary: Class providing URI query string manipulation License: GPL+ or Artistic URL: https://metacpan.org/release/URI-Query Source0: https://cpan.metacpan.org/authors/id/G/GA/GAVINC/URI-Query-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(:VERSION) >= 5.5.30 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time: BuildRequires: perl(Carp) BuildRequires: perl(Clone) BuildRequires: perl(overload) BuildRequires: perl(parent) BuildRequires: perl(URI::Escape) BuildRequires: perl(vars) # Tests: # English not used # Pod::Coverage::TrustPod not used BuildRequires: perl(Test::More) >= 0.88 # Test::Pod 1.41 not used # Test::Pod::Coverage 1.08 not used %if %{with perl_URI_Query_enables_optional_test} # Optional tests: BuildRequires: perl(YAML) %endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description URI::Query provides simple URI query string manipulation, allowing you to create and manipulate URI query strings from GET and POST requests in web applications. This is primarily useful for creating links where you wish to preserve some subset of the parameters to the current request, and potentially add or replace others. Given a query string this is doable with regular expressions, of course, but making sure you get the anchoring and escaping right is tedious and error-prone - this module is simpler. %prep %setup -q -n URI-Query-%{version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} $RPM_BUILD_ROOT/* %check unset AUTHOR_TESTING RELEASE_TESTING make test %files %license LICENSE %doc ChangeLog README TODO %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.16-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue May 31 2022 Jitka Plesnikova - 0.16-10 - Perl 5.36 rebuild * Tue Jul 27 2021 Fedora Release Engineering - 0.16-9 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.16-8 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.16-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.16-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.16-5 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.16-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.16-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.16-2 - Perl 5.30 rebuild * Fri Feb 01 2019 Petr Pisar 0.16-1 - Specfile autogenerated by cpanspec 1.78.