Blame SPECS/perl-Test-Version.spec

4a73cb
# noarch, but to avoid debug* files interfering with manifest test:
4a73cb
%global debug_package %{nil}
4a73cb
4a73cb
Name:		perl-Test-Version
4a73cb
Version:	2.07
4a73cb
Release:	1%{?dist}
4a73cb
Summary:	Check to see that versions in modules are sane
4a73cb
License:	Artistic 2.0
4a73cb
URL:		http://search.cpan.org/dist/Test-Version/
4a73cb
Source0:	http://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/Test-Version-%{version}.tar.gz
4a73cb
BuildArch:	noarch
4a73cb
# ===================================================================
4a73cb
# Module build requirements
4a73cb
# ===================================================================
4a73cb
BuildRequires:	coreutils
4a73cb
BuildRequires:	findutils
4a73cb
BuildRequires:	make
4a73cb
BuildRequires:	perl-generators
4a73cb
BuildRequires:	perl-interpreter
4a73cb
BuildRequires:	perl(ExtUtils::MakeMaker)
4a73cb
# ===================================================================
4a73cb
# Module requirements
4a73cb
# ===================================================================
4a73cb
BuildRequires:	perl(Carp)
4a73cb
BuildRequires:	perl(Exporter)
4a73cb
BuildRequires:	perl(File::Find::Rule::Perl)
4a73cb
BuildRequires:	perl(Module::Metadata) >= 1.000020
4a73cb
BuildRequires:	perl(parent)
4a73cb
BuildRequires:	perl(strict)
4a73cb
BuildRequires:	perl(Test::Builder)
4a73cb
BuildRequires:	perl(Test::More) >= 0.96
4a73cb
BuildRequires:	perl(version) >= 0.86
4a73cb
BuildRequires:	perl(warnings)
4a73cb
# ===================================================================
4a73cb
# Regular test suite requirements
4a73cb
# ===================================================================
4a73cb
BuildRequires:	perl(blib) >= 1.01
4a73cb
BuildRequires:	perl(CPAN::Meta) >= 2.120900
4a73cb
BuildRequires:	perl(File::Spec)
4a73cb
BuildRequires:	perl(IO::Handle)
4a73cb
BuildRequires:	perl(IPC::Open3)
4a73cb
BuildRequires:	perl(Test::Exception)
4a73cb
BuildRequires:	perl(Test::Tester)
4a73cb
# ===================================================================
4a73cb
# Author/Release test requirements
4a73cb
#
4a73cb
# Don't run these tests or include their requirements if we're
4a73cb
# bootstrapping, as many of these modules require each other for
4a73cb
# their author/release tests.
4a73cb
# ===================================================================
4a73cb
%if 0%{!?perl_bootstrap:1}
4a73cb
BuildRequires:	perl(Pod::Coverage::TrustPod)
4a73cb
BuildRequires:	perl(Test::CPAN::Changes) >= 0.19
4a73cb
BuildRequires:	perl(Test::CPAN::Meta::JSON)
4a73cb
BuildRequires:	perl(Test::DistManifest)
4a73cb
BuildRequires:	perl(Test::EOL)
4a73cb
BuildRequires:	perl(Test::MinimumVersion)
4a73cb
BuildRequires:	perl(Test::Perl::Critic)
4a73cb
BuildRequires:	perl(Test::Pod) >= 1.41
4a73cb
BuildRequires:	perl(Test::Pod::Coverage) >= 1.08
4a73cb
BuildRequires:	perl(Test::Portability::Files)
4a73cb
%endif
4a73cb
# ===================================================================
4a73cb
# Runtime requirements
4a73cb
# ===================================================================
4a73cb
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
4a73cb
Requires:	perl(Test::More) >= 0.96
4a73cb
4a73cb
%description
4a73cb
This module's goal is to be a one stop shop for checking to see that your
4a73cb
versions across your dist are sane.
4a73cb
4a73cb
%prep
4a73cb
%setup -q -n Test-Version-%{version}
4a73cb
4a73cb
%build
4a73cb
perl Makefile.PL INSTALLDIRS=vendor
4a73cb
make %{?_smp_mflags}
4a73cb
4a73cb
%install
4a73cb
make pure_install DESTDIR=%{buildroot}
4a73cb
find %{buildroot} -type f -name .packlist -delete
4a73cb
%{_fixperms} -c %{buildroot}
4a73cb
4a73cb
%check
4a73cb
make test
4a73cb
%if 0%{!?perl_bootstrap:1}
4a73cb
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
4a73cb
%endif
4a73cb
4a73cb
%files
4a73cb
%license LICENSE
4a73cb
%doc Changes CONTRIBUTING README
4a73cb
%{perl_vendorlib}/Test/
4a73cb
%{_mandir}/man3/Test::Version.3*
4a73cb
4a73cb
%changelog
4a73cb
* Wed Feb 21 2018 Paul Howarth <paul@city-fan.org> - 2.07-1
4a73cb
- Update to 2.07
4a73cb
  - Support running in taint mode
