Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3853b5b58c | ||
|
|
a194747848 |
4 changed files with 16 additions and 7 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -43,3 +43,5 @@ clog
|
||||||
/php-phpseclib-2.0.43-87b6bb4.tgz
|
/php-phpseclib-2.0.43-87b6bb4.tgz
|
||||||
/php-phpseclib-2.0.44-149f608.tgz
|
/php-phpseclib-2.0.44-149f608.tgz
|
||||||
/php-phpseclib-2.0.48-eaa7be7.tgz
|
/php-phpseclib-2.0.48-eaa7be7.tgz
|
||||||
|
/php-phpseclib-2.0.49-4de468f.tgz
|
||||||
|
/php-phpseclib-2.0.50-1815ddd.tgz
|
||||||
|
|
|
||||||
|
|
@ -11,11 +11,10 @@ echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Vers
|
||||||
|
|
||||||
echo "Cloning..."
|
echo "Cloning..."
|
||||||
rm -rf $PROJECT-$COMMIT
|
rm -rf $PROJECT-$COMMIT
|
||||||
git clone https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT
|
git clone --revision "${COMMIT}" --depth 1 https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT
|
||||||
|
|
||||||
echo "Getting commit..."
|
echo "Saving a copy of composer.json..."
|
||||||
pushd $PROJECT-$COMMIT
|
pushd $PROJECT-$COMMIT
|
||||||
git checkout $COMMIT
|
|
||||||
cp composer.json ../composer-$VERSION.json
|
cp composer.json ../composer-$VERSION.json
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,12 +3,12 @@
|
||||||
|
|
||||||
%global github_owner phpseclib
|
%global github_owner phpseclib
|
||||||
%global github_name phpseclib
|
%global github_name phpseclib
|
||||||
%global github_commit eaa7be704b8b93a6913b69eb7f645a59d7731b61
|
%global github_commit 1815ddd00195487cc922577751c175f339f4e20f
|
||||||
%global github_short %(c=%{github_commit}; echo ${c:0:7})
|
%global github_short %(c=%{github_commit}; echo ${c:0:7})
|
||||||
%bcond_without tests
|
%bcond_without tests
|
||||||
|
|
||||||
Name: php-%{composer_vendor}
|
Name: php-%{composer_vendor}
|
||||||
Version: 2.0.48
|
Version: 2.0.50
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: PHP Secure Communications Library
|
Summary: PHP Secure Communications Library
|
||||||
License: MIT
|
License: MIT
|
||||||
|
|
@ -37,6 +37,7 @@ BuildRequires: %{_bindir}/phpab
|
||||||
# Optional at runtime, to avoid too muck skipped tests
|
# Optional at runtime, to avoid too muck skipped tests
|
||||||
BuildRequires: php-bcmath
|
BuildRequires: php-bcmath
|
||||||
BuildRequires: php-gmp
|
BuildRequires: php-gmp
|
||||||
|
BuildRequires: php-mcrypt
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Requires: php(language) >= 5.3.3
|
Requires: php(language) >= 5.3.3
|
||||||
|
|
@ -44,6 +45,7 @@ Requires: php-bcmath
|
||||||
Requires: php-date
|
Requires: php-date
|
||||||
Requires: php-gmp
|
Requires: php-gmp
|
||||||
Requires: php-hash
|
Requires: php-hash
|
||||||
|
Requires: php-mcrypt
|
||||||
Requires: php-openssl
|
Requires: php-openssl
|
||||||
Requires: php-pcre
|
Requires: php-pcre
|
||||||
Requires: php-session
|
Requires: php-session
|
||||||
|
|
@ -111,7 +113,7 @@ sed -e '/require /d' -i tests/Unit/Crypt/Hash/SHA*_96Test.php
|
||||||
|
|
||||||
# testAuthorityInfoAccess fails without internet access
|
# testAuthorityInfoAccess fails without internet access
|
||||||
ret=0
|
ret=0
|
||||||
for cmd in "php %{phpunit}" php80 php81 php82; do
|
for cmd in "php %{phpunit}" php80 php81 php82 php83 php84 php85; do
|
||||||
if which $cmd; then
|
if which $cmd; then
|
||||||
set $cmd
|
set $cmd
|
||||||
$1 -d memory_limit=1G ${2:-%{_bindir}/phpunit9} \
|
$1 -d memory_limit=1G ${2:-%{_bindir}/phpunit9} \
|
||||||
|
|
@ -131,6 +133,12 @@ exit $ret
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jan 03 2026 Artur Frenszek-Iwicki <fedora@svgames.pl> - 2.0.50-1
|
||||||
|
- Update to v2.0.50
|
||||||
|
|
||||||
|
* Mon Oct 06 2025 Artur Frenszek-Iwicki <fedora@svgames.pl> - 2.0.49-1
|
||||||
|
- Update to v2.0.49
|
||||||
|
|
||||||
* Thu Jan 30 2025 Artur Frenszek-Iwicki <fedora@svgames.pl> - 2.0.48-1
|
* Thu Jan 30 2025 Artur Frenszek-Iwicki <fedora@svgames.pl> - 2.0.48-1
|
||||||
- Update to v2.0.48
|
- Update to v2.0.48
|
||||||
|
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
SHA512 (php-phpseclib-2.0.48-eaa7be7.tgz) = 4dacaebfe2041bf0326a9eb3a8fab6995861d76c07093f540f82b4b7f9357fb5a9a10a64bcaab277937d1d7583c1e91a2afaab0285f53d5a448d44378f18c35a
|
SHA512 (php-phpseclib-2.0.50-1815ddd.tgz) = cd7e28877120886af1b764ee5aba46f1d4f05f396d60f9fab45678c8a51a077690f61c24299aab5c239de0515ffcb34a91f533172a8d5f272840bc29ef3f5513
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue