summaryrefslogtreecommitdiffstats
path: root/php-libvirt.spec
diff options
context:
space:
mode:
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