diff --git a/.gitignore b/.gitignore index 248dad8..d6713cc 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,5 @@ clog /php-phpseclib-2.0.43-87b6bb4.tgz /php-phpseclib-2.0.44-149f608.tgz /php-phpseclib-2.0.48-eaa7be7.tgz +/php-phpseclib-2.0.49-4de468f.tgz +/php-phpseclib-2.0.50-1815ddd.tgz diff --git a/makesrc.sh b/makesrc.sh index 816b3f7..6e6d643 100755 --- a/makesrc.sh +++ b/makesrc.sh @@ -11,11 +11,10 @@ echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Vers echo "Cloning..." 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 -git checkout $COMMIT cp composer.json ../composer-$VERSION.json popd diff --git a/php-phpseclib.spec b/php-phpseclib.spec index 2470de6..923468f 100644 --- a/php-phpseclib.spec +++ b/php-phpseclib.spec @@ -3,12 +3,12 @@ %global github_owner phpseclib %global github_name phpseclib -%global github_commit eaa7be704b8b93a6913b69eb7f645a59d7731b61 +%global github_commit 1815ddd00195487cc922577751c175f339f4e20f %global github_short %(c=%{github_commit}; echo ${c:0:7}) %bcond_without tests Name: php-%{composer_vendor} -Version: 2.0.48 +Version: 2.0.50 Release: 1%{?dist} Summary: PHP Secure Communications Library License: MIT @@ -37,6 +37,7 @@ 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 @@ -44,6 +45,7 @@ Requires: php-bcmath Requires: php-date Requires: php-gmp Requires: php-hash +Requires: php-mcrypt Requires: php-openssl Requires: php-pcre Requires: php-session @@ -111,7 +113,7 @@ sed -e '/require /d' -i tests/Unit/Crypt/Hash/SHA*_96Test.php # testAuthorityInfoAccess fails without internet access 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 set $cmd $1 -d memory_limit=1G ${2:-%{_bindir}/phpunit9} \ @@ -131,6 +133,15 @@ exit $ret %changelog +* Sat Jan 03 2026 Artur Frenszek-Iwicki - 2.0.50-1 +- Update to v2.0.50 + +* Mon Oct 06 2025 Artur Frenszek-Iwicki - 2.0.49-1 +- Update to v2.0.49 + +* Fri Jul 25 2025 Fedora Release Engineering - 2.0.48-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Thu Jan 30 2025 Artur Frenszek-Iwicki - 2.0.48-1 - Update to v2.0.48 diff --git a/sources b/sources index d3b1399..1e006bc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-phpseclib-2.0.48-eaa7be7.tgz) = 4dacaebfe2041bf0326a9eb3a8fab6995861d76c07093f540f82b4b7f9357fb5a9a10a64bcaab277937d1d7583c1e91a2afaab0285f53d5a448d44378f18c35a +SHA512 (php-phpseclib-2.0.50-1815ddd.tgz) = cd7e28877120886af1b764ee5aba46f1d4f05f396d60f9fab45678c8a51a077690f61c24299aab5c239de0515ffcb34a91f533172a8d5f272840bc29ef3f5513