From 83fab8f39315eac7081261978ff25fa6981b81e6 Mon Sep 17 00:00:00 2001 From: jorton Date: Fri, 13 Jan 2006 11:26:56 +0000 Subject: [PATCH] - Patches to fix "pear makerpm" --- .cvsignore | 1 + php-pear.spec | 16 +++++++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.cvsignore b/.cvsignore index 83eaca7..90fcaf7 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1,3 @@ XML_RPC-1.4.4.tgz install-pear-nozlib-1.4.5.phar +install-pear-nozlib-1.4.6.phar diff --git a/php-pear.spec b/php-pear.spec index 9e09065..4708216 100644 --- a/php-pear.spec +++ b/php-pear.spec @@ -6,7 +6,7 @@ Summary: PHP Extension and Application Repository framework Name: php-pear Version: 1.4.5 -Release: 5 +Release: 6 Epoch: 1 License: PHP Group: System @@ -18,6 +18,10 @@ Source10: pear.sh Source11: pecl.sh Source12: peardev.sh Source20: XML_RPC-%{xmlrpcver}.tgz +Patch0: php-pear-1.4.5-template-fixes.patch +Patch1: php-pear-1.4.5-template-postun.patch +Patch2: php-pear-1.4.5-makerpm-cleanup.patch +Patch3: php-pear-1.4.5-makerpm-rh-namingconvs.patch BuildArchitectures: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: php >= 5.1.0-1 @@ -45,6 +49,13 @@ export PHP_PEAR_SIG_KEYDIR=/etc/pearkeys -b $RPM_BUILD_ROOT%{_bindir} \ %{SOURCE20} +pushd %{buildroot}%{peardir} +%{__patch} -p0 data/PEAR/template.spec %{PATCH0} +%{__patch} -p1 data/PEAR/template.spec %{PATCH1} +%{__patch} -p0 < %{PATCH2} +%{__patch} -p0 < %{PATCH3} +popd + # Replace /usr/bin/* with simple scripts: for f in pecl pear peardev; do install -m 755 $RPM_SOURCE_DIR/${f}.sh $RPM_BUILD_ROOT%{_bindir}/${f} @@ -83,6 +94,9 @@ rm pear.conf %config %{_sysconfdir}/pear.conf %changelog +* Fri Dec 30 2005 Tim Jackson 1:1.4.5-6 +- Patches to fix "pear makerpm" + * Wed Dec 14 2005 Joe Orton 1:1.4.5-5 - set default sig_keydir to /etc/pearkeys - remove ext_dir setting from /etc/pear.conf (#175673)