!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:
commit
0e8c93d640
@ -2,7 +2,7 @@
|
|||||||
Name: perl-Encode
|
Name: perl-Encode
|
||||||
Epoch: 4
|
Epoch: 4
|
||||||
Version: %{cpan_version}
|
Version: %{cpan_version}
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Character encodings in Perl
|
Summary: Character encodings in Perl
|
||||||
License: (GPL+ or Artistic) and Artistic 2.0 and UCD
|
License: (GPL+ or Artistic) and Artistic 2.0 and UCD
|
||||||
URL: https://metacpan.org/release/Encode
|
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
|
%patch6000 -p1
|
||||||
|
|
||||||
%build
|
%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"
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
|
||||||
%{make_build}
|
%{make_build}
|
||||||
|
|
||||||
@ -97,19 +99,22 @@ make test
|
|||||||
%{_mandir}/man3/Encode::*
|
%{_mandir}/man3/Encode::*
|
||||||
|
|
||||||
%changelog
|
%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
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
- SUG:NA
|
- SUG:NA
|
||||||
- DESC:add patch
|
- 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
|
- Type:CVE
|
||||||
- ID:CVE-2021-36770
|
- ID:CVE-2021-36770
|
||||||
- SUG:NA
|
- SUG:NA
|
||||||
- DESC:fix CVE-2021-36770
|
- 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
|
- Upgrade to version 3.06
|
||||||
|
|
||||||
* Fri Oct 11 2019 yefei <yefei25@huawei.com> - 4:2.98-9
|
* Fri Oct 11 2019 yefei <yefei25@huawei.com> - 4:2.98-9
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user