Name: perl-Dist-Zilla-Plugin-CopyFilesFromRelease
Version: 0.006
Release: 3%{?dist}
Summary: Copy files from a release for SCM inclusion
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Dist-Zilla-Plugin-CopyFilesFromRelease/
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/Dist-Zilla-Plugin-CopyFilesFromRelease-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(:VERSION) >= 5.6
# Module::Build::Tiny 0.039 not helpful
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
BuildRequires: perl(Dist::Zilla::Role::AfterRelease)
BuildRequires: perl(File::Copy)
BuildRequires: perl(Moose)
BuildRequires: perl(Path::Tiny)
# Tests:
BuildRequires: perl(File::Spec)
BuildRequires: perl(if)
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::DZil)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.88
# Test::Warnings not used
# Optional tests:
BuildRequires: perl(Moose::Conflicts)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Dist::Zilla::Role::AfterRelease)
%description
This Dist::Zilla plugin will automatically copy the files that you specify in
dist.ini from the build directory into the distribution directory. This is so
you can commit them to version control.
%prep
%setup -q -n Dist-Zilla-Plugin-CopyFilesFromRelease-%{version}
%build
export PERL_MM_FALLBACK_SILENCE_WARNING=1
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}
%check
make test
%files
%license LICENSE
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.006-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.006-2
- Perl 5.26 rebuild
* Thu Mar 23 2017 Petr Pisar <ppisar@redhat.com> 0.006-1
- Specfile autogenerated by cpanspec 1.78.