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
|
||||
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 <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
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user