From 3130ce49e6b3bd8ff0cefd27d8cb253e1ed64b62 Mon Sep 17 00:00:00 2001 From: madomado Date: Sat, 14 Dec 2024 15:25:43 +0800 Subject: [PATCH] chore(sync): frawhide -> f41 (#2614) --- .github/workflows/autobuild.yml | 7 +-- .github/workflows/bootstrap.yml | 2 +- .github/workflows/update-branch.yml | 54 +++++++++++++++++++ .github/workflows/update-comps.yml | 1 + .github/workflows/update-nightly.yml | 11 ++-- .github/workflows/update-weekly.yml | 53 ++++++++++++++++++ .github/workflows/update.yml | 10 ++-- anda/apps/anki-qt5/anki-qt5.spec | 2 +- anda/apps/anki/anki.spec | 4 +- .../discord-canary-openasar.spec | 2 +- anda/apps/discord-canary-openasar/update.rhai | 4 +- anda/apps/discord-canary/discord-canary.spec | 2 +- anda/apps/discord-canary/update.rhai | 4 +- anda/apps/discord-openasar/update.rhai | 4 +- anda/apps/discord-ptb-openasar/update.rhai | 4 +- anda/apps/discord-ptb/update.rhai | 4 +- anda/apps/discord/update.rhai | 4 +- anda/apps/legcord-bin/legcord-bin.spec | 4 +- .../apps/legcord/legcord-bin/legcord-bin.spec | 2 +- .../apps/legcord/nightly/legcord-nightly.spec | 4 +- anda/apps/legcord/stable/legcord.spec | 4 +- anda/apps/mpv/mpv-nightly.spec | 4 +- anda/apps/ruffle/ruffle-nightly.spec | 2 +- anda/devs/flow/flow-control-nightly.spec | 4 +- anda/devs/zed/nightly/zed-nightly.spec | 4 +- anda/langs/nim/nim-nightly/nim-nightly.spec | 4 +- anda/lib/placebo/anda.hcl | 3 -- anda/lib/tdlib/tdlib-nightly.spec | 2 +- anda/tools/arduino-cli/anda.hcl | 5 ++ anda/tools/arduino-cli/arduino-cli.spec | 35 ++++++++++++ anda/tools/arduino-cli/update.rhai | 1 + anda/tools/cbfstool/update.rhai | 2 +- anda/tools/keyd/keyd.spec | 2 +- anda/tools/rpi-utils/rpi-utils.spec | 4 +- anda/tools/yt-dlp/yt-dlp-nightly.spec | 6 +-- 35 files changed, 200 insertions(+), 64 deletions(-) create mode 100644 .github/workflows/update-branch.yml create mode 100644 .github/workflows/update-weekly.yml create mode 100644 anda/tools/arduino-cli/anda.hcl create mode 100644 anda/tools/arduino-cli/arduino-cli.spec create mode 100644 anda/tools/arduino-cli/update.rhai diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index a425306d6e..84f5769b99 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -40,7 +40,7 @@ jobs: strategy: matrix: pkg: ${{ fromJson(needs.manifest.outputs.build_matrix) }} - version: ["41"] + version: ["rawhide"] fail-fast: false runs-on: ${{ matrix.pkg.arch == 'aarch64' && 'ARM64' || matrix.pkg.labels['large'] && 'x86-64-lg' || 'ubuntu-latest' }} container: @@ -55,6 +55,7 @@ jobs: - name: Checkout latest Mock configs uses: actions/checkout@v4 with: + fetch-depth: 0 repository: terrapkg/mock-configs path: mock-configs @@ -94,7 +95,7 @@ jobs: subatomic-cli upload --prune \ --server https://subatomic.fyralabs.com \ --token ${{ secrets.SUBATOMIC_TOKEN }} \ - terra${{ matrix.version }} anda-build/rpm/rpms/* + terra${{ matrix.version }}${{ matrix.pkg.labels['extra'] && '-extras' }} anda-build/rpm/rpms/* - name: Upload source packages to subatomic if: github.event_name == 'push' @@ -102,7 +103,7 @@ jobs: subatomic-cli upload --prune \ --server https://subatomic.fyralabs.com \ --token ${{ secrets.SUBATOMIC_TOKEN }} \ - terra${{ matrix.version }}-source anda-build/rpm/srpm/* + terra${{ matrix.version }}${{ matrix.pkg.labels['extra'] && '-extras' }}-source anda-build/rpm/srpm/* - name: Notify Madoguchi (Success) if: success() && github.event_name == 'push' diff --git a/.github/workflows/bootstrap.yml b/.github/workflows/bootstrap.yml index 43a790169a..df254d07e8 100644 --- a/.github/workflows/bootstrap.yml +++ b/.github/workflows/bootstrap.yml @@ -16,7 +16,7 @@ jobs: options: --cap-add=SYS_ADMIN --privileged steps: - name: Install repositories - run: dnf5 install -y --setopt=install_weak_deps=False mock curl wget git-core openssl-devel-engine cargo podman fuse-overlayfs + run: dnf5 install -y --setopt=install_weak_deps=False mock curl wget git-core openssl-devel cargo podman fuse-overlayfs - name: Install Anda run: cargo install anda diff --git a/.github/workflows/update-branch.yml b/.github/workflows/update-branch.yml new file mode 100644 index 0000000000..13153d3439 --- /dev/null +++ b/.github/workflows/update-branch.yml @@ -0,0 +1,54 @@ +name: Update per branch +on: + schedule: + - cron: "*/30 * * * *" + workflow_dispatch: + +jobs: + autoupdate: + runs-on: ubuntu-latest + strategy: + matrix: + branch: + - frawhide + - f40 + - f41 + - el10 + container: + image: ghcr.io/terrapkg/builder:frawhide + options: --cap-add=SYS_ADMIN --privileged + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + ref: ${{ matrix.branch }} + fetch-depth: 0 + ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }} + + - name: Install SSH signing key & Set up git repository + run: | + mkdir -p ${{ runner.temp }} + echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key + chmod 0700 ${{ runner.temp }}/signing_key + git config --global --add safe.directory "$GITHUB_WORKSPACE" + + - name: Run Update + run: | + nbranch="${{ matrix.branch }}" + [ "$nbranch" = 'frawhide' ] && nbranch='f42' + anda update -vv --filters updbranch=1 --labels branch=${{ matrix.branch }},nbranch=$nbranch + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + RUST_BACKTRACE: full + + - name: Save + run: | + if [[ `git status --porcelain` ]]; then + git config user.name "Raboneko" + git config user.email "raboneko@fyralabs.com" + git config gpg.format "ssh" + git config user.signingkey "${{ runner.temp }}/signing_key" + msg="bump(branch): $(git status | grep modified | sed -r 's@.+/([^/]+)/[^/]+\n?@\1 @g' | tr -d '\n')" + git commit -S -a -m "$msg" + git push -u origin --all + fi diff --git a/.github/workflows/update-comps.yml b/.github/workflows/update-comps.yml index d889f19f38..98eb90e5df 100644 --- a/.github/workflows/update-comps.yml +++ b/.github/workflows/update-comps.yml @@ -6,6 +6,7 @@ on: - frawhide - f41 - f40 + - el10 paths: - comps.xml workflow_dispatch: diff --git a/.github/workflows/update-nightly.yml b/.github/workflows/update-nightly.yml index 3496031287..104af60f41 100644 --- a/.github/workflows/update-nightly.yml +++ b/.github/workflows/update-nightly.yml @@ -25,9 +25,10 @@ jobs: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: Run Nightly Update - run: anda update -vv --filters nightly=1 + run: anda update -v --filters nightly=1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + RUST_BACKTRACE: full - name: Save run: | @@ -38,15 +39,15 @@ jobs: git config user.signingkey "${{ runner.temp }}/signing_key" msg="bump(nightly): $(git status | grep modified | sed -r 's@.+/([^/]+)/[^/]+\n?@\1 @g' | tr -d '\n')" git commit -S -a -m "$msg" + git format-patch HEAD^ copy_over () { - git format-patch HEAD^ git checkout $1 git apply *.patch || true - rm *.patch - git add * + git add anda git commit -S -a -m "$msg" } - copy_over f39 || true copy_over f40 || true + copy_over f41 || true + copy_over el10 || true git push -u origin --all fi diff --git a/.github/workflows/update-weekly.yml b/.github/workflows/update-weekly.yml new file mode 100644 index 0000000000..46e41cb713 --- /dev/null +++ b/.github/workflows/update-weekly.yml @@ -0,0 +1,53 @@ +name: Weekly Update +on: + schedule: + - cron: "0 0 * * 0" + workflow_dispatch: + +jobs: + autoupdate: + runs-on: ubuntu-latest + container: + image: ghcr.io/terrapkg/builder:frawhide + options: --cap-add=SYS_ADMIN --privileged + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }} + + - name: Install SSH signing key & Set up git repository + run: | + mkdir -p ${{ runner.temp }} + echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key + chmod 0700 ${{ runner.temp }}/signing_key + git config --global --add safe.directory "$GITHUB_WORKSPACE" + + - name: Run Weekly Update + run: anda update -v --filters weekly=1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + RUST_BACKTRACE: full + + - name: Save + run: | + if [[ `git status --porcelain` ]]; then + git config user.name "Raboneko" + git config user.email "raboneko@fyralabs.com" + git config gpg.format "ssh" + git config user.signingkey "${{ runner.temp }}/signing_key" + msg="bump(weekly): $(git status | grep modified | sed -r 's@.+/([^/]+)/[^/]+\n?@\1 @g' | tr -d '\n')" + git commit -S -a -m "$msg" + git format-patch HEAD^ + copy_over () { + git checkout $1 + git apply *.patch || true + git add anda + git commit -S -a -m "$msg" + } + copy_over f40 || true + copy_over f41 || true + copy_over el10 || true + git push -u origin --all + fi diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index a17a985c17..d87a3fbc57 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -25,7 +25,7 @@ jobs: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: Run Update - run: anda update -vv --filters nightly=0 + run: anda update -v --excludes nightly=1 --excludes weekly=1 --excludes updbranch=1 env: GITHUB_TOKEN: ${{ secrets.AUTOUPDATE_GH_TOKEN }} RUST_BACKTRACE: full @@ -39,15 +39,15 @@ jobs: git config user.signingkey "${{ runner.temp }}/signing_key" msg="bump: $(git status | grep modified | sed -r 's@.+/([^/]+)/[^/]+\n?@\1 @g' | tr -d '\n')" git commit -S -a -m "$msg" + git format-patch HEAD^ copy_over () { - git format-patch HEAD^ git checkout $1 git apply *.patch || true - rm *.patch - git add * + git add anda git commit -S -a -m "$msg" } - copy_over f39 || true copy_over f40 || true + copy_over f41 || true + copy_over el10 || true git push -u origin --all fi diff --git a/anda/apps/anki-qt5/anki-qt5.spec b/anda/apps/anki-qt5/anki-qt5.spec index 4b6992eed3..93bc644dad 100644 --- a/anda/apps/anki-qt5/anki-qt5.spec +++ b/anda/apps/anki-qt5/anki-qt5.spec @@ -1,5 +1,5 @@ Name: anki-qt5 -Version: 24.06.3 +Version: 24.11 Release: 1%?dist Summary: Flashcard program for using space repetition learning License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5 diff --git a/anda/apps/anki/anki.spec b/anda/apps/anki/anki.spec index 2c55d93e9a..70d60641d5 100644 --- a/anda/apps/anki/anki.spec +++ b/anda/apps/anki/anki.spec @@ -1,6 +1,6 @@ Name: anki -Version: 24.06.3 -Release: 2%?dist +Version: 24.11 +Release: 1%?dist Summary: Flashcard program for using space repetition learning License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5 URL: https://apps.ankiweb.net/ diff --git a/anda/apps/discord-canary-openasar/discord-canary-openasar.spec b/anda/apps/discord-canary-openasar/discord-canary-openasar.spec index bb781f3f87..64cc77a467 100644 --- a/anda/apps/discord-canary-openasar/discord-canary-openasar.spec +++ b/anda/apps/discord-canary-openasar/discord-canary-openasar.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: discord-canary-openasar -Version: 0.0.540 +Version: 0.0.546 Release: 1%?dist Summary: A snappier Discord rewrite with features like further customization and theming License: MIT AND https://discord.com/terms diff --git a/anda/apps/discord-canary-openasar/update.rhai b/anda/apps/discord-canary-openasar/update.rhai index d96b864947..6e1acb4a20 100644 --- a/anda/apps/discord-canary-openasar/update.rhai +++ b/anda/apps/discord-canary-openasar/update.rhai @@ -1,3 +1 @@ -let html = get("https://discordapp.com/api/download/canary?platform=linux&format=tar.gz"); -let newver = find("https://dl-canary\\.discordapp\\.net/apps/linux/([\\.\\d]+)/", html, 1); -rpm.version(newver); +rpm.version(get("https://discord.com/api/canary/updates?platform=linux").json().name); diff --git a/anda/apps/discord-canary/discord-canary.spec b/anda/apps/discord-canary/discord-canary.spec index cc9f2b06e9..b8bfc90d2e 100644 --- a/anda/apps/discord-canary/discord-canary.spec +++ b/anda/apps/discord-canary/discord-canary.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: discord-canary -Version: 0.0.540 +Version: 0.0.546 Release: 1%?dist Summary: Free Voice and Text Chat for Gamers URL: discord.com diff --git a/anda/apps/discord-canary/update.rhai b/anda/apps/discord-canary/update.rhai index d96b864947..6e1acb4a20 100644 --- a/anda/apps/discord-canary/update.rhai +++ b/anda/apps/discord-canary/update.rhai @@ -1,3 +1 @@ -let html = get("https://discordapp.com/api/download/canary?platform=linux&format=tar.gz"); -let newver = find("https://dl-canary\\.discordapp\\.net/apps/linux/([\\.\\d]+)/", html, 1); -rpm.version(newver); +rpm.version(get("https://discord.com/api/canary/updates?platform=linux").json().name); diff --git a/anda/apps/discord-openasar/update.rhai b/anda/apps/discord-openasar/update.rhai index cabf84bbc9..308265df4b 100644 --- a/anda/apps/discord-openasar/update.rhai +++ b/anda/apps/discord-openasar/update.rhai @@ -1,3 +1 @@ -let html = get("https://discordapp.com/api/download?platform=linux&format=tar.gz"); -let newver = find("https://dl\\.discordapp\\.net/apps/linux/([\\.\\d]+)/", html, 1); -rpm.version(newver); +rpm.version(get("https://discord.com/api/stable/updates?platform=linux").json().name); diff --git a/anda/apps/discord-ptb-openasar/update.rhai b/anda/apps/discord-ptb-openasar/update.rhai index 32e9b4a735..366238f22b 100644 --- a/anda/apps/discord-ptb-openasar/update.rhai +++ b/anda/apps/discord-ptb-openasar/update.rhai @@ -1,3 +1 @@ -let html = get("https://discordapp.com/api/download/ptb?platform=linux&format=tar.gz"); -let newver = find("https://dl-ptb\\.discordapp\\.net/apps/linux/([\\.\\d]+)/", html, 1); -rpm.version(newver); +rpm.version(get("https://discord.com/api/ptb/updates?platform=linux").json().name); diff --git a/anda/apps/discord-ptb/update.rhai b/anda/apps/discord-ptb/update.rhai index 32e9b4a735..366238f22b 100644 --- a/anda/apps/discord-ptb/update.rhai +++ b/anda/apps/discord-ptb/update.rhai @@ -1,3 +1 @@ -let html = get("https://discordapp.com/api/download/ptb?platform=linux&format=tar.gz"); -let newver = find("https://dl-ptb\\.discordapp\\.net/apps/linux/([\\.\\d]+)/", html, 1); -rpm.version(newver); +rpm.version(get("https://discord.com/api/ptb/updates?platform=linux").json().name); diff --git a/anda/apps/discord/update.rhai b/anda/apps/discord/update.rhai index cabf84bbc9..308265df4b 100644 --- a/anda/apps/discord/update.rhai +++ b/anda/apps/discord/update.rhai @@ -1,3 +1 @@ -let html = get("https://discordapp.com/api/download?platform=linux&format=tar.gz"); -let newver = find("https://dl\\.discordapp\\.net/apps/linux/([\\.\\d]+)/", html, 1); -rpm.version(newver); +rpm.version(get("https://discord.com/api/stable/updates?platform=linux").json().name); diff --git a/anda/apps/legcord-bin/legcord-bin.spec b/anda/apps/legcord-bin/legcord-bin.spec index 20d016db38..503c6f854d 100644 --- a/anda/apps/legcord-bin/legcord-bin.spec +++ b/anda/apps/legcord-bin/legcord-bin.spec @@ -14,8 +14,8 @@ %global __provides_exclude_from %{_datadir}/(armcord|legcord)/.*\\.so Name: legcord-bin -Version: 1.0.2 -Release: 4%?dist +Version: 1.0.5 +Release: 1%?dist License: OSL-3.0 Summary: Custom lightweight Discord client designed to enhance your experience URL: https://github.com/LegCord/LegCord diff --git a/anda/apps/legcord/legcord-bin/legcord-bin.spec b/anda/apps/legcord/legcord-bin/legcord-bin.spec index 62e844b9d9..3a36c12f77 100644 --- a/anda/apps/legcord/legcord-bin/legcord-bin.spec +++ b/anda/apps/legcord/legcord-bin/legcord-bin.spec @@ -14,7 +14,7 @@ %global __provides_exclude_from %{_datadir}/(armcord|legcord)/.*\\.so Name: legcord-bin -Version: 1.0.4 +Version: 1.0.5 Release: 1%?dist License: OSL-3.0 Summary: Custom lightweight Discord client designed to enhance your experience diff --git a/anda/apps/legcord/nightly/legcord-nightly.spec b/anda/apps/legcord/nightly/legcord-nightly.spec index ab9b770ef7..695f68688e 100644 --- a/anda/apps/legcord/nightly/legcord-nightly.spec +++ b/anda/apps/legcord/nightly/legcord-nightly.spec @@ -1,5 +1,5 @@ -%global commit 8eaf0854c6fcf38bd0d1e6f58a51c48fa67b078e -%global commit_date 20241130 +%global commit 6888db743d73a8cd7fd2b5d035e7025c09148912 +%global commit_date 20241213 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %define debug_package %nil diff --git a/anda/apps/legcord/stable/legcord.spec b/anda/apps/legcord/stable/legcord.spec index 3465cb83b7..e673607643 100644 --- a/anda/apps/legcord/stable/legcord.spec +++ b/anda/apps/legcord/stable/legcord.spec @@ -5,8 +5,8 @@ %global __provides_exclude_from %{_datadir}/(armcord|legcord)/.*\\.so Name: legcord -Version: 1.0.2 -Release: 3%?dist +Version: 1.0.5 +Release: 1%?dist License: OSL-3.0 Summary: Custom lightweight Discord client designed to enhance your experience URL: https://github.com/LegCord/LegCord diff --git a/anda/apps/mpv/mpv-nightly.spec b/anda/apps/mpv/mpv-nightly.spec index 25ec86b60a..e344298679 100644 --- a/anda/apps/mpv/mpv-nightly.spec +++ b/anda/apps/mpv/mpv-nightly.spec @@ -1,6 +1,6 @@ -%global commit 5897b66454aab8b846aac00f5854e534ee47dea4 +%global commit e52f975842196e1581299312b9c160aa16c81d04 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20241212 +%global commit_date 20241214 %global ver 0.39.0 Name: mpv-nightly diff --git a/anda/apps/ruffle/ruffle-nightly.spec b/anda/apps/ruffle/ruffle-nightly.spec index 286cb8b9df..d3d038f71a 100644 --- a/anda/apps/ruffle/ruffle-nightly.spec +++ b/anda/apps/ruffle/ruffle-nightly.spec @@ -1,4 +1,4 @@ -%global ver 2024-12-09 +%global ver 2024-12-14 %global goodver %(echo %ver | sed 's/-//g') %global __brp_mangle_shebangs %{nil} %bcond_without mold diff --git a/anda/devs/flow/flow-control-nightly.spec b/anda/devs/flow/flow-control-nightly.spec index 24f2a39374..1a663929d7 100644 --- a/anda/devs/flow/flow-control-nightly.spec +++ b/anda/devs/flow/flow-control-nightly.spec @@ -1,6 +1,6 @@ -%global commit ba65fece7e00b686ada8e918ba9c35fbd7d27cf6 +%global commit c83d9387ef3058ffb25ac5cf8a700cbeb9a2d430 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20241212 +%global commit_date 20241214 Name: flow-control-nightly Version: %commit_date.%shortcommit diff --git a/anda/devs/zed/nightly/zed-nightly.spec b/anda/devs/zed/nightly/zed-nightly.spec index 4f0c20a310..d1b9cd8776 100644 --- a/anda/devs/zed/nightly/zed-nightly.spec +++ b/anda/devs/zed/nightly/zed-nightly.spec @@ -1,6 +1,6 @@ -%global commit 611abcadc0f82b56188dc439642d1f5fd35cd5bd +%global commit 901dbedf8d022ecb1d355d6aadd3aaeed198dc7d %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20241212 +%global commit_date 20241214 %global ver 0.167.0 %bcond_with check diff --git a/anda/langs/nim/nim-nightly/nim-nightly.spec b/anda/langs/nim/nim-nightly/nim-nightly.spec index b77b9f6bb4..acdaeabe8c 100644 --- a/anda/langs/nim/nim-nightly/nim-nightly.spec +++ b/anda/langs/nim/nim-nightly/nim-nightly.spec @@ -1,8 +1,8 @@ %global csrc_commit 561b417c65791cd8356b5f73620914ceff845d10 -%global commit 9bb7e53e7f56fe3ddaa69849ff663ad18858e038 +%global commit d31cce557bc800f61664b7b67faae3ef8d789505 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global ver 2.3.1 -%global commit_date 20241212 +%global commit_date 20241214 %global debug_package %nil Name: nim-nightly diff --git a/anda/lib/placebo/anda.hcl b/anda/lib/placebo/anda.hcl index 7943de4776..43b027d77c 100644 --- a/anda/lib/placebo/anda.hcl +++ b/anda/lib/placebo/anda.hcl @@ -2,7 +2,4 @@ project pkg { rpm { spec = "terra-libplacebo.spec" } - labels { - extra = 1 - } } diff --git a/anda/lib/tdlib/tdlib-nightly.spec b/anda/lib/tdlib/tdlib-nightly.spec index a87fb77f06..4571e176f4 100644 --- a/anda/lib/tdlib/tdlib-nightly.spec +++ b/anda/lib/tdlib/tdlib-nightly.spec @@ -1,4 +1,4 @@ -%global commit 437e7f9ab9696d186585f1d466dbdfbf93298804 +%global commit 53acb2b5343511432db5aa2091937c3d294c7faa %global ver 1.8.41 %global commit_date 20240219 %global shortcommit %(c=%{commit}; echo ${c:0:7}) diff --git a/anda/tools/arduino-cli/anda.hcl b/anda/tools/arduino-cli/anda.hcl new file mode 100644 index 0000000000..ab0607cc02 --- /dev/null +++ b/anda/tools/arduino-cli/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "arduino-cli.spec" + } +} \ No newline at end of file diff --git a/anda/tools/arduino-cli/arduino-cli.spec b/anda/tools/arduino-cli/arduino-cli.spec new file mode 100644 index 0000000000..58efdb8b9b --- /dev/null +++ b/anda/tools/arduino-cli/arduino-cli.spec @@ -0,0 +1,35 @@ +%define _build_shell /bin/bash +%define debug_package %nil + +Name: arduino-cli +Version: 1.1.1 +Release: 1%?dist +Summary: Arduino command line tool. +License: GPLv3 +Packager: Owen Zimmerman +Url: https://github.com/arduino/arduino-cli +Source0: %url/archive/refs/tags/v%version.tar.gz +BuildRequires: golang git go-rpm-macros anda-srpm-macros + +%description +%summary + +%prep +%autosetup -n arduino-cli-%version + +%build +mkdir -p bin +%go_build_online + +%install +mkdir -p %{buildroot}%{_bindir} +install -Dm 755 build/bin/arduino-cli %buildroot%{_bindir}/arduino-cli + +%files +%license LICENSE.txt +%doc README.md +%{_bindir}/arduino-cli + +%changelog +* Thu Dec 5 2024 Owen Zimmerman +- Package arduino-cli \ No newline at end of file diff --git a/anda/tools/arduino-cli/update.rhai b/anda/tools/arduino-cli/update.rhai new file mode 100644 index 0000000000..edeca6ebd8 --- /dev/null +++ b/anda/tools/arduino-cli/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("arduino/arduino-cli")); \ No newline at end of file diff --git a/anda/tools/cbfstool/update.rhai b/anda/tools/cbfstool/update.rhai index 97ba221d82..7e27695ddc 100644 --- a/anda/tools/cbfstool/update.rhai +++ b/anda/tools/cbfstool/update.rhai @@ -1 +1 @@ -rpm.version(gh("coreboot/coreboot")); \ No newline at end of file +rpm.version(gh_tag("coreboot/coreboot")); diff --git a/anda/tools/keyd/keyd.spec b/anda/tools/keyd/keyd.spec index 5442f524af..2c3380e6bf 100644 --- a/anda/tools/keyd/keyd.spec +++ b/anda/tools/keyd/keyd.spec @@ -1,6 +1,6 @@ Name: keyd Version: 2.4.3 -Release: 4%?dist +Release: 1%?dist Summary: Key remapping daemon for linux URL: https://github.com/rvaiya/keyd License: MIT diff --git a/anda/tools/rpi-utils/rpi-utils.spec b/anda/tools/rpi-utils/rpi-utils.spec index e73368806c..1709010e43 100644 --- a/anda/tools/rpi-utils/rpi-utils.spec +++ b/anda/tools/rpi-utils/rpi-utils.spec @@ -1,5 +1,5 @@ -%global commit bf273698a9c16c07abc6d54827d976e73eb87e41 -%global commit_date 20241212 +%global commit 9d884c7ed214cc6aad5f498b53a1253e177239fd +%global commit_date 20241213 %global shortcommit %(c=%{commit}; echo ${C:0:7}) Name: rpi-utils diff --git a/anda/tools/yt-dlp/yt-dlp-nightly.spec b/anda/tools/yt-dlp/yt-dlp-nightly.spec index 2f92a5ce26..a41017665a 100644 --- a/anda/tools/yt-dlp/yt-dlp-nightly.spec +++ b/anda/tools/yt-dlp/yt-dlp-nightly.spec @@ -1,8 +1,8 @@ #bcond_without tests -%global commit 00dcde728635633eee969ad4d498b9f233c4a94e +%global commit 2037a6414f81db8080ca724dca506fde91974c5d %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20241128 -%global ver 2024.11.18 +%global commit_date 20241214 +%global ver 2024.12.13 Name: yt-dlp-nightly Version: %commit_date.git~%shortcommit