Blame SPECS/perl-Test-Requires.spec

3a76f9
Name:		perl-Test-Requires
3a76f9
Summary:	Checks to see if a given module can be loaded
3a76f9
Version:	0.11
3a76f9
Release:	6%{?dist}
3a76f9
License:	GPL+ or Artistic
3a76f9
URL:		https://metacpan.org/release/Test-Requires
3a76f9
Source0:	https://cpan.metacpan.org/modules/by-module/Test/Test-Requires-%{version}.tar.gz
3a76f9
BuildArch:	noarch
3a76f9
# Module Build
3a76f9
BuildRequires:	coreutils
3a76f9
BuildRequires:	make
3a76f9
BuildRequires:	perl-generators
3a76f9
BuildRequires:	perl-interpreter
3a76f9
BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.76
3a76f9
# Module
3a76f9
BuildRequires:	perl(base)
3a76f9
BuildRequires:	perl(strict)
3a76f9
BuildRequires:	perl(Test::Builder::Module)
3a76f9
BuildRequires:	perl(warnings)
3a76f9
# Test Suite
3a76f9
BuildRequires:	perl(Data::Dumper)
3a76f9
BuildRequires:	perl(Test::More) >= 0.47
3a76f9
# Runtime
3a76f9
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
3a76f9
3a76f9
%description
3a76f9
Test::Requires checks to see if the module can be loaded.
3a76f9
3a76f9
If this fails, rather than failing tests this skips all tests.
3a76f9
3a76f9
%prep
3a76f9
%setup -q -n Test-Requires-%{version}
3a76f9
3a76f9
%build
3a76f9
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
3a76f9
%{make_build}
3a76f9
3a76f9
%install
3a76f9
%{make_install}
3a76f9
%{_fixperms} -c %{buildroot}
3a76f9
3a76f9
%check
3a76f9
# note the "skipped" warnings indicate success :)
3a76f9
make test
3a76f9
3a76f9
%files
3a76f9
%license LICENSE
3a76f9
%doc Changes README.md t/ xt/
3a76f9
%{perl_vendorlib}/Test/
3a76f9
%{_mandir}/man3/Test::Requires.3*
3a76f9
3a76f9
%changelog
3a76f9
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.11-6
3a76f9
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
3a76f9
  Related: rhbz#1991688
3a76f9
3a76f9
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.11-5
3a76f9
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
3a76f9
3a76f9
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-4
3a76f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
3a76f9
3a76f9
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-3
3a76f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
3a76f9
3a76f9
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.11-2
3a76f9
- Perl 5.32 rebuild
3a76f9
3a76f9
* Thu May 14 2020 Paul Howarth <paul@city-fan.org> - 0.11-1
3a76f9
- Update to 0.11
3a76f9
  - Re-packaging
3a76f9
- Drop running of extra tests at package build time to avoid need for
3a76f9
  bootstrapping
3a76f9
- Use %%{make_build} and %%{make_install}
3a76f9
3a76f9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-19
3a76f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
3a76f9
3a76f9
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-18
3a76f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
3a76f9
3a76f9
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-17
3a76f9
- Perl 5.30 re-rebuild of bootstrapped packages
3a76f9
3a76f9
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-16
3a76f9
- Perl 5.30 rebuild
3a76f9
3a76f9
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-15
3a76f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
3a76f9
3a76f9
* Tue Jan 29 2019 Paul Howarth <paul@city-fan.org> - 0.10-14
3a76f9
- Simplify find command using -delete
3a76f9
- Drop redundant buildroot cleaning in %%install section
3a76f9
- Drop redundant explicit %%clean section
3a76f9
3a76f9
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-13
3a76f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
3a76f9
3a76f9
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-12
3a76f9
- Perl 5.28 re-rebuild of bootstrapped packages
3a76f9
3a76f9
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-11
3a76f9
- Perl 5.28 rebuild
3a76f9
3a76f9
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-10
3a76f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3a76f9
3a76f9
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-9
3a76f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3a76f9
3a76f9
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-8
3a76f9
- Perl 5.26 re-rebuild of bootstrapped packages
3a76f9
3a76f9
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-7
3a76f9
- Perl 5.26 rebuild
3a76f9
3a76f9
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-6
3a76f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3a76f9
3a76f9
* Fri Jul 22 2016 Petr Pisar <ppisar@redhat.com> - 0.10-5
3a76f9
- Adapt RPM version detection to SRPM build root without perl
3a76f9
3a76f9
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-4
3a76f9
- Perl 5.24 re-rebuild of bootstrapped packages
3a76f9
3a76f9
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-3
3a76f9
- Perl 5.24 rebuild
3a76f9
3a76f9
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-2
3a76f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3a76f9
3a76f9
* Tue Jul 21 2015 Paul Howarth <paul@city-fan.org> - 0.10-1
3a76f9
- Update to 0.10
3a76f9
  - Support 5.6 again
3a76f9
3a76f9
* Tue Jul 21 2015 Paul Howarth <paul@city-fan.org> - 0.09-1
3a76f9
- Update to 0.09
3a76f9
  - Requires 5.8.1
