forked from open-edge-platform/edge-microvisor-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathedge-repos.spec
More file actions
103 lines (76 loc) · 2.88 KB
/
edge-repos.spec
File metadata and controls
103 lines (76 loc) · 2.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
Summary: Edge Microvisor Toolkit repo files, gpg keys
Name: edge-repos
Version: 26.06
Release: 1%{?dist}
License: MIT
Vendor: Intel Corporation
Distribution: Edge Microvisor Toolkit
Group: System Environment/Base
URL: https://github.com/open-edge-platform/edge-microvisor-toolkit
Source0: INTEL-RPM-GPG-KEY
Source1: edge-base.repo
Source2: edge-next.repo
Requires: %{name}-shared = %{version}-%{release}
BuildArch: noarch
%description
Edge Microvisor Toolkit repo files and gpg keys
%package next
Summary: Development and Experimental repo file.
Group: System Environment/Base
Requires: %{name}-next = %{version}-%{release}
%description next
%{summary}
%package shared
Summary: Directories and files needed by all %{name} configurations.
Group: System Environment/Base
Requires(post): gpgme
Requires(preun): gpgme
%description shared
%{summary}
%install
export REPO_DIRECTORY="%{buildroot}%{_sysconfdir}/yum.repos.d"
install -d -m 755 $REPO_DIRECTORY
install -m 644 %{SOURCE1} $REPO_DIRECTORY
install -m 644 %{SOURCE2} $REPO_DIRECTORY
export RPM_GPG_DIRECTORY="%{buildroot}%{_sysconfdir}/pki/rpm-gpg"
install -d -m 755 $RPM_GPG_DIRECTORY
install -m 644 %{SOURCE0} $RPM_GPG_DIRECTORY
%posttrans shared
gpg --import %{_sysconfdir}/pki/rpm-gpg/INTEL-RPM-GPG-KEY
%preun shared
# Remove the INTEL-RPM-GPG-KEY
gpg --batch --yes --delete-keys 84910237BDFAAD16C4F9D44411FF864ABDCE8692
%files
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/yum.repos.d/edge-base.repo
%files next
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/yum.repos.d/edge-next.repo
%files shared
%dir %{_sysconfdir}/yum.repos.d
%{_sysconfdir}/pki/rpm-gpg/INTEL-RPM-GPG-KEY
%changelog
* Mon Mar 30 2026 Lee Chee Yang <chee.yang.lee@intel.com> - 26.06-1
- split repos to 26.06 and next.
* Fri Dec 5 2025 Lishan Liu <lishan.liu@intel.com> - 3.0-8
- Change repo priority
* Mon Oct 14 2025 Lishan Liu <lishan.liu@intel.com> - 3.0-7
- Update repo URL to add RS repo link
* Mon Oct 13 2025 Lishan Liu <lishan.liu@intel.com> - 3.0-6
- Update repo URL to add internel test next repo
* Mon Oct 06 2025 Lishan Liu <lishan.liu@intel.com> - 3.0-5
- Update repo URL
* Mon Apr 21 2025 Mun Chun Yep <mun.chun.yep@intel.com> - 3.0-4
- Update Intel rpm gpg key and repo URL.
- License verified
* Wed Mar 12 2025 Mun Chun Yep <mun.chun.yep@intel.com> - 3.0-3
- Update Intel gpg key.
- update URL.
* Wed Feb 26 2025 Mun Chun Yep <mun.chun.yep@intel.com> - 3.0-2
- Replace Intel gpg key and enable gpgcheck.
* Thu Dec 19 2024 Chee Yang Lee <chee.yang.lee@intel.com> - 3.0-1
- bump version.
* Wed Dec 18 2024 Mun Chun Yep <mun.chun.yep@intel.com> - 1.0-2
- Update URL to Edge Microvisor Toolkit repository.
* Mon Jul 29 2024 Naveen Saini <naveen.kumar.saini@intel.com> - 2.0-1
- Original version for Edge Microvisor Toolkit.