summaryrefslogtreecommitdiffstats
path: root/php-libvirt.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-12-08 08:17:48 +0100
committerRemi Collet <remi@php.net>2022-12-08 08:17:48 +0100
commit5387c6cd0fe96cb4e9589b6675a10b41446e2ba0 (patch)
tree74f5d0fd791d13c0a9ffd99004a422c854bfc1d9 /php-libvirt.spec
parent439692065f0c8ba8d59c45b687513a47cfa775f4 (diff)
Upgrade to 0.5.7
raise dependency on PHP 7.0
Diffstat (limited to 'php-libvirt.spec')
-rw-r--r--php-libvirt.spec20
1 files changed, 7 insertions, 13 deletions
diff --git a/php-libvirt.spec b/php-libvirt.spec
index fd1e5fd..68fe4b8 100644
--- a/php-libvirt.spec
+++ b/php-libvirt.spec
@@ -9,7 +9,6 @@
# Please, preserve the changelog entries
#
%if 0%{?scl:1}
-%global sub_prefix %{scl_prefix}
%scl_package php-libvirt
%endif
@@ -29,8 +28,8 @@
%global ini_name 40-%{extname}.ini
%endif
-Name: %{?sub_prefix}php-libvirt
-Version: 0.5.6
+Name: %{?scl_prefix}php-libvirt
+Version: 0.5.7
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Summary: PHP language binding for Libvirt
@@ -40,16 +39,12 @@ License: LGPLv2+
URL: http://libvirt.org/php
Source0: http://libvirt.org/sources/php/libvirt-php-%{version}.tar.xz
-Patch0: libvirt-php5.patch
-
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
-BuildRequires: %{?scl_prefix}php-devel
+BuildRequires: %{?scl_prefix}php-devel >= 7.0
BuildRequires: libvirt-devel >= %{req_libvirt_version}
BuildRequires: libxml2-devel
BuildRequires: libxslt
-# obviously NOT needed, checked by configure as used by examples :(
-BuildRequires: %{?scl_prefix}php-pecl-imagick
BuildRequires: xhtml1-dtds
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
@@ -73,10 +68,6 @@ Summary: Document of php-libvirt
Group: Development/Libraries
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
-%if "%{?scl_prefix}" != "%{?sub_prefix}"
-Provides: %{?scl_prefix}php-libvirt-doc = %{version}-%{release}
-Provides: %{?scl_prefix}php-libvirt-doc%{?_isa} = %{version}-%{release}
-%endif
%description doc
PHP language bindings for Libvirt API.
@@ -87,7 +78,6 @@ This package contain the document for php-libvirt.
%prep
%setup -q -n libvirt-php-%{version}
-%patch0 -p1 -b .php5
%build
@@ -140,6 +130,10 @@ rm %{buildroot}%{php_extdir}/%{extname}.la
%changelog
+* Thu Dec 8 2022 Remi Collet <remi@remirepo.net> - 0.5.7-1
+- Upgrade to 0.5.7
+- raise dependency on PHP 7.0
+
* Wed Jun 15 2022 Remi Collet <remi@remirepo.net> - 0.5.6-1
- Upgrade to 0.5.6
- add patch allowing build with PHP 5