add arguments in %build to fix SP files situation
This commit is contained in:
parent
a6204af2ab
commit
39afe843ec
@ -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,6 +99,9 @@ make test
|
|||||||
%{_mandir}/man3/Encode::*
|
%{_mandir}/man3/Encode::*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 05 2022 xiewenhao <xiewenhao@kylinos.com.cn> - 3.06-4
|
||||||
|
- add arguments in %build to fix SP files situation
|
||||||
|
|
||||||
* Wed Jun 29 2022 shangyibin<shangyibin1@h-partners.com> - 3.06-3
|
* Wed Jun 29 2022 shangyibin<shangyibin1@h-partners.com> - 3.06-3
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user