Skip to contentSkip to conversation

spec: testsuite: weakly pull in kernel-uek-tools to get perf

PATCH In review Nick Alcock 2 participants 2 messages Jan 20 – Jan 27

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spec: testsuite: weakly pull in kernel-uek-tools to get perf

This prevents yum/dnf from pulling in the first kernel it finds, which is often entirely wrong.

(This is obviously only applicable to OL and no other distro.)

Orabug: 38064413

---
 dtrace.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
dtrace.spec +2 -1
index 4b20dc4088595..9fb9f1f8f30dd 100644
@@ -115,7 +115,8 @@ Requires:     %{name}-devel = %{version}-%{release} perl gcc java
 Requires:     java-devel perl-IO-Socket-IP perl-Net-Ping xfsprogs
 Requires:     exportfs vim-minimal %{name}%{?_isa} = %{version}-%{release}
 Requires:     coreutils wireshark %{glibc32}
-Requires:     perf time bc nfs-utils
+Requires:     time bc nfs-utils
+Suggests:     kernel-uek-tools
 Autoreq:      0
 Group:	      Development/System
 

base-commit: 6e94c7d0a253806f85c39ff5f4e32a800d4cb6b6
prerequisite-patch-id: 531b3b91cb7c41bb13c03b50038a80e76bd7b093

Signature · 1 line
2.52.0.285.g44a719c714.dirty
Reviewed-by on v1 1/1
#1 lore raw

Horrible that we need to do it this way, but anyway...

Quoted 31 lines · Nick Alcock

This prevents yum/dnf from pulling in the first kernel it finds, which is often entirely wrong.

(This is obviously only applicable to OL and no other distro.)

Orabug: 38064413

---
 dtrace.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
dtrace.spec +2 -1
index 4b20dc4088595..9fb9f1f8f30dd 100644
@@ -115,7 +115,8 @@ Requires:     %{name}-devel = %{version}-%{release} perl gcc java
 Requires:     java-devel perl-IO-Socket-IP perl-Net-Ping xfsprogs
 Requires:     exportfs vim-minimal %{name}%{?_isa} = %{version}-%{release}
 Requires:     coreutils wireshark %{glibc32}
-Requires:     perf time bc nfs-utils
+Requires:     time bc nfs-utils
+Suggests:     kernel-uek-tools
 Autoreq:      0
 Group:	      Development/System
 

base-commit: 6e94c7d0a253806f85c39ff5f4e32a800d4cb6b6
prerequisite-patch-id: 531b3b91cb7c41bb13c03b50038a80e76bd7b093

Signature · 1 line
2.52.0.285.g44a719c714.dirty