4a73cb
4a73cb
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.05-6
4a73cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4a73cb
4a73cb
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.05-5
4a73cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4a73cb
4a73cb
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.05-4
4a73cb
- Perl 5.26 re-rebuild of bootstrapped packages
4a73cb
4a73cb
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.05-3
4a73cb
- Perl 5.26 rebuild
4a73cb
4a73cb
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.05-2
4a73cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4a73cb
4a73cb
* Sun Sep 18 2016 Paul Howarth <paul@city-fan.org> - 2.05-1
4a73cb
- Update to 2.05
4a73cb
  - Bump requirement for newer version of Module::Metadata (again); required
4a73cb
    for ignore_unindexable
4a73cb
4a73cb
* Thu Jun 23 2016 Paul Howarth <paul@city-fan.org> - 2.04-1
4a73cb
- Update to 2.04
4a73cb
  - Bump requirement for a newer version of Module::Metadata
4a73cb
    (the version that comes with Perl 5.14 cannot handle package block syntax)
4a73cb
- BR: perl-generators
4a73cb
- Simplify find command using -delete
4a73cb
4a73cb
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.03-4
4a73cb
- Perl 5.24 re-rebuild of bootstrapped packages
4a73cb
4a73cb
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.03-3
4a73cb
- Perl 5.24 rebuild
4a73cb
4a73cb
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.03-2
4a73cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4a73cb
4a73cb
* Mon Jun 29 2015 Paul Howarth <paul@city-fan.org> - 2.03-1
4a73cb
- Update to 2.03
4a73cb
  - Added 'multiple' option to check each version inside a .pm file with
4a73cb
    multiple packages
