Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
extensions
>
php5-propro
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 5
[-]
[+]
Changed
php5-propro.spec
@@ -1,20 +1,29 @@ # norootforbuild %define pkg_name propro +%define php_version %(php-config --version 2>/dev/null) +%if "%{pkg_version}" >= "5.6" +%define my_version 2.0.0 +%define upstream 1 +%else +%define my_version 1.0.0 +%define upstream 0 +%endif + # Name: php5-propro -Version: 2.0.0 +Version: %{my_version} Release: 0 # License: PHP Group: Productivity/Networking/Web/Servers # -BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-build +BuildRoot: %{_tmppath}/%{pkg_name}-%{my_version}-build BuildRequires: php5-devel BuildRequires: -php5-raphf BuildRequires: -php5-propro # URL: http://pecl.php.net/propro -Source: http://pecl.php.net/package/propro/%{pkg_name}-%{version}.tgz +Source: http://pecl.php.net/package/propro/%{pkg_name}-%{my_version}.tgz Summary: pecl_http's persistent handle and resource factory API %description @@ -28,7 +37,7 @@ %prep -%setup -q -n %{pkg_name}-%{version} +%setup -q -n %{pkg_name}-%{my_version} %{__mkdir} %{name}