summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-12-24 10:38:31 +0100
committerRemi Collet <fedora@famillecollet.com>2012-12-24 10:38:31 +0100
commit232d1e56bc4dd2aedb4fb1276a5912bae078c471 (patch)
tree67ad24fec1143cdfdbd0e2ca686104ee9fad0ec0
parent3b6eb83da38c7745ca1f9958deddc886df40b744 (diff)
php-pecl-haru: 1.0.4
-rw-r--r--Makefile2
-rw-r--r--php-pecl-haru.spec13
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 <remi@fedoraproject.org> - 1.0.4-1
+- update to 1.0.4
+- also provides php-haru
+
* Thu Feb 02 2012 Remi Collet <remi@fedoraproject.org> - 1.0.3-2
- build against php 5.4