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
This commit is contained in:
2026-04-05 13:23:54 +02:00
parent 23a3ca4057
commit e3b2127e1d
+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.0
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