!24 add arguments in %build to fix SP files situation

From: @xie-wen-hao 
Reviewed-by: @overweight 
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2022-12-07 01:20:03 +00:00 committed by Gitee
commit 0e8c93d640
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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,19 +99,22 @@ make test
%{_mandir}/man3/Encode::*
%changelog
* Wed Jun 29 2022 shangyibin<shangyibin1@h-partners.com> - 3.06-3
* Mon Dec 05 2022 xiewenhao <xiewenhao@kylinos.com.cn> - 4:3.06-4
- add arguments in %build to fix SP files situation
* Wed Jun 29 2022 shangyibin<shangyibin1@h-partners.com> - 4:3.06-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add patch
* Fri Feb 25 2022 wangjiang<wangjiang37@h-partners.com> - 3.06-2
* Fri Feb 25 2022 wangjiang<wangjiang37@h-partners.com> - 4:3.06-2
- Type:CVE
- ID:CVE-2021-36770
- SUG:NA
- DESC:fix CVE-2021-36770
* Mon Aug 24 2020 SimpleUpdate Robot <tc@openeuler.org> - 3.06-1
* Mon Aug 24 2020 SimpleUpdate Robot <tc@openeuler.org> - 4:3.06-1
- Upgrade to version 3.06
* Fri Oct 11 2019 yefei <yefei25@huawei.com> - 4:2.98-9