3a76f9
- Use %%license where possible
3a76f9
3a76f9
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-6
3a76f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3a76f9
3a76f9
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.08-5
3a76f9
- Perl 5.22 re-rebuild of bootstrapped packages
3a76f9
3a76f9
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.08-4
3a76f9
- Perl 5.22 rebuild
3a76f9
3a76f9
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.08-3
3a76f9
- Perl 5.20 re-rebuild of bootstrapped packages
3a76f9
3a76f9
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.08-2
3a76f9
- Perl 5.20 rebuild
3a76f9
3a76f9
* Wed Jul 16 2014 Paul Howarth <paul@city-fan.org> - 0.08-1
3a76f9
- Update to 0.08
3a76f9
  - Switch to ExtUtils::MakeMaker
3a76f9
3a76f9
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-6
3a76f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3a76f9
3a76f9
* Tue Feb 18 2014 Petr Pisar <ppisar@redhat.com> - 0.07-5
3a76f9
- Specify all dependencies (bug #1066077)
3a76f9
3a76f9
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 0.07-4
3a76f9
- Perl 5.18 re-rebuild of bootstrapped packages
3a76f9
3a76f9
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-3
3a76f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3a76f9
3a76f9
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 0.07-2
3a76f9
- Perl 5.18 rebuild
3a76f9
3a76f9
* Mon Jul  1 2013 Paul Howarth <paul@city-fan.org> - 0.07-1
3a76f9
- Update to 0.07
3a76f9
  - If the RELEASE_TESTING environment variable is true, then instead of
3a76f9
    skipping tests, Test::Requires bails out
3a76f9
  - Document that use Test::Requires "5.010" works
3a76f9
- Switch to Module::Build flow
3a76f9
- Classify buildreqs by usage
3a76f9
- Package upstream's new LICENSE and README.md files
3a76f9
- Drop obsoletes/provides of perl-Test-Requires-tests
3a76f9
3a76f9
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-10
3a76f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3a76f9
3a76f9
* Sat Aug 25 2012 Paul Howarth <paul@city-fan.org> - 0.06-9
3a76f9
- BR: perl(base), perl(Cwd), perl(Data::Dumper)
3a76f9
- RHEL builds don't use Test::Spelling so they don't need dictionaries either
3a76f9
3a76f9
* Wed Aug 15 2012 Marcela Maslanova <mmaslano@redhat.com> - 0.06-8
3a76f9
- Conditionalize test packages
3a76f9
3a76f9
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-7
3a76f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3a76f9
3a76f9
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 0.06-6
3a76f9
- Perl 5.16 re-rebuild of bootstrapped packages
3a76f9
3a76f9
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.06-5
3a76f9
- Perl 5.16 rebuild
3a76f9
3a76f9
* Thu Mar 22 2012 Paul Howarth <paul@city-fan.org> - 0.06-4
3a76f9
- Drop -tests subpackage (general lack of interest in this), but include
3a76f9
  them as documentation for the main package
3a76f9
- Don't need explicit runtime dependency on perl(Test::Builder::Module) if we
3a76f9
  have rpm ≥ 4.9 as it can auto-detect it
3a76f9
- BR: at least version 0.61 of perl(Test::More) as per upstream
3a76f9
- Drop unnecessary version requirement for perl(ExtUtils::MakeMaker)
3a76f9
- Drop redundant %%{?perl_default_filter}
3a76f9
- BR: aspell-en rather than hunspell-en on old distributions where
3a76f9
  Test::Spelling uses aspell instead of hunspell
3a76f9
- Don't BR: perl(Test::Perl::Critic) when bootstrapping
3a76f9
- Don't use macros for commands
3a76f9
- Don't need to remove empty directories from buildroot
3a76f9
- Make %%files list more explicit
3a76f9
- Drop %%defattr, redundant since rpm 4.4
3a76f9
- Use tabs
3a76f9
3a76f9
* Wed Aug 17 2011 Paul Howarth <paul@city-fan.org> - 0.06-3
3a76f9
- BR: hunspell-en rather than aspell-en (#731272)
3a76f9
3a76f9
* Thu Nov 18 2010 Paul Howarth <paul@city-fan.org> - 0.06-2
3a76f9
- Run release tests as well as standard test suite in %%check
3a76f9
- Drop no-longer-needed buildreq perl(Filter::Util::Call)
3a76f9
- New buildreqs perl(Test::Perl::Critic), perl(Test::Pod), perl(Test::Spelling)
3a76f9
3a76f9
* Tue Oct 05 2010 Iain Arnell <iarnell@gmail.com> - 0.06-1
3a76f9
- Update to latest upstream version
3a76f9
3a76f9
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-2
3a76f9
- Mass rebuild with perl-5.12.0
3a76f9
3a76f9
* Sat Mar 20 2010 Chris Weyl <cweyl@alumni.drew.edu> - 0.03-1
3a76f9
- Specfile by Fedora::App::MaintainerTools 0.006
3a76f9
3a76f9