diff options
-rw-r--r-- | php-pecl-jsonc.spec | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/php-pecl-jsonc.spec b/php-pecl-jsonc.spec index bed2d37..9b9bc77 100644 --- a/php-pecl-jsonc.spec +++ b/php-pecl-jsonc.spec @@ -16,6 +16,7 @@ %else %global ext_name jsonc %endif + %if 0%{?fedora} < 19 %global with_libjson 0 %else @@ -25,8 +26,8 @@ Summary: Support for JSON serialization Name: php-pecl-%{proj_name} -Version: 1.3.1 -Release: 2%{?dist}.2 +Version: 1.3.2 +Release: 1%{?dist}.1 License: PHP Group: Development/Languages URL: http://pecl.php.net/package/%{proj_name} @@ -56,13 +57,9 @@ Provides: php-pecl-json = %{version}-%{release} Provides: php-pecl-json%{?_isa} = %{version}-%{release} # Other third party repo stuff -Obsoletes: php53-pecl-%{pecl_name} -Obsoletes: php53u-pecl-%{pecl_name} -%if "%{php_version}" > "5.4" -Obsoletes: php54-pecl-%{pecl_name} -%endif +Obsoletes: php54-pecl-%{proj_name} %if "%{php_version}" > "5.5" -Obsoletes: php55-pecl-%{pecl_name} +Obsoletes: php55-pecl-%{proj_name} %endif # Filter private shared @@ -87,7 +84,7 @@ Requires: php-devel%{?_isa} %description devel These are the files needed to compile programs using JSON serializer. -%if 0%{?rhel} == 5 +%if 0%{?rhel} == 5 && "%{php_version}" > "5.5" %package -n php-json Summary: Meta package fo json extension Group: Development/Libraries @@ -214,16 +211,18 @@ rm -rf %{buildroot} %{php_incldir}/ext/json %{php_ztsincldir}/ext/json -%if 0%{?rhel} == 5 +%if 0%{?rhel} == 5 && "%{php_version}" > "5.5" %files -n php-json %defattr(-,root,root,-) %endif %changelog +* Mon Sep 9 2013 Remi Collet <rcollet@redhat.com> - 1.3.2-1 +- release 1.3.2 (stable) + * Mon Jun 24 2013 Remi Collet <rcollet@redhat.com> - 1.3.1-2.el5.2 - add metapackage "php-json" to fix upgrade issue (EL-5) -- rename to php-pecl-jsonc * Wed Jun 12 2013 Remi Collet <rcollet@redhat.com> - 1.3.1-2 - rename to php-pecl-jsonc |