commit d7979bdc3be544c2bc0c361bae475666d61dc911
Author: Elan Ruusamäe <[email protected]>
Date:   Wed May 14 22:34:58 2014 +0300

    allow building with php_suffix

 php-dbus.spec | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/php-dbus.spec b/php-dbus.spec
index 5781641..6b3590a 100644
--- a/php-dbus.spec
+++ b/php-dbus.spec
@@ -2,18 +2,19 @@
 # Conditional build:
 %bcond_without tests           # build without tests
 
+%define                php_name        php%{?php_suffix}
 %define                modname dbus
 Summary:       DBus binding for PHP
-Name:          php-%{modname}
+Name:          %{php_name}-%{modname}
 Version:       0.1.2
-Release:       1
+Release:       2
 License:       PHP 3.0
 Group:         Development/Languages/PHP
 Source0:       http://labs.gree.jp/data/source/php-dbus-%{version}.tgz
 # Source0-md5: 2fc2b92ac805128326ecfa382f6807ab
 URL:           http://labs.gree.jp/Top/OpenSource/DBus-en.html
+BuildRequires: %{php_name}-devel >= 4:5.0.4
 BuildRequires: dbus-devel
-BuildRequires: php-devel >= 4:5.0.4
 BuildRequires: pkgconfig
 BuildRequires: rpmbuild(macros) >= 1.519
 %{?requires_php_extension}
@@ -25,7 +26,7 @@ provides D-Bus interfaces via PHP classes and enables Inter 
Porcess
 Communication in D-Bus.
 
 %prep
-%setup -q
+%setup -q -n php-%{modname}-%{version}
 
 %build
 phpize
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-dbus.git/commitdiff/d7979bdc3be544c2bc0c361bae475666d61dc911

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

Reply via email to