From e5121c3fb411fb6cf4b512c6c551f21a49fcc57a Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Sat, 28 Oct 2023 13:18:15 +0530 Subject: [PATCH] fix versioning --- orangepi-5-plus-rk3588.spec | 3 ++- orangepi-5-rk3588s.spec | 3 ++- package.inc | 6 +++--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/orangepi-5-plus-rk3588.spec b/orangepi-5-plus-rk3588.spec index 0027f8b..bfc2ccb 100644 --- a/orangepi-5-plus-rk3588.spec +++ b/orangepi-5-plus-rk3588.spec @@ -4,7 +4,8 @@ %global extern_rkbin true %global rkbin_git_commit b4558da0860ca48bf1a571dd33ccba580b9abe23 +%global non_standard_release master + Source1: package.inc -Source2: release-master.inc Source3: https://github.com/rockchip-linux/rkbin/archive/%{rkbin_git_commit}.tar.gz %include %{SOURCE1} diff --git a/orangepi-5-rk3588s.spec b/orangepi-5-rk3588s.spec index f7eb84f..c0d9f82 100644 --- a/orangepi-5-rk3588s.spec +++ b/orangepi-5-rk3588s.spec @@ -4,7 +4,8 @@ %global extern_rkbin true %global rkbin_git_commit b4558da0860ca48bf1a571dd33ccba580b9abe23 +%global non_standard_release master + Source1: package.inc -Source2: release-master.inc Source3: https://github.com/rockchip-linux/rkbin/archive/%{rkbin_git_commit}.tar.gz %include %{SOURCE1} diff --git a/package.inc b/package.inc index 342e2f4..89ef178 100644 --- a/package.inc +++ b/package.inc @@ -3,11 +3,11 @@ # also disable packaging files in '/usr/lib/.build-id/' %define _build_id_links none -%if "%{SOURCE2}" == "" +%if "%{?non_standard_release}" == "" Source2: release-stable.inc +%else +Source2: release-%{non_standard_release}.inc %endif -#Source2: release-rc.inc -#Source2: release-master.inc %include %{SOURCE2} Name: uboot-%{board_name}-tfg