Search
j0ke.net Open Build Service
>
Projects
>
server:php:applications
>
php-pear-date
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Changed
php-pear-date.spec
@@ -23,6 +23,21 @@ %define _pear pear %endif +%if 0%{?suse_version} >= 1010 +Requires: php5-pear +BuildRequires: php5-pear +%endif + +%if 0%{?suse_version} < 1010 +Requires: php4-pear +BuildRequires: php4-pear +%endif + +%if 0%{?centos_version} || 0%{?fedora_version} || 0%{?rhel_version} +Requires: php-pear +BuildRequires: php-pear +%endif + Name: %{_name} %define peardir %{_datadir}/%{_phpdir}/%{_peardir} License: BSD @@ -31,13 +46,6 @@ Release: 0 Summary: PEAR date and time zone classes URL: http://pear.php.net/package/Date -%if %suse_version >= 1010 -Requires: php5-pear -BuildRequires: php5-pear -%else -Requires: php4-pear -BuildRequires: php4-pear -%endif Provides: php-pear-date Source: http://pear.php.net/get/Date-%{version}.tgz BuildArch: noarch