From 684f879d9677b4c58f99ff5d3958f874c10e8e4a Mon Sep 17 00:00:00 2001 From: xiewenhao Date: Fri, 2 Dec 2022 15:41:24 +0800 Subject: [PATCH] add arguments in %build to fix SP files situation --- perl-Encode.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/perl-Encode.spec b/perl-Encode.spec index 34e8fd4..e958df6 100644 --- a/perl-Encode.spec +++ b/perl-Encode.spec @@ -2,7 +2,7 @@ Name: perl-Encode Epoch: 4 Version: %{cpan_version} -Release: 3 +Release: 4 Summary: Character encodings in Perl License: (GPL+ or Artistic) and Artistic 2.0 and UCD URL: https://metacpan.org/release/Encode @@ -61,6 +61,8 @@ The easiest and the best alternative is to write your script in UTF-8. %patch6000 -p1 %build +RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fstack-protector-all" +export RPM_OPT_FLAGS perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS" %{make_build} @@ -97,6 +99,9 @@ make test %{_mandir}/man3/Encode::* %changelog +* Fri Dec 2 2022 xiewenhao - 3.06-4 +- add arguments in %build to fix SP files situation + * Wed Jun 29 2022 shangyibin - 3.06-3 - Type:bugfix - ID:NA -- Gitee