From 6169896825f73800cf8dd3526429bb312a5231cb Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 27 Jun 2018 11:16:39 +0200 Subject: cleanup --- php-pecl-ssdeep.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/php-pecl-ssdeep.spec b/php-pecl-ssdeep.spec index 79933ca..f0589e6 100644 --- a/php-pecl-ssdeep.spec +++ b/php-pecl-ssdeep.spec @@ -20,7 +20,7 @@ %global _root_prefix %{_prefix} %endif -%global with_zts 0%{?__ztsphp:1} +%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global pecl_name ssdeep %if "%{php_version}" < "5.6" %global ini_name %{pecl_name}.ini @@ -31,13 +31,13 @@ Summary: Wrapper for libfuzzy library Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 1.1.0 -Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD -Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz -BuildRequires: %{?scl_prefix}php-devel > 5.2 +BuildRequires: %{?dtsprefix}gcc +BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear BuildRequires: ssdeep-devel > 2.5 @@ -175,7 +175,7 @@ do install -Dpm 644 NTS/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i done -%if 0%{?fedora} < 24 +%if 0%{?fedora} < 24 && 0%{?rhel} < 8 # when pear installed alone, after us %triggerin -- %{?scl_prefix}php-pear if [ -x %{__pecl} ] ; then @@ -239,6 +239,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Wed Jun 27 2018 Remi Collet - 1.1.0-2 +- cleanup + * Tue Feb 20 2018 Remi Collet - 1.1.0-1 - Update to 1.1.0 -- cgit