optimized CMakeList and change permission for hikptool
modify the rule for file cmd and change tool permission to 4555 Signed-off-by: veega2022 <zhuweijia@huawei.com>
This commit is contained in:
parent
9b1607419b
commit
999e26b3b7
Binary file not shown.
@ -3,7 +3,7 @@
|
|||||||
Name: hikptool
|
Name: hikptool
|
||||||
Summary: A userspace tool for Linux providing problem location on Kunpeng chips
|
Summary: A userspace tool for Linux providing problem location on Kunpeng chips
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 3
|
Release: 4
|
||||||
License: MulanPSL2
|
License: MulanPSL2
|
||||||
Source: %{name}-%{version}.tar.gz
|
Source: %{name}-%{version}.tar.gz
|
||||||
ExclusiveOS: linux
|
ExclusiveOS: linux
|
||||||
@ -40,11 +40,10 @@ install -b -m755 ./build/libhikptdev/src/rciep/libhikptdev.so.1.0.0 ${RPM_BUILD_
|
|||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(755,root,root)
|
|
||||||
/usr/lib64/libhikptdev.so.1
|
/usr/lib64/libhikptdev.so.1
|
||||||
/usr/lib64/libhikptdev.so
|
/usr/lib64/libhikptdev.so
|
||||||
/usr/lib64/libhikptdev.so.1.0.0
|
%attr(550,root,root) /usr/lib64/libhikptdev.so.1.0.0
|
||||||
/usr/bin/hikptool
|
%attr(4550,root,root) /usr/bin/hikptool
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
if [ "$1" = "2" ] ; then #2: update
|
if [ "$1" = "2" ] ; then #2: update
|
||||||
@ -68,6 +67,9 @@ fi
|
|||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 16 2022 veega2022 <zhuweijia@huawei.com> 1.0.0-4
|
||||||
|
- change the hikptool permission to 4550
|
||||||
|
|
||||||
* Fri Oct 28 2022 veega2022 <zhuweijia@huawei.com> 1.0.0-3
|
* Fri Oct 28 2022 veega2022 <zhuweijia@huawei.com> 1.0.0-3
|
||||||
- Add sas/sata features source code
|
- Add sas/sata features source code
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user