Name: perl-Dist-Zilla-Plugin-VersionFromMainModule
Version: 0.03
Release: 4%{?dist}
Summary: Set the distribution version from your main module's version
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Dist-Zilla-Plugin-VersionFromMainModule/
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/Dist-Zilla-Plugin-VersionFromMainModule-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
# Dist::Zilla::Role::VersionProvider not used at tests
# Module::Metadata 1.000005 not used at tests
# Moose not used at tests
# namespace::autoclean not used at tests
# Tests:
# CPAN::Meta not helpful
# CPAN::Meta::Prereqs not helpful
BuildRequires: perl(File::Spec)
BuildRequires: perl(Test::More) >= 0.96
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Dist::Zilla::Role::VersionProvider)
%description
This Dist::Zilla plugin sets the distribution version from the $VERSION
variable found in the distribution's main module.
%prep
%setup -q -n Dist-Zilla-Plugin-VersionFromMainModule-%{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.md
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.03-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.03-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jun 19 2017 Petr Pisar <ppisar@redhat.com> - 0.03-2
- Enable Perl dependency generators
* Wed Jun 14 2017 Petr Pisar <ppisar@redhat.com> - 0.03-1
- 0.03 bump
* Tue Jun 06 2017 Petr Pisar <ppisar@redhat.com> 0.02-1
- Specfile autogenerated by cpanspec 1.78.