From 204776b9e697e3c9c77c0c94dc670267510b8794 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 8 Jan 2013 16:40:24 +0100 Subject: php-libvirt: rebuild (php 5.5) --- Makefile | 2 +- php-libvirt.spec | 18 +++++++++++++----- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 1e65467..91b0fd5 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-libvirt.spec b/php-libvirt.spec index ca622d4..0a7cb60 100644 --- a/php-libvirt.spec +++ b/php-libvirt.spec @@ -6,7 +6,7 @@ Name: php-libvirt Version: 0.4.5 -Release: 1%{?dist}%{?extra_release} +Release: 2%{?dist}%{?extra_release} Summary: PHP language binding for Libvirt Group: Development/Libraries @@ -28,9 +28,6 @@ Requires: libvirt >= %{req_libvirt_version} Requires: php(zend-abi) = %{php_zend_api} Requires: php(api) = %{php_core_api} -%define debug_package %{nil} -%global _use_internal_dependency_generator 0 - %description PHP language bindings for Libvirt API. For more details see: http://www.libvirt.org/php/ @@ -41,7 +38,7 @@ Group: Development/Libraries %if 0%{?fedora} >= 11 || 0%{?rhel} >= 6 BuildArch: noarch %endif -Requires: php-libvirt = %{version} +Requires: php-libvirt = %{version}-%{release} %description -n php-libvirt-doc PHP language bindings for Libvirt API. @@ -49,6 +46,11 @@ For more details see: http://www.libvirt.org/php/ http://www.php.net/ This package contain the document for php-libvirt. +# Filter private provides +%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$} +%{?filter_setup} + + %prep %setup -q -n libvirt-php-%{version} @@ -66,6 +68,9 @@ make %{?_smp_mflags} rm -rf %{buildroot} make install DESTDIR=%{buildroot} +chmod +x %{buildroot}%{php_extdir}/%{extname}.so + +%check # simple module load test %{__php} --no-php-ini \ --define extension_dir=src \ @@ -90,6 +95,9 @@ rm -rf %{buildroot} %changelog +* Tue Jan 8 2013 Remi Collet - 0.4.5-2 +- rebuild + * Sun Nov 27 2011 Remi Collet - 0.4.5-1 - update to 0.4.5 - fix for php 5.4 (and some of compiler warnings) -- cgit