generated from demus/python3-rpm-template
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
76aca60ec8 | ||
|
|
e3b2127e1d | ||
|
|
23a3ca4057 |
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user