summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore7
-rw-r--r--php-pecl-termbox.spec11
2 files changed, 16 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1ab5c4f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+package-*.xml
+*.tgz
+*.tar.gz
+*.tar.xz
+*.tar.xz.asc
+*.src.rpm
+*/*rpm
diff --git a/php-pecl-termbox.spec b/php-pecl-termbox.spec
index aa93b52..44128e5 100644
--- a/php-pecl-termbox.spec
+++ b/php-pecl-termbox.spec
@@ -23,7 +23,7 @@
Summary: A termbox wrapper for PHP
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: 0.1.3
-Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: ASL 2.0
Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
@@ -70,6 +70,10 @@ Obsoletes: php70w-pecl-%{pecl_name} <= %{version}
Obsoletes: php71u-pecl-%{pecl_name} <= %{version}
Obsoletes: php71w-pecl-%{pecl_name} <= %{version}
%endif
+%if "%{php_version}" > "7.2"
+Obsoletes: php72u-pecl-%{pecl_name} <= %{version}
+Obsoletes: php72w-pecl-%{pecl_name} <= %{version}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -212,8 +216,8 @@ REPORT_EXIT_STATUS=1 \
%files
%doc %{pecl_docdir}/%{pecl_name}
%{?_licensedir:%license NTS/LICENSE}
-
%{pecl_xmldir}/%{name}.xml
+
%config(noreplace) %{php_inidir}/%{ini_name}
%{php_extdir}/%{pecl_name}.so
@@ -224,6 +228,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 0.1.3-4
+- rebuild for PHP 7.2.0beta1 new API
+
* Thu Dec 1 2016 Remi Collet <remi@fedoraproject.org> - 0.1.3-3
- rebuild with PHP 7.1.0 GA