Skip to content

Commit 208dfcb

Browse files
authored
fix(ivsc-firmware): Macro and date (#4212)
* fix(spec): Macro and date Signed-off-by: Gilver <[email protected]> * fix(anda.hcl): Needs to be nightly for an accurate date Signed-off-by: Gilver <[email protected]> --------- Signed-off-by: Gilver <[email protected]>
1 parent 99fbe85 commit 208dfcb

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

anda/system/ivsc-firmware/anda.hcl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,4 @@ project pkg {
33
rpm {
44
spec = "ivsc-firmware.spec"
55
}
6-
labels {
7-
weekly = 1
8-
}
96
}

anda/system/ivsc-firmware/ivsc-firmware.spec

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
%global debug_package %{nil}
22
%global commit 3377801f46b86e03c464bfb03ca3c486e9b0db00
3-
%global commitdate 20230811
3+
%global commit_date 20250326
44
%global shortcommit %(c=%{commit}; echo ${c:0:7})
55

66
Name: ivsc-firmware
77
Summary: Intel iVSC firmware
88
URL: https://github.com/intel/ivsc-firmware
9-
Version: %{commitdate}.%{shortcommit}
9+
Version: 0^%{commit_date}git.%{shortcommit}
1010
Release: 1%?dist
1111
License: Proprietary
1212
Source0: https://github.com/intel/%{name}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
1313
Requires: ipu6-camera-bins
14+
# Fix the stupid issue when changing versioning schemes
15+
%if 0%{?fedora} <= 43 || 0%{?rhel} <= 10
16+
Provides: %{name} = %{commit_date}.%{shortcommit}
17+
%endif
1418
ExclusiveArch: x86_64
1519

1620
%description

anda/system/ivsc-firmware/update.rhai

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)