Fix compilation failure caused by tar upgrade

This commit is contained in:
lyn1001 2023-08-16 09:53:00 +08:00
parent 5266a4d877
commit d1f44d0aef

View File

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