@ -1,14 +1,17 @@
# noarch, but to avoid debug* files interfering with manifest test:
# noarch, but to avoid debug* files interfering with manifest test:
%global debug_package %{nil}
%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
Name: perl-Test-Version
Version: 1.004001
Version: %{rpm_version}
Release: 1%{?dist}
Release: 1%{?dist}
Summary: Check to see that versions in modules are sane
Summary: Check to see that versions in modules are sane
License: Artistic 2.0
License: Artistic 2.0
Group: Development/Libraries
URL: http://search.cpan.org/dist/Test-Version/
URL: http://search.cpan.org/dist/Test-Version/
Source0: http://search.cpan.org/CPAN/authors/id/X/XE/XENO/Test-Version-%{ version}.tar.gz
Source0: http://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/Test-Version-%{cpan_ version}.tar.gz
BuildArch: noarch
BuildArch: noarch
# ===================================================================
# ===================================================================
# Module build requirements
# Module build requirements
@ -48,7 +51,6 @@ BuildRequires: perl(Test::Tester)
BuildRequires: perl(English)
BuildRequires: perl(English)
BuildRequires: perl(Pod::Coverage::TrustPod)
BuildRequires: perl(Pod::Coverage::TrustPod)
BuildRequires: perl(Test::CPAN::Changes) >= 0.19
BuildRequires: perl(Test::CPAN::Changes) >= 0.19
BuildRequires: perl(Test::CPAN::Meta::JSON)
BuildRequires: perl(Test::DistManifest)
BuildRequires: perl(Test::DistManifest)
BuildRequires: perl(Test::EOL)
BuildRequires: perl(Test::EOL)
BuildRequires: perl(Test::MinimumVersion)
BuildRequires: perl(Test::MinimumVersion)
@ -69,7 +71,7 @@ This module's goal is to be a one stop shop for checking to see that your
versions across your dist are sane.
versions across your dist are sane.
%prep
%prep
%setup -q -n Test-Version-%{version}
%setup -q -n Test-Version-%{cpan_ version}
%build
%build
perl Makefile.PL INSTALLDIRS=vendor
perl Makefile.PL INSTALLDIRS=vendor
@ -90,9 +92,15 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
%license LICENSE
%license LICENSE
%doc Changes CONTRIBUTING README
%doc Changes CONTRIBUTING README
%{perl_vendorlib}/Test/
%{perl_vendorlib}/Test/
%{_mandir}/man3/Test::Version.3pm *
%{_mandir}/man3/Test::Version.3*
%changelog
%changelog
* Wed May 6 2015 Paul Howarth <paul@city-fan.org> - 1.050000-1
- Update to 1.05
- New maintainer (PLICEASE) updated meta
- Retained six-digit version number for rpm to maintain upgrade path, until
upstream reaches version 2 anyway
* Tue Oct 21 2014 Paul Howarth <paul@city-fan.org> - 1.004001-1
* Tue Oct 21 2014 Paul Howarth <paul@city-fan.org> - 1.004001-1
- Update to 1.004001
- Update to 1.004001
- Improved consistent check diagnostics (GH#11)
- Improved consistent check diagnostics (GH#11)