4a73cb
  - Remove annoying warnings when version_ok called by itself (GH#5)
4a73cb
4a73cb
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.01-4
4a73cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4a73cb
4a73cb
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.01-3
4a73cb
- Perl 5.22 re-rebuild of bootstrapped packages
4a73cb
- Disable using of Test::Vars with Perl 5.22
4a73cb
4a73cb
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.01-2
4a73cb
- Perl 5.22 rebuild
4a73cb
4a73cb
* Tue May 19 2015 Paul Howarth <paul@city-fan.org> - 2.01-1
4a73cb
- Update to 2.01
4a73cb
  - Fix failing test in t/all-generated.t
4a73cb
4a73cb
* Thu May  7 2015 Paul Howarth <paul@city-fan.org> - 2.00-1
4a73cb
- Update to 2.00
4a73cb
  - Added filename_match setting
4a73cb
4a73cb
* Wed May  6 2015 Paul Howarth <paul@city-fan.org> - 1.050000-1
4a73cb
- Update to 1.05
4a73cb
  - New maintainer (PLICEASE) updated meta
4a73cb
- Retained six-digit version number for rpm to maintain upgrade path, until
4a73cb
  upstream reaches version 2 anyway
4a73cb
4a73cb
* Tue Oct 21 2014 Paul Howarth <paul@city-fan.org> - 1.004001-1
4a73cb
- Update to 1.004001
4a73cb
  - Improved consistent check diagnostics (GH#11)
4a73cb
4a73cb
* Mon Oct 20 2014 Paul Howarth <paul@city-fan.org> - 1.004000-1
4a73cb
- Update to 1.004000
4a73cb
  - Add consistent check (GH#10)
4a73cb
4a73cb
* Wed Sep 24 2014 Paul Howarth <paul@city-fan.org> - 1.003001-1
4a73cb
- Update to 1.003001
4a73cb
  - Skip packages unindexable by pause (GH#4)
4a73cb
  - Remove inline and remove _get_version; trying to skip test there won't work
4a73cb
    (GH#4)
4a73cb
4a73cb
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.002004-6
4a73cb
- Perl 5.20 re-rebuild of bootstrapped packages
4a73cb
4a73cb
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.002004-5
4a73cb
- Perl 5.20 rebuild
4a73cb
4a73cb
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.002004-4
4a73cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4a73cb
4a73cb
* Mon Jan 27 2014 Paul Howarth <paul@city-fan.org> - 1.002004-3
4a73cb
- Bootstrap build for epel7 done
4a73cb
4a73cb
* Mon Jan 27 2014 Paul Howarth <paul@city-fan.org> - 1.002004-2
4a73cb
- Bootstrap epel7 build
4a73cb
4a73cb
* Thu Nov 21 2013 Paul Howarth <paul@city-fan.org> - 1.002004-1
4a73cb
- Update to 1.002004
4a73cb
  - Fix bugs in argument handling
4a73cb
  - Fix whitespace
4a73cb
4a73cb
* Tue Oct 15 2013 Paul Howarth <paul@city-fan.org> - 1.002003-1
4a73cb
- Update to 1.002003
4a73cb
  - Fix synopsis (https://github.com/xenoterracide/Test-Version/pull/6)
4a73cb
  - Change Dist::Zilla plugins
4a73cb
  - Remove old documentation that no longer applies
4a73cb
  - Fix misgithap
4a73cb
  - More dist.ini updates
4a73cb
- Update patches and buildreqs as needed
4a73cb
- Drop support for old rpm versions as this package's requirements will never
4a73cb
  be satisfied in EPEL-5
4a73cb
4a73cb
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.002001-13
4a73cb
- Perl 5.18 re-rebuild of bootstrapped packages
4a73cb
4a73cb
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.002001-12
4a73cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4a73cb
4a73cb
* Mon Jul 22 2013 Petr Pisar <ppisar@redhat.com> - 1.002001-11
4a73cb
- Perl 5.18 rebuild
4a73cb
4a73cb
* Fri Jun 14 2013 Paul Howarth <paul@city-fan.org> - 1.002001-10
4a73cb
- Fix FTBFS with current test modules
4a73cb
  - Disable Test::Kwalitee's "use_strict" test
4a73cb
  - Schwern not in dictionary
4a73cb
4a73cb
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.002001-9
4a73cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4a73cb
4a73cb
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.002001-8
4a73cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4a73cb
4a73cb
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 1.002001-7
4a73cb
- Perl 5.16 re-rebuild of bootstrapped packages
4a73cb
4a73cb
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 1.002001-6
4a73cb
- Perl 5.16 rebuild
4a73cb
4a73cb
* Thu Jun  7 2012 Paul Howarth <paul@city-fan.org> - 1.002001-5
4a73cb
- If we don't have buildreqs aspell-en and perl(Pod::Wordlist::hanekomu), we
4a73cb
  don't need perl(Test::Spelling) either
4a73cb
4a73cb
* Thu Jun  7 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1.002001-4
4a73cb
- Conditionalize aspell-en dependency
4a73cb
4a73cb
* Tue Apr 24 2012 Paul Howarth <paul@city-fan.org> - 1.002001-3
4a73cb
- Don't BR: perl(Pod::Wordlist::hanekomu) for RHEL-7+ either (#815759)
4a73cb
4a73cb
* Tue Apr 24 2012 Paul Howarth <paul@city-fan.org> - 1.002001-2
4a73cb
- RHEL-7+ package cannot BR: perl(Test::Kwalitee) from EPEL (#815759)
4a73cb
4a73cb
* Wed Mar 14 2012 Paul Howarth <paul@city-fan.org> - 1.002001-1
4a73cb
- Update to 1.002001:
4a73cb
  - Fix metadata caused by a bug in DZP::GitHub after asking repo to be
4a73cb
    unlinked from gitpan
4a73cb
- Don't need to remove empty directories from buildroot
4a73cb
- Use %%{_fixperms} macro rather than our own chmod incantation
4a73cb
- Use DESTDIR rather than PERL_INSTALL_ROOT
4a73cb
- Drop %%defattr, redundant since rpm 4.4
4a73cb
- Don't attempt to run author/release tests when bootstrapping
4a73cb
4a73cb
* Tue Jan 10 2012 Paul Howarth <paul@city-fan.org> - 1.002000-1
4a73cb
- Update to 1.002000:
4a73cb
  - Use Module::Metadata - apparently it's closer to how Perl works than
4a73cb
    Module::Extract::VERSION
4a73cb
  - Use perl decimal style semantic versioning because of bugs in EUMM with
4a73cb
    vstring versions
4a73cb
  - Allow disabling of 'has_version'
4a73cb
  - Require at least 1 version
4a73cb
  - Allow for checking that a module is_strict
4a73cb
  - Fix some issues in the pod
4a73cb
- BR: perl(Module::Metadata) rather than perl(Module::Extract::VERSION)
4a73cb
- BR: perl(Test::Exception) and perl(Test::Requires) for test suite
4a73cb
- BR: perl(strict) and perl(warnings) for completeness
4a73cb
4a73cb
* Thu Aug 11 2011 Paul Howarth <paul@city-fan.org> - 1.0.0-3
4a73cb
- Don't run the author/release tests when bootstrapping
4a73cb
- BR: perl(Test::DistManifest) unconditionally
4a73cb
- Additional BR's for improved release test coverage:
4a73cb
  - perl(Pod::Wordlist::hanekomu)
4a73cb
  - perl(Test::CPAN::Meta::JSON)
4a73cb
  - perl(Test::Mojibake)
4a73cb
  - perl(Test::Spelling) ≥ 0.12 and aspell-en
4a73cb
  - perl(Test::Vars)
4a73cb
4a73cb
* Thu Aug  4 2011 Paul Howarth <paul@city-fan.org> - 1.0.0-2
4a73cb
- Sanitize for Fedora submission
4a73cb
4a73cb
* Wed Aug  3 2011 Paul Howarth <paul@city-fan.org> - 1.0.0-1
4a73cb
- Initial RPM version