!13 【轻量级 PR】:fix format in smp_utils.spec.

From: @cossbow 
Reviewed-by: @liubo254 
Signed-off-by: @liubo254
This commit is contained in:
openeuler-ci-bot 2024-08-01 02:50:01 +00:00 committed by Gitee
commit 09f081da28
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: smp_utils Name: smp_utils
Version: 0.99 Version: 0.99
Release: 3 Release: 4
Summary: Utilities for SAS management protocol (SMP) Summary: Utilities for SAS management protocol (SMP)
License: BSD License: BSD
URL: http://sg.danny.cz/sg/smp_utils.html URL: http://sg.danny.cz/sg/smp_utils.html
@ -22,7 +22,6 @@ easy to port to other operating systems.
Warning: These utilities access SAS expanders (storage switches) and Warning: These utilities access SAS expanders (storage switches) and
the incorrect usage of them may render your system and others inoperable. the incorrect usage of them may render your system and others inoperable.
%package devel %package devel
Summary: Static library and header files for the smputils library Summary: Static library and header files for the smputils library
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
@ -49,13 +48,11 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?smp_mflags} CFLAGS="%{optflags} -DSMP_UTILS_LINUX" make %{?smp_mflags} CFLAGS="%{optflags} -DSMP_UTILS_LINUX"
%install %install
make install \ make install \
PREFIX=%{_prefix} \ PREFIX=%{_prefix} \
DESTDIR=%{buildroot} DESTDIR=%{buildroot}
%files %files
%doc ChangeLog COVERAGE CREDITS README %doc ChangeLog COVERAGE CREDITS README
%license COPYING %license COPYING
@ -70,8 +67,10 @@ make install \
%files help %files help
%{_mandir}/man8/* %{_mandir}/man8/*
%changelog %changelog
* Wed Jul 31 2024 JiangJianJun <jiangjianjun3@huawei.com> - 0.99-4
- DESC: fix spec format
* Wed Oct 19 2022 Kunlin Yang <yangkunlin7@huawei.com> - 0.99-3 * Wed Oct 19 2022 Kunlin Yang <yangkunlin7@huawei.com> - 0.99-3
- rebuild the version to 0.99-3 - rebuild the version to 0.99-3