fix versioning

This commit is contained in:
Pratham Patel 2023-10-28 13:18:15 +05:30
parent 47aefc2f46
commit e5121c3fb4
No known key found for this signature in database
3 changed files with 7 additions and 5 deletions

View File

@ -4,7 +4,8 @@
%global extern_rkbin true %global extern_rkbin true
%global rkbin_git_commit b4558da0860ca48bf1a571dd33ccba580b9abe23 %global rkbin_git_commit b4558da0860ca48bf1a571dd33ccba580b9abe23
%global non_standard_release master
Source1: package.inc Source1: package.inc
Source2: release-master.inc
Source3: https://github.com/rockchip-linux/rkbin/archive/%{rkbin_git_commit}.tar.gz Source3: https://github.com/rockchip-linux/rkbin/archive/%{rkbin_git_commit}.tar.gz
%include %{SOURCE1} %include %{SOURCE1}

View File

@ -4,7 +4,8 @@
%global extern_rkbin true %global extern_rkbin true
%global rkbin_git_commit b4558da0860ca48bf1a571dd33ccba580b9abe23 %global rkbin_git_commit b4558da0860ca48bf1a571dd33ccba580b9abe23
%global non_standard_release master
Source1: package.inc Source1: package.inc
Source2: release-master.inc
Source3: https://github.com/rockchip-linux/rkbin/archive/%{rkbin_git_commit}.tar.gz Source3: https://github.com/rockchip-linux/rkbin/archive/%{rkbin_git_commit}.tar.gz
%include %{SOURCE1} %include %{SOURCE1}

View File

@ -3,11 +3,11 @@
# also disable packaging files in '/usr/lib/.build-id/' # also disable packaging files in '/usr/lib/.build-id/'
%define _build_id_links none %define _build_id_links none
%if "%{SOURCE2}" == "" %if "%{?non_standard_release}" == ""
Source2: release-stable.inc Source2: release-stable.inc
%else
Source2: release-%{non_standard_release}.inc
%endif %endif
#Source2: release-rc.inc
#Source2: release-master.inc
%include %{SOURCE2} %include %{SOURCE2}
Name: uboot-%{board_name}-tfg Name: uboot-%{board_name}-tfg