v2.0.7
This commit is contained in:
parent
cb393679df
commit
b0eda92d2b
3 changed files with 13 additions and 9 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -6,3 +6,4 @@ clog
|
|||
/php-phpseclib-2.0.4-ab8028c.tgz
|
||||
/php-phpseclib-2.0.5-f8dd0e1.tgz
|
||||
/php-phpseclib-2.0.6-34a7699.tgz
|
||||
/php-phpseclib-2.0.7-f4b6a52.tgz
|
||||
|
|
|
|||
|
|
@ -3,13 +3,13 @@
|
|||
|
||||
%global github_owner phpseclib
|
||||
%global github_name phpseclib
|
||||
%global github_commit 34a7699e6f31b1ef4035ee36444407cecf9f56aa
|
||||
%global github_commit f4b6a522dfa1fd1e477c9cfe5909d5b31f098c0b
|
||||
%global github_short %(c=%{github_commit}; echo ${c:0:7})
|
||||
%global with_tests 0%{!?_without_tests:1}
|
||||
|
||||
Name: php-%{composer_vendor}
|
||||
Version: 2.0.6
|
||||
Release: 2%{?dist}
|
||||
Version: 2.0.7
|
||||
Release: 1%{?dist}
|
||||
Summary: PHP Secure Communications Library
|
||||
|
||||
Group: System Environment/Libraries
|
||||
|
|
@ -29,7 +29,6 @@ BuildRequires: %{_bindir}/phpab
|
|||
# Optional at runtime, to avoid too muck skipped tests
|
||||
BuildRequires: php-bcmath
|
||||
BuildRequires: php-gmp
|
||||
BuildRequires: php-mcrypt
|
||||
%endif
|
||||
|
||||
Requires: php(language) >= 5.3.3
|
||||
|
|
@ -58,9 +57,6 @@ Rijndael, AES, Blowfish, Twofish, SSH-1, SSH-2, SFTP, and X.509
|
|||
%setup -qn %{github_name}-%{github_commit}
|
||||
cp %{SOURCE1} %{composer_vendor}/autoload.php
|
||||
|
||||
# https://github.com/phpseclib/phpseclib/pull/1121
|
||||
chmod -x phpseclib/Net/SCP.php
|
||||
|
||||
|
||||
%build
|
||||
|
||||
|
|
@ -73,7 +69,11 @@ cp -pr %{composer_vendor} %{buildroot}%{_datadir}/php
|
|||
%if %{with_tests}
|
||||
%check
|
||||
%{_bindir}/phpab --output tests/bootstrap.php tests
|
||||
echo 'require "%{buildroot}%{_datadir}/php/%{composer_vendor}/autoload.php";' >> tests/bootstrap.php
|
||||
cat << 'EOF' | tee -a tests/bootstrap.php
|
||||
require "%{buildroot}%{_datadir}/php/%{composer_vendor}/autoload.php";
|
||||
date_default_timezone_set('UTC');
|
||||
EOF
|
||||
|
||||
|
||||
ret=0
|
||||
for cmd in php php70 php71 php72; do
|
||||
|
|
@ -93,6 +93,9 @@ exit $ret
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Oct 23 2017 Remi Collet <remi@remirepo.net> - 2.0.7-1
|
||||
- Update to 2.0.7
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.6-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (php-phpseclib-2.0.6-34a7699.tgz) = 9c95e07f3c4785bc6f561dfbde13c6e062529493e52dad42fe369688109941bfea7a2e9e9c33db137c2a7325b9945674cbc2ac4e83e2502be04a935914b83366
|
||||
SHA512 (php-phpseclib-2.0.7-f4b6a52.tgz) = 0af17d368663e08e83ecd56f28719330f6d6ab46186abb82a5abd875885eaf823008a36ad93791faf4060d772c80afd179086e46a5d6e8ccc5d9accf92800cb0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue