# Run optional test %bcond_without perl_Dist_Zilla_Plugin_CheckChangesHasContent_enables_optional_test Name: perl-Dist-Zilla-Plugin-CheckChangesHasContent Version: 0.011 Release: 16%{?dist} Summary: Ensure Changes file has content before releasing License: ASL 2.0 URL: https://metacpan.org/release/Dist-Zilla-Plugin-CheckChangesHasContent Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Dist-Zilla-Plugin-CheckChangesHasContent-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(:VERSION) >= 5.6 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time: BuildRequires: perl(autodie) >= 2.00 BuildRequires: perl(Data::Section) >= 0.200002 BuildRequires: perl(Dist::Zilla) >= 6 BuildRequires: perl(Dist::Zilla::File::InMemory) BuildRequires: perl(Dist::Zilla::Role::BeforeRelease) BuildRequires: perl(Dist::Zilla::Role::FileGatherer) BuildRequires: perl(Dist::Zilla::Role::FileMunger) BuildRequires: perl(Dist::Zilla::Role::TextTemplate) BuildRequires: perl(List::Util) BuildRequires: perl(Moose) >= 2 BuildRequires: perl(Moose::Util::TypeConstraints) BuildRequires: perl(namespace::autoclean) >= 0.28 BuildRequires: perl(Sub::Exporter::ForMethods) # Tests: BuildRequires: perl(Capture::Tiny) BuildRequires: perl(Cwd) BuildRequires: perl(Dist::Zilla::Tester) BuildRequires: perl(File::Spec) BuildRequires: perl(Path::Tiny) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::Harness) BuildRequires: perl(Test::More) >= 0.88 %if %{with perl_Dist_Zilla_Plugin_CheckChangesHasContent_enables_optional_test} # Optional tests: BuildRequires: perl(Dist::Zilla::Plugin::NextRelease) >= 6.005 %endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Dist::Zilla::File::InMemory) Requires: perl(Dist::Zilla::Role::BeforeRelease) Requires: perl(Dist::Zilla::Role::FileGatherer) Requires: perl(Dist::Zilla::Role::FileMunger) Requires: perl(Dist::Zilla::Role::TextTemplate) %description This is a "before release" Dist::Zilla plugin that ensures that your Changes file actually has some content since the last release. If it doesn't find any, it will abort the release process. %prep %setup -q -n Dist-Zilla-Plugin-CheckChangesHasContent-%{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 * Fri Jul 22 2022 Fedora Release Engineering - 0.011-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.011-15 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.011-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.011-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 0.011-12 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.011-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.011-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.011-9 - Perl 5.32 rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.011-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.011-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.011-6 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.011-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.011-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Jun 30 2018 Jitka Plesnikova - 0.011-3 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.011-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Dec 06 2017 Petr Pisar - 0.011-1 - 0.011 bump * Thu Jul 27 2017 Fedora Release Engineering - 0.010-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 06 2017 Jitka Plesnikova - 0.010-2 - Perl 5.26 rebuild * Tue Mar 21 2017 Petr Pisar 0.010-1 - Specfile autogenerated by cpanspec 1.78.