From 232d1e56bc4dd2aedb4fb1276a5912bae078c471 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 24 Dec 2012 10:38:31 +0100 Subject: php-pecl-haru: 1.0.4 --- Makefile | 2 +- php-pecl-haru.spec | 13 ++++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 1e65467..13af741 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ SRCDIR := $(shell pwd) NAME := $(shell basename $(SRCDIR)) -include ../common/Makefile +include ../../../common/Makefile diff --git a/php-pecl-haru.spec b/php-pecl-haru.spec index ae68a47..60318c9 100644 --- a/php-pecl-haru.spec +++ b/php-pecl-haru.spec @@ -3,8 +3,8 @@ Summary: Haru PDF functions Name: php-pecl-haru -Version: 1.0.3 -Release: 2%{?dist} +Version: 1.0.4 +Release: 1%{?dist}.1 # https://bugs.php.net/60958 - Please Provides LICENSE file License: PHP @@ -26,6 +26,8 @@ Requires(postun): %{__pecl} Requires: php(zend-abi) = %{php_zend_api} Requires: php(api) = %{php_core_api} +Provides: php-%{pecl_name} = %{version} +Provides: php-%{pecl_name}%{?_isa} = %{version} Provides: php-pecl(%{pecl_name}) = %{version} Provides: php-pecl(%{pecl_name})%{?_isa} = %{version} @@ -50,9 +52,6 @@ cat >%{pecl_name}.ini << 'EOF' extension=%{pecl_name}.so EOF -# https://bugs.php.net/60959 - Version 1.0.3 reports as 1.0.1 -sed -i -e '/PHP_HARU_VERSION/s/1.0.1/%{version}/' %{pecl_name}-%{version}/php_haru.h - # Check extension version extver=$(sed -n '/#define PHP_HARU_VERSION/{s/.* "//;s/".*$//;p}' %{pecl_name}-%{version}/php_haru.h) if test "x${extver}" != "x%{version}"; then @@ -153,6 +152,10 @@ cd ../%{pecl_name}-zts %changelog +* Mon Dec 24 2012 Remi Collet - 1.0.4-1 +- update to 1.0.4 +- also provides php-haru + * Thu Feb 02 2012 Remi Collet - 1.0.3-2 - build against php 5.4 -- cgit