summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-07-17 18:12:34 +0200
committerRemi Collet <remi@remirepo.net>2018-07-17 18:12:34 +0200
commit0653f04ed7aa711e52591f934ec49236aaf9177a (patch)
treeb60eae7e2f0cc59a7e625e403cc2705ee3fa8eb6
parenta37d12c5c8cbbe9a57b6d6c5cb3ffababbf18355 (diff)
rebuld for 7.3.0alpha4 new ABI
-rw-r--r--php-pecl-crypto.spec23
1 files changed, 13 insertions, 10 deletions
diff --git a/php-pecl-crypto.spec b/php-pecl-crypto.spec
index d2b3ffb..5727d8f 100644
--- a/php-pecl-crypto.spec
+++ b/php-pecl-crypto.spec
@@ -27,13 +27,12 @@
Summary: Wrapper for OpenSSL Crypto Library
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: 0.3.1
-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: BSD
-Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel > 5.3
BuildRequires: %{?scl_prefix}php-pear
# don't use pkg-config to avoid compat-openssl10
@@ -78,6 +77,10 @@ Obsoletes: php71w-pecl-%{pecl_name} <= %{version}
Obsoletes: php72u-pecl-%{pecl_name} <= %{version}
Obsoletes: php72w-pecl-%{pecl_name} <= %{version}
%endif
+%if "%{php_version}" > "7.3"
+Obsoletes: php73u-pecl-%{pecl_name} <= %{version}
+Obsoletes: php73w-pecl-%{pecl_name} <= %{version}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -125,6 +128,8 @@ EOF
%build
+%{?dtsenable}
+
cd NTS
%{_bindir}/phpize
%configure \
@@ -143,7 +148,7 @@ make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
+%{?dtsenable}
make -C NTS install INSTALL_ROOT=%{buildroot}
@@ -165,7 +170,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
@@ -219,12 +224,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
@@ -239,6 +239,9 @@ rm -rf %{buildroot}
%changelog
+* Tue Jul 17 2018 Remi Collet <remi@remirepo.net> - 0.3.1-4
+- rebuld for 7.3.0alpha4 new ABI
+
* Wed Jan 31 2018 Remi Collet <remi@remirepo.net> - 0.3.1-3
- ensure OpenSSL 1.1 is used on F26+