summaryrefslogtreecommitdiffstats
path: root/php-pecl-scrypt.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-scrypt.spec')
-rw-r--r--php-pecl-scrypt.spec14
1 files changed, 9 insertions, 5 deletions
diff --git a/php-pecl-scrypt.spec b/php-pecl-scrypt.spec
index bd02580..b315d37 100644
--- a/php-pecl-scrypt.spec
+++ b/php-pecl-scrypt.spec
@@ -24,14 +24,12 @@
Name: %{?scl_prefix}php-pecl-%{pecl_name}
Summary: Scrypt hashing function
License: BSD-2-Clause
-Version: 2.0.1
-Release: 3%{?dist}
+Version: 2.0.2
+Release: 1%{?dist}
%forgemeta
URL: %{forgeurl}
Source0: %{forgesource}
-Patch0: 79.patch
-
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel >= 7.0
@@ -61,7 +59,8 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO
%prep
%forgesetup
-%patch -P0 -p1
+
+sed -e 's/2.0.1/%{version}/' -i php_scrypt.h
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_SCRYPT_VERSION/{s/.* "//;s/".*$//;p}' php_scrypt.h)
@@ -162,6 +161,11 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Wed Jul 22 2026 Remi Collet <remi@remirepo.net> - 2.0.2-1
+- update to 2.0.2
+- drop patch merged upstream
+- open https://github.com/DomBlack/php-scrypt/pull/81 fix version
+
* Tue Jul 21 2026 Remi Collet <remi@remirepo.net> - 2.0.1-3
- re-license spec file to CECILL-2.1
- add pie virtual provides