%global enable_net_tests 0 Name: perl-YUM-RepoQuery Version: 0.002 Release: 30%{?dist} Summary: Query a YUM repository for package information License: LGPLv2+ URL: https://metacpan.org/release/YUM-RepoQuery Source0: http://backpan.perl.org/authors/id/R/RS/RSRCHBOY/YUM-RepoQuery-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: perl-generators BuildRequires: perl(base) BuildRequires: perl(DBIx::Class) BuildRequires: perl(DBIx::Class::Schema) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Find::Rule) BuildRequires: perl(File::Slurp) BuildRequires: perl(File::stat) BuildRequires: perl(File::Temp) BuildRequires: perl(IO::Uncompress::Bunzip2) BuildRequires: perl(Moose) BuildRequires: perl(MooseX::MarkAsMethods) BuildRequires: perl(MooseX::Role::Parameterized) BuildRequires: perl(MooseX::Types::Path::Class) BuildRequires: perl(MooseX::Types::URI) BuildRequires: perl(namespace::clean) BuildRequires: perl(Path::Class) BuildRequires: perl(URI::Fetch) BuildRequires: perl(XML::Simple) # Tests only: BuildRequires: perl(Carp) BuildRequires: perl(File::Find) BuildRequires: perl(FindBin) BuildRequires: perl(ok) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::DBICSchemaLoaderDigest) BuildRequires: perl(Test::UseAllModules) BuildRequires: perl(Test::More) >= 0.94 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description YUM::RepoQuery takes the URI to a package repository with YUM meta-data, and allows one to query what packages, and versions of those packages, are available in that repository. %prep %setup -q -n YUM-RepoQuery-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check %if 0%{enable_net_tests} export YRQ_LIVE_TESTS=1 %endif make test %files %doc Changes LICENSE README TODO %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.002-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.002-29 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.002-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.002-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 0.002-26 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.002-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.002-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.002-23 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.002-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.002-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.002-20 - Perl 5.30 rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.002-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.002-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Jun 30 2018 Jitka Plesnikova - 0.002-17 - Perl 5.28 rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0.002-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.002-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 06 2017 Jitka Plesnikova - 0.002-14 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.002-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue May 17 2016 Jitka Plesnikova - 0.002-12 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.002-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.002-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Jun 08 2015 Jitka Plesnikova - 0.002-9 - Perl 5.22 rebuild * Mon Sep 01 2014 Jitka Plesnikova - 0.002-8 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.002-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.002-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.002-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.002-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Jul 04 2012 Petr Pisar - 0.002-3 - Perl 5.16 rebuild * Sat Jan 14 2012 Fedora Release Engineering - 0.002-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Sep 20 2011 Petr Pisar - 0.002-1 - 0.002 bump - Remove patches merged to upstream. * Sun Jul 24 2011 Iain Arnell 0.1.2-4 - update filtering for rpm 4.9 * Thu Jul 21 2011 Petr Sabata - 0.1.2-3 - Perl mass rebuild * Wed Jul 20 2011 Petr Sabata - 0.1.2-2 - Perl mass rebuild * Tue Jun 28 2011 Petr Pisar 0.1.2-1 - Specfile autogenerated by cpanspec 1.78. - Remove BuildRoot and defattr - Remove test using non-existing Test::DBICSchemaLoaderDigest module (RT#69124) - Update Fedora repository URL in test (RT#69125) - Fix bunzip2 invocation (RT#69126)