[php-libvirt/f14] Build 0.4.4

Michal Novotny minovotn at fedoraproject.org
Mon Aug 22 09:48:45 UTC 2011


commit 14e5b41915e477d80c5e225bcece93e584a6dce8
Author: Michal Novotny <mignov at gmail.com>
Date:   Mon Aug 22 11:49:00 2011 +0200

    Build 0.4.4

 php-libvirt.spec |   57 +++++++++++++++++++++++------------------------------
 1 files changed, 25 insertions(+), 32 deletions(-)
---
diff --git a/php-libvirt.spec b/php-libvirt.spec
index 9617332..e072be3 100644
--- a/php-libvirt.spec
+++ b/php-libvirt.spec
@@ -1,14 +1,24 @@
 %define		req_libvirt_version 0.6.2
+
+%if 0%{?suse_version} 
+%define		php_confdir %{_sysconfdir}/php5/conf.d
+%define		php_extdir  %{_libdir}/php5/extensions
+%else
 %define		php_confdir %{_sysconfdir}/php.d 
 %define		php_extdir  %{_libdir}/php/modules
+%endif
 
 Name:		php-libvirt
-Version:	0.4.3
+Version:	0.4.4
 Release:	1%{?dist}%{?extra_release}
 Summary:	PHP language binding for Libvirt
 
+%if 0%{?suse_version}  
+Group:		Development/Libraries/PHP
+%else
 Group:		Development/Libraries
-License:	LGPLv2+
+%endif
+License:	PHP
 URL:		http://libvirt.org/php
 Source0:	http://libvirt.org/sources/php/php-libvirt-%{version}.tar.gz
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
@@ -17,14 +27,17 @@ BuildRequires:	php-devel
 BuildRequires:	libvirt-devel >= %{req_libvirt_version}
 BuildRequires:	libxml2-devel
 BuildRequires:	libxslt
+%if 0%{?suse_version}  
+BuildRequires:	xhtml-dtd
+%else
 BuildRequires:	xhtml1-dtds
+%endif
 Requires:	libvirt >= %{req_libvirt_version}
+%if 0%{?suse_version}  
+Requires:	php5
+%else
 Requires:	php
-Requires:	php(zend-abi) = %{php_zend_api}
-Requires:	php(api) = %{php_core_api}
-
-%define		debug_package	%{nil} 
-%global		_use_internal_dependency_generator	0
+%endif
 
 %description
 PHP language bindings for Libvirt API. 
@@ -32,7 +45,7 @@ For more details see: http://www.libvirt.org/php/
 
 %package -n php-libvirt-doc
 Summary:	Document of php-libvirt
-Group:		Development/Libraries
+Group:		Development/Libraries/PHP
 BuildArch:	noarch
 Requires:	php-libvirt = %{version}
 
@@ -59,38 +72,18 @@ rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
-%doc
 %{php_extdir}/php-libvirt.so
 %config(noreplace) %{php_confdir}/php-libvirt.ini
 
 %files -n php-libvirt-doc
 %defattr(-,root,root,-)
-%doc README
+%doc
 %dir %{_datadir}/doc/%{name}-%{version}
 %{_datadir}/doc/%{name}-%{version}/html
 
 %changelog
-* Thu Aug 11 2011 Michal Novotny <minovotn at redhat.com> - 0.4.3
-- Rebase to 0.4.3 from master branch
-
-* Tue Apr 19 2011 Michal Novotny <minovotn at redhat.com> - 0.4.1-5
-- Minor memory leak fixes
-- Several bug fixes
-
-* Mon Apr 11 2011 Michal Novotny <minovotn at redhat.com> - 0.4.1-4
-- Add new storagepool API functions
-- Add optional xPath argument for *_get_xml_desc() functions
-- Add new network API functions
-- Add new API functions to add/remove disks
-
-* Wed Mar 23 2011 Michal Novotny <minovotn at redhat.com> - 0.4.1-3
-- Add connection information function
-- Add coredump support
-- Add snapshots support
-- Improve error reporting for destructors
-
-* Thu Mar 10 2011 Michal Novotny <minovotn at redhat.com> - 0.4.1-2
-- Changes done to comply with Fedora package policy
+* Mon Aug 22 2011 Michal Novotny <minovotn at redhat.com> - 0.4.4
+- Several bugfixes and updated SPEC file and codes not to require open tags
 
-* Tue Feb 8 2011 Michal Novotny <minovotn at redhat.com> - 0.4.1-1
+* Tue Feb 8 2011 Michal Novotny <minovotn at redhat.com> - 0.4.1
 - Initial commit (from github)


More information about the scm-commits mailing list