3 Commits
Author SHA1 Message Date
demus 76aca60ec8 Upgrade to systemd package 0.2.1
Build and provide rpm of huami-token / Start build on COPR (f43) (release) Successful in 4m13s
Build and provide rpm of huami-token / Start build on COPR (f44) (release) Successful in 3m44s
Build and provide rpm of huami-token / Start build on COPR (rawhide) (release) Successful in 3m42s
Add section header to generated drop-in
2026-04-05 13:51:31 +02:00
demus e3b2127e1d Upgrade to systemd package version 0.2.0
Build and provide rpm of huami-token / Start build on COPR (f43) (release) Successful in 4m15s
Build and provide rpm of huami-token / Start build on COPR (f44) (release) Successful in 4m0s
Build and provide rpm of huami-token / Start build on COPR (rawhide) (release) Successful in 4m7s
Change versioning scheme to include systemd package version
2026-04-05 13:23:54 +02:00
demus 23a3ca4057 Correct texts in workflows 2026-03-28 01:25:50 +01:00
5 changed files with 13 additions and 12 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
name: Build and provide rpm of gitea
run-name: Build gitea from ${{ gitea.repository }} on COPR
name: Build and provide rpm of huami-token
run-name: Build huami-token from ${{ gitea.repository }} on COPR
on:
workflow_dispatch:
inputs:
+2 -2
View File
@@ -1,5 +1,5 @@
name: Build and provide rpm of gitea
run-name: Build gitea from ${{ gitea.repository }} on COPR
name: Build and provide rpm of huami-token
run-name: Build huami-token from ${{ gitea.repository }} on COPR
on: [release]
jobs:
coprbuild:
+2 -2
View File
@@ -1,5 +1,5 @@
name: Build and provide rpm of demus profiles
run-name: Rpmbuild demus-profile at ${{ gitea.repository }} by ${{ github.actor }}
name: Build and provide rpm of huami-token
run-name: Rpmbuild huami-token at ${{ gitea.repository }} by ${{ github.actor }}
on:
workflow_dispatch:
inputs:
+2 -2
View File
@@ -1,5 +1,5 @@
name: Build and provide rpm of demus profiles
run-name: Rpmbuild demus-profile by @${{ github.actor }}
name: Build and provide rpm of huami-token
run-name: Rpmbuild huami-token by @${{ github.actor }}
on: [release]
jobs:
rpmbuild:
+5 -4
View File
@@ -1,17 +1,18 @@
%global pkgname huami-token
%global modname huami_token
%global systemd_helper_name huami-token-user-systemd
%global systemd_helper_version 0.1.1
%global huami_token_version 0.8.0
%global systemd_helper_version 0.2.1
Name: %{pkgname}
Version: 0.8.0
Version: %{huami_token_version}+%{systemd_helper_version}
Release: %autorelease
Summary: This script retrieves the Bluetooth access token for the watch or band from Huami servers. Additionally, it downloads the AGPS data packs, cep_alm_pak.zip and cep_7days.zip.
License: MIT
URL: https://codeberg.org/argrento/huami-token
Source0: https://git.demus.dk/api/v1/repos/demus/%{systemd_helper_name}/archive/%{systemd_helper_version}.tar.gz
Source1: %{pypi_source %{modname}}
Source1: %{pypi_source %{modname} %{huami_token_version}}
Patch0: 01-switch-to-pycrytodomex.patch
Patch1: 02-disable-tests-only-failing-on-COPR.patch
@@ -36,7 +37,7 @@ Additionally, it downloads the AGPS data packs, cep_alm_pak.zip and cep_7days.zi
%prep
%setup -T -D -b0 -n %{systemd_helper_name}
%patch -p1 1
%setup -T -D -b1 -n %{modname}-%{version}
%setup -T -D -b1 -n %{modname}-%{huami_token_version}
%patch -p1 0
%check