[packages/rpm-pld-macros] Escape brackes.
arekm
arekm at pld-linux.org
Wed Jun 12 10:19:07 CEST 2024
commit e5cb0e63f29dde1e84bc4c0c1ff6bed32c9ae5bf
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Jun 12 09:06:50 2024 +0200
Escape brackes.
Should fix:
Processing files: php-pear-PEAR-core-1.10.15-1.noarch
sh: syntax error: unexpected '('
when building php-pear-PEAR
macros.php | 2 +-
rpm-pld-macros.spec | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rpm-pld-macros.spec b/rpm-pld-macros.spec
index dc7dcc0..e82240b 100644
--- a/rpm-pld-macros.spec
+++ b/rpm-pld-macros.spec
@@ -1,4 +1,4 @@
-%define rpm_macros_rev 2.031
+%define rpm_macros_rev 2.032
%define find_lang_rev 1.42
# split into individual X_prov_ver if there is a reason to desync
%define prov_ver 4.15
diff --git a/macros.php b/macros.php
index 430bc83..3627318 100644
--- a/macros.php
+++ b/macros.php
@@ -158,7 +158,7 @@ fi \
cat %{-z:$_N/}.install.log | %__pear_install_log \
%undos -f php,html,js,xml \
%{!?_noautocompressdoc:%global _noautocompressdoc %{nil}}%{expand:%%global _noautocompressdoc %{_noautocompressdoc} optional-packages.txt} \
-%{!?_noautoprov:%global _noautoprov %{nil}}%{expand:%%global _noautoprov %{_noautoprov} 'pear(tests/.*)'} \
+%{!?_noautoprov:%global _noautoprov %{nil}}%{expand:%%global _noautoprov %{_noautoprov} 'pear\\\(tests/.*\\\\)'} \
%{nil}
# Copies extracted PEAR package structure and PEAR registry to buildroot.
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm-pld-macros.git/commitdiff/e5cb0e63f29dde1e84bc4c0c1ff6bed32c9ae5bf
More information about the pld-cvs-commit
mailing list