- update builtin module provides (Remi Collet, #226295)

- drop patch 0
This commit is contained in:
jorton 2007-02-19 18:57:03 +00:00
parent 662ffe31f0
commit 780e0efe40

View File

@ -10,7 +10,7 @@
Summary: PHP Extension and Application Repository framework Summary: PHP Extension and Application Repository framework
Name: php-pear Name: php-pear
Version: 1.5.0 Version: 1.5.0
Release: 1 Release: 2
Epoch: 1 Epoch: 1
License: The PHP License v3.0 License: The PHP License v3.0
Group: Development/Languages Group: Development/Languages
@ -24,13 +24,13 @@ Source11: pecl.sh
Source12: peardev.sh Source12: peardev.sh
Source13: macros.pear Source13: macros.pear
Source20: http://pear.php.net/get/XML_RPC-%{xmlrpcver}.tgz Source20: http://pear.php.net/get/XML_RPC-%{xmlrpcver}.tgz
Patch0: php-pear-1.4.8-template.patch
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: php >= 5.1.0-1, gnupg BuildRequires: php >= 5.1.0-1, gnupg
Provides: php-pear(Archive_Tar) = 1.3.1 Provides: php-pear(Archive_Tar) = 1.3.2
Provides: php-pear(Console_Getopt) = 1.2 Provides: php-pear(Console_Getopt) = 1.2.1
Provides: php-pear(PEAR) = %{version} Provides: php-pear(PEAR) = %{version}
Provides: php-pear(Structures_Graph) = 1.0.2
Provides: php-pear(XML_RPC) = %{xmlrpcver} Provides: php-pear(XML_RPC) = %{xmlrpcver}
Requires: php >= 5.1.0-1, php-cli Requires: php >= 5.1.0-1, php-cli
@ -60,10 +60,6 @@ export PHP_PEAR_TEMP_DIR=/var/tmp
-b $RPM_BUILD_ROOT%{_bindir} \ -b $RPM_BUILD_ROOT%{_bindir} \
%{SOURCE20} %{SOURCE20}
pushd %{buildroot}%{peardir}
%{__patch} -p0 < %{PATCH0}
popd
# Replace /usr/bin/* with simple scripts: # Replace /usr/bin/* with simple scripts:
for f in pecl pear peardev; do for f in pecl pear peardev; do
install -m 755 $RPM_SOURCE_DIR/${f}.sh $RPM_BUILD_ROOT%{_bindir}/${f} install -m 755 $RPM_SOURCE_DIR/${f}.sh $RPM_BUILD_ROOT%{_bindir}/${f}
@ -118,6 +114,10 @@ rm pear.conf
%doc LICENSE %doc LICENSE
%changelog %changelog
* Mon Feb 19 2007 Joe Orton <jorton@redhat.com> 1:1.5.0-2
- update builtin module provides (Remi Collet, #226295)
- drop patch 0
* Thu Feb 15 2007 Joe Orton <jorton@redhat.com> 1:1.5.0-1 * Thu Feb 15 2007 Joe Orton <jorton@redhat.com> 1:1.5.0-1
- update to 1.5.0 - update to 1.5.0