From e1a6a8efeed14b4b43c332e84b027f58a5615832 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Tue, 2 May 2017 09:40:18 +0200 Subject: [PATCH] Set macros for perl-Moo module --- macros.perl-srpm | 23 ++++++----------------- perl-srpm-macros.spec | 7 +++++-- 2 files changed, 11 insertions(+), 19 deletions(-) diff --git a/macros.perl-srpm b/macros.perl-srpm index 9bf1441..8faed90 100644 --- a/macros.perl-srpm +++ b/macros.perl-srpm @@ -13,22 +13,11 @@ # dependencies, for example: perl-Test-Minimum-Version <-> # perl-Perl-Minimum-Version Defined for bootstraping, undefined otherwise. # Usage: %%if !%%{defined perl_bootstrap} ... %%endif -#%%perl_bootstrap 1 +%perl_bootstrap 1 -Modularity -%_without_perl_enables_groff 1 -%_without_perl_enables_syslog_test 1 -%_without_perl_enables_systemtap 1 -%_without_perl_enables_tcsh 1 -%_without_perl_Compress_Bzip2_enables_optional_test 1 -%_without_perl_CPAN_Meta_Requirements_enables_optional_test 1 -%_without_perl_IPC_System_Simple_enables_optional_test 1 -%_without_perl_LWP_MediaTypes_enables_mailcap 1 -%_without_perl_Module_Build_enables_optional_test 1 -%_without_perl_Perl_OSType_enables_optional_test 1 -%_without_perl_Pod_Perldoc_enables_tk_test 1 -%_without_perl_Software_License_enables_optional_test 1 -%_without_perl_Sys_Syslog_enables_optional_test 1 -%_without_perl_Test_Harness_enables_optional_test 1 -%_without_perl_URI_enables_Business_ISBN 1 +# Modularity +%_without_perl_Class_Method_Modifiers_enables_optional_test 1 +%_without_perl_Module_Runtime_enables_optional_test 1 +%_without_perl_strictures_enables_optional_test 1 +%_without_perl_Try_Tiny_enables_optional_test 1 diff --git a/perl-srpm-macros.spec b/perl-srpm-macros.spec index 211af0f..b26f46d 100644 --- a/perl-srpm-macros.spec +++ b/perl-srpm-macros.spec @@ -1,6 +1,6 @@ Name: perl-srpm-macros -Version: 2 -Release: 2%{?dist} +Version: 3 +Release: 1%{?dist} Summary: RPM macros for building Perl source package from source repository Group: Development/Libraries License: GPLv3+ @@ -19,6 +19,9 @@ install -m 644 -D "%{SOURCE0}" \ %{_rpmconfigdir}/macros.d/macros.perl-srpm %changelog +* Tue May 02 2017 Petr Pisar - 3-1 +- Set macros for perl-Moo module + * Mon Apr 10 2017 Petr Pisar - 2-2 - Disable Perl bootstrap