Skip to content

Commit 6ee8bba

Browse files
committed
[RPMs]: tuned profiles get installed into /usr/lib not /usr/lib64
This reverts ba6df48 on top of additional changes on this branch
1 parent c11cb47 commit 6ee8bba

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

openshift.spec

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ mkdir -p %{buildroot}%{_sharedstatedir}/%{name}
124124

125125
ln -s %{_bindir}/openshift %{buildroot}%{_bindir}/osc
126126

127-
install -d -m 0755 %{buildroot}%{_libdir}/tuned/openshift-node-{guest,host}
128-
install -m 0644 tuned/openshift-node-guest/tuned.conf %{buildroot}%{_libdir}/tuned/openshift-node-guest/
129-
install -m 0644 tuned/openshift-node-host/tuned.conf %{buildroot}%{_libdir}/tuned/openshift-node-host/
127+
install -d -m 0755 %{buildroot}%{_prefix}/lib/tuned/openshift-node-{guest,host}
128+
install -m 0644 tuned/openshift-node-guest/tuned.conf %{buildroot}%{_prefix}/lib/tuned/openshift-node-guest/
129+
install -m 0644 tuned/openshift-node-host/tuned.conf %{buildroot}%{_prefix}/lib/tuned/openshift-node-host/
130130
install -d -m 0755 %{buildroot}%{_mandir}/man7
131131
install -m 0644 tuned/man/tuned-profiles-openshift-node.7 %{buildroot}%{_mandir}/man7/tuned-profiles-openshift-node.7
132132

@@ -169,8 +169,8 @@ install -m 0644 tuned/man/tuned-profiles-openshift-node.7 %{buildroot}%{_mandir}
169169

170170
%files -n tuned-profiles-openshift-node
171171
%defattr(-,root,root,-)
172-
%{_libdir}/tuned/openshift-node-host
173-
%{_libdir}/tuned/openshift-node-guest
172+
%{_prefix}/lib/tuned/openshift-node-host
173+
%{_prefix}/lib/tuned/openshift-node-guest
174174
%{_mandir}/man7/tuned-profiles-openshift-node.7*
175175

176176
%post -n tuned-profiles-openshift-node

0 commit comments

Comments
 (0)