!5 Fix compilation failure caused by tar upgrade

From: @lyn1001 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2023-08-16 10:19:40 +00:00 committed by Gitee
commit f04f65cb4a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -11,7 +11,7 @@
Summary: PHP Extension and Application Repository framework
Name: php-pear
Version: 1.10.13
Release: 1
Release: 2
Epoch: 1
License: BSD-2-Clause AND BSD-3-Clause AND LGPL-3.0-or-later
URL: http://pear.php.net/package/PEAR
@ -61,7 +61,7 @@ do
file=${archive##*/}
[ -f LICENSE ] && mv LICENSE LICENSE-${file%%-*}
[ -f README ] && mv README README-${file%%-*}
tar xzf $archive 'package*xml'
tar xzf $archive --wildcards 'package*xml'
[ -f package2.xml ] && mv package2.xml ${file%%-*}.xml \
|| mv package.xml ${file%%-*}.xml
done
@ -193,6 +193,9 @@ fi
%{_mandir}/man5/pear.conf.5*
%changelog
* Wed Aug 16 2023 liyanan <thistleslyn@163.com> - 1:1.10.13-2
- Fix compilation failure caused by tar upgrade
* Thu Jul 13 2023 liyanan <thistleslyn@163.com> - 1:1.10.13-1
- update to 1.10.13