summaryrefslogtreecommitdiffstats
path: root/php-pecl-eio.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-04-21 08:43:00 +0200
committerRemi Collet <remi@remirepo.net>2017-04-21 08:43:00 +0200
commit7dd7dae76e71eba6948f7c05f7f4d68753cd2495 (patch)
treea128d637e026245524d8e3a3d56f897255487511 /php-pecl-eio.spec
parent108258fd26bbe8735340e814790837c98a55a753 (diff)
v2.0.2
Diffstat (limited to 'php-pecl-eio.spec')
-rw-r--r--php-pecl-eio.spec17
1 files changed, 8 insertions, 9 deletions
diff --git a/php-pecl-eio.spec b/php-pecl-eio.spec
index 9469ccd..8d4e8fa 100644
--- a/php-pecl-eio.spec
+++ b/php-pecl-eio.spec
@@ -28,14 +28,13 @@
Summary: Provides interface to the libeio library
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 2.0.1
-Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Version: 2.0.2
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP
Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{?scl_prefix}php-devel > 5.3
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: %{?scl_prefix}php-sockets
@@ -138,6 +137,8 @@ EOF
%build
+%{?dtsenable}
+
cd NTS
%{_bindir}/phpize
%configure \
@@ -158,7 +159,7 @@ make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
+%{?dtsenable}
make -C NTS install INSTALL_ROOT=%{buildroot}
@@ -244,12 +245,7 @@ REPORT_EXIT_STATUS=1 \
%endif
-%clean
-rm -rf %{buildroot}
-
-
%files
-%defattr(-,root,root,-)
%{?_licensedir:%license NTS/LICENSE}
%doc %{pecl_docdir}/%{pecl_name}
%{pecl_xmldir}/%{name}.xml
@@ -264,6 +260,9 @@ rm -rf %{buildroot}
%changelog
+* Fri Apr 21 2017 Remi Collet <remi@remirepo.net> - 2.0.2-1
+- Update to 2.0.2
+
* Thu Dec 1 2016 Remi Collet <remi@fedoraproject.org> - 2.0.1-3
- rebuild with PHP 7.1.0 GA