summaryrefslogtreecommitdiffstats
path: root/php-pecl-inotify.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-inotify.spec')
-rw-r--r--php-pecl-inotify.spec19
1 files changed, 6 insertions, 13 deletions
diff --git a/php-pecl-inotify.spec b/php-pecl-inotify.spec
index 51e3773..1b6469a 100644
--- a/php-pecl-inotify.spec
+++ b/php-pecl-inotify.spec
@@ -16,15 +16,14 @@
Summary: Inotify
Name: %{?scl_prefix}php-pecl-%{pecl_name}
-Version: 2.0.0
-Release: 12%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Version: 3.0.0
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP
Group: Development/Languages
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz
-Patch0: https://github.com/arnaud-lb/php-inotify/commit/79c9c119a1ba3cb7f0ebd3cffb6011fb09415404.patch
-
+BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel > 7
BuildRequires: %{?scl_prefix}php-pear
@@ -53,12 +52,6 @@ Obsoletes: php80-pecl-%{pecl_name} <= %{version}
%endif
%endif
-%if 0%{?fedora} < 20 && 0%{?rhel} < 7
-# Filter shared private
-%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$}
-%{?filter_setup}
-%endif
-
%description
The inotify extension allows to use inotify functions in a PHP script.
@@ -69,7 +62,6 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO
%prep
%setup -q -c
mv %{pecl_name}-%{version} NTS
-mv package2.xml package.xml
sed -e '/inotify.php/s/role="php"/role="doc"/' \
-e '/tail.php/s/role="php"/role="doc"/' \
@@ -78,8 +70,6 @@ sed -e '/inotify.php/s/role="php"/role="doc"/' \
-i package.xml
cd NTS
-%patch0 -p1
-
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_INOTIFY_VERSION/{s/.* "//;s/".*$//;p}' php_inotify.h)
if test "x${extver}" != "x%{version}%{?prever:-%{prever}}"; then
@@ -212,6 +202,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Fri Dec 18 2020 Remi Collet <remi@remirepo.net> - 3.0.0-1
+- update to 3.0.0
+
* Wed Sep 30 2020 Remi Collet <remi@remirepo.net> - 2.0.0-12
- rebuild for PHP 8.0.0RC1