|
|
|
@ -1,17 +1,13 @@
|
|
|
|
|
# noarch, but to avoid debug* files interfering with manifest test:
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
# Had a six-digit version in a previous life
|
|
|
|
|
%global cpan_version 1.05
|
|
|
|
|
%global rpm_version 1.050000
|
|
|
|
|
|
|
|
|
|
Name: perl-Test-Version
|
|
|
|
|
Version: %{rpm_version}
|
|
|
|
|
Version: 2.00
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Check to see that versions in modules are sane
|
|
|
|
|
License: Artistic 2.0
|
|
|
|
|
URL: http://search.cpan.org/dist/Test-Version/
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/Test-Version-%{cpan_version}.tar.gz
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/Test-Version-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
# ===================================================================
|
|
|
|
|
# Module build requirements
|
|
|
|
@ -28,7 +24,7 @@ BuildRequires: perl(Module::Metadata)
|
|
|
|
|
BuildRequires: perl(parent)
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(Test::Builder)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.94
|
|
|
|
|
BuildRequires: perl(version) >= 0.86
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
# ===================================================================
|
|
|
|
@ -71,7 +67,7 @@ This module's goal is to be a one stop shop for checking to see that your
|
|
|
|
|
versions across your dist are sane.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Test-Version-%{cpan_version}
|
|
|
|
|
%setup -q -n Test-Version-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
@ -95,6 +91,10 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
|
|
|
|
|
%{_mandir}/man3/Test::Version.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu May 7 2015 Paul Howarth <paul@city-fan.org> - 2.00-1
|
|
|
|
|
- Update to 2.00
|
|
|
|
|
- Added filename_match setting
|
|
|
|
|
|
|
|
|
|
* Wed May 6 2015 Paul Howarth <paul@city-fan.org> - 1.050000-1
|
|
|
|
|
- Update to 1.05
|
|
|
|
|
- New maintainer (PLICEASE) updated meta
|
|
|
|
|