summaryrefslogtreecommitdiffstats
path: root/php-pecl-ssh2.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-04-21 07:52:46 +0200
committerRemi Collet <remi@php.net>2023-04-21 07:52:46 +0200
commitd4264671d6819f741077ccdffe00b9a1d132843b (patch)
treeea0608f983422f9251979b4d8d6145a3d7b56a82 /php-pecl-ssh2.spec
parent5f7f7c3a0a06d00eda99e635cb29dda42d2c86ad (diff)
update to 1.4
Diffstat (limited to 'php-pecl-ssh2.spec')
-rw-r--r--php-pecl-ssh2.spec33
1 files changed, 10 insertions, 23 deletions
diff --git a/php-pecl-ssh2.spec b/php-pecl-ssh2.spec
index 098d168..28c0cf4 100644
--- a/php-pecl-ssh2.spec
+++ b/php-pecl-ssh2.spec
@@ -1,7 +1,7 @@
# remirepo spec file for php-pecl-ssh2
# with SCL compatibility
#
-# Copyright (c) 2011-2022 Remi Collet
+# Copyright (c) 2011-2023 Remi Collet
#
# Fedora spec file for php-pecl-ssh2
#
@@ -9,10 +9,7 @@
#
# Please, preserve the changelog entries
#
-%if 0%{?scl:1}
-%global sub_prefix %{scl_prefix}
-%scl_package php-pecl-ssh2
-%endif
+%{?scl:%scl_package php-pecl-ssh2}
# See https://github.com/php/pecl-networking-ssh2/commits/master
%global gh_commit 50d97a52c39166d59e59222a20e841f3f3ce594d
@@ -25,18 +22,18 @@
%global ini_name 40-%{pecl_name}.ini
%global buildver %(pkg-config --silence-errors --modversion libssh2 2>/dev/null || echo 65536)
-Name: %{?sub_prefix}php-pecl-ssh2
+Name: %{?scl_prefix}php-pecl-ssh2
Summary: Bindings for the libssh2 library
-Version: 1.3.1
+Version: 1.4
%if 0%{?gh_date}
Release: 0.9.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}%{?prever}-%{gh_short}.tar.gz
%else
-Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz
%endif
-License: PHP
+License: PHP-3.01
URL: https://pecl.php.net/package/%{pecl_name}
BuildRequires: make
@@ -65,12 +62,8 @@ Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
-%if "%{?scl_prefix}" != "%{?sub_prefix}"
-Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release}
-Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
-%endif
-%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
+%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} == 7
# Other third party repo stuff
Obsoletes: php53-pecl-%{pecl_name} <= %{version}
Obsoletes: php53u-pecl-%{pecl_name} <= %{version}
@@ -82,15 +75,6 @@ Obsoletes: php72u-pecl-%{pecl_name} <= %{version}
%if "%{php_version}" > "7.3"
Obsoletes: php73-pecl-%{pecl_name} <= %{version}
%endif
-%if "%{php_version}" > "7.4"
-Obsoletes: php74-pecl-%{pecl_name} <= %{version}
-%endif
-%if "%{php_version}" > "8.0"
-Obsoletes: php80-pecl-%{pecl_name} <= %{version}
-%endif
-%if "%{php_version}" > "8.1"
-Obsoletes: php81-pecl-%{pecl_name} <= %{version}
-%endif
%endif
%if %{move_to_opt}
@@ -254,6 +238,9 @@ fi
%changelog
+* Thu Apr 20 2023 Remi Collet <remi@remirepo.net> - 1.4-1
+- update to 1.4
+
* Sun Jun 26 2022 Remi Collet <remi@remirepo.net> - 1.3.1-3
- rebuild againt remi-libssh2 on EL-7 and EL-8