From 39afe843ec578879792409bb82eb7ce12f20c67d Mon Sep 17 00:00:00 2001 From: xiewenhao Date: Mon, 5 Dec 2022 12:11:47 +0800 Subject: [PATCH 1/2] 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..87c7f87 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 +* Mon Dec 05 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 From 4447b36d1c09af49978654b1e735c23cc754ed8b Mon Sep 17 00:00:00 2001 From: xiewenhao Date: Tue, 6 Dec 2022 10:03:37 +0800 Subject: [PATCH 2/2] add epoch information in changelog --- perl-Encode.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/perl-Encode.spec b/perl-Encode.spec index 87c7f87..953efba 100644 --- a/perl-Encode.spec +++ b/perl-Encode.spec @@ -99,22 +99,22 @@ make test %{_mandir}/man3/Encode::* %changelog -* Mon Dec 05 2022 xiewenhao - 3.06-4 +* Mon Dec 05 2022 xiewenhao - 4:3.06-4 - add arguments in %build to fix SP files situation -* Wed Jun 29 2022 shangyibin - 3.06-3 +* Wed Jun 29 2022 shangyibin - 4:3.06-3 - Type:bugfix - ID:NA - SUG:NA - DESC:add patch -* Fri Feb 25 2022 wangjiang - 3.06-2 +* Fri Feb 25 2022 wangjiang - 4:3.06-2 - Type:CVE - ID:CVE-2021-36770 - SUG:NA - DESC:fix CVE-2021-36770 -* Mon Aug 24 2020 SimpleUpdate Robot - 3.06-1 +* Mon Aug 24 2020 SimpleUpdate Robot - 4:3.06-1 - Upgrade to version 3.06 * Fri Oct 11 2019 yefei - 4:2.98-9 -- Gitee