commit 240e35a57f14d38c635e2bbf4ab3036e3479ed8d
Author: Elan Ruusamäe <[email protected]>
Date:   Tue May 5 13:04:04 2015 +0300

    devel: require proper version, not just any

 php-pecl-raphf.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/php-pecl-raphf.spec b/php-pecl-raphf.spec
index 6c0f3ea..2f1c516 100644
--- a/php-pecl-raphf.spec
+++ b/php-pecl-raphf.spec
@@ -4,7 +4,7 @@
 Summary:       %{modname} - Resource and persistent handles factory
 Name:          %{php_name}-pecl-%{modname}
 Version:       1.0.4
-Release:       1
+Release:       2
 License:       BSD, revised
 Group:         Development/Languages/PHP
 Source0:       http://pecl.php.net/get/%{modname}-%{version}.tgz
@@ -26,7 +26,7 @@ In PECL status of this extension is: %{status}.
 Summary:       Header files for raphf PECL extension
 Group:         Development/Libraries
 # does not require base
-Requires:      php-devel >= 4:5.2.0
+Requires:      %{php_name}-devel >= 4:5.2.0
 
 %description devel
 Header files for raphf PECL extension.
@@ -51,7 +51,7 @@ cat <<'EOF' > 
$RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{modname}.ini
 extension=%{modname}.so
 EOF
 
-install -D php_raphf.h $RPM_BUILD_ROOT%{_includedir}/php/ext/raphf/php_raphf.h
+install -p -D php_raphf.h 
$RPM_BUILD_ROOT%{_includedir}/php/ext/raphf/php_raphf.h
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-raphf.git/commitdiff/240e35a57f14d38c635e2bbf4ab3036e3479ed8d

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to