Update package version to 2.46.0

This commit is contained in:
2026-02-13 18:45:21 +02:00
parent 3dfb8cb120
commit b6e815c62a
2 changed files with 12 additions and 4 deletions
+7 -1
View File
@@ -3,6 +3,12 @@
URL="https://www.gnu.org/software/binutils/" URL="https://www.gnu.org/software/binutils/"
# Get version number # Get version number
VERSION=$(curl -s -L "$URL" | grep 'The latest release of GNU binutils is ' | grep -o -E '[0-9]{1,}.[0-9]{1,}(\.[0-9]{1,}|)') VERSION=$(curl -s -L "$URL" | grep 'The latest release of GNU binutils is ' | grep -o -E '[0-9]{1,}\.[0-9]{1,}(\.[0-9]{1,})?')
# Append '.0' if patch number is missing
DOT_COUNT=`tr -dc '.' <<< "$VERSION" | awk '{ print length; }'`
if [ $DOT_COUNT -eq 1 ]; then
VERSION="${VERSION}.0"
fi
echo "$VERSION" echo "$VERSION"
+5 -3
View File
@@ -1,9 +1,11 @@
name: binutils name: binutils
description: The GNU Binutils are a collection of binary tools description: The GNU Binutils are a collection of binary tools
version: 2.45.1 version: 2.46.0
revision: 2 revision: 1
url: https://www.gnu.org/software/binutils/ url: https://www.gnu.org/software/binutils/
license: GPL3-or-later license: GPL3-or-later
maintainers:
- [email protected]
architecture: any architecture: any
type: source type: source
depends: depends:
@@ -19,4 +21,4 @@ downloads:
- url: https://sourceware.org/pub/binutils/releases/binutils-${BPM_PKG_VERSION}.tar.xz - url: https://sourceware.org/pub/binutils/releases/binutils-${BPM_PKG_VERSION}.tar.xz
extract_to: ${BPM_SOURCE} extract_to: ${BPM_SOURCE}
extract_strip_components: 1 extract_strip_components: 1
checksum: 5fe101e6fe9d18fdec95962d81ed670fdee5f37e3f48f0bef87bddf862513aa5 checksum: d75a94f4d73e7a4086f7513e67e439e8fcdcbb726ffe63f4661744e6256b2cf2