Name: perl-Version-Next Version: 1.000 Release: 3%{?dist} Summary: Increment module version numbers simply and correctly License: ASL 2.0 URL: http://search.cpan.org/dist/Version-Next/ Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Version-Next-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(:VERSION) >= 5.6 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time: BuildRequires: perl(Carp) BuildRequires: perl(Sub::Exporter) BuildRequires: perl(version) >= 0.81 # Tests: BuildRequires: perl(File::Spec) BuildRequires: perl(Test::Exception) >= 0.29 BuildRequires: perl(Test::More) >= 0.88 Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description This module provides a simple, correct way to increment a Perl module version number. It does not attempt to guess what the original version number author intended, it simply increments in the smallest possible fashion. Decimals are incremented like an odometer. Dotted decimals are incremented piece-wise and presented in a standardized way. %prep %setup -q -n Version-Next-%{version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %license LICENSE %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Jul 27 2017 Fedora Release Engineering - 1.000-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 1.000-2 - Perl 5.26 rebuild * Thu Mar 23 2017 Petr Pisar 1.000-1 - Specfile autogenerated by cpanspec 1.78.