fix format in smp_utils.spec.

https://gitee.com/src-openeuler/smp_utils/issues/IAGVUG

Signed-off-by: 客串一回 <cossbow@qq.com>
(cherry picked from commit 3d24bd2de7511cf5426c7cbad5dfb9ecca0018c8)
This commit is contained in:
客串一回 2024-07-31 10:11:42 +00:00 committed by openeuler-sync-bot
parent 21c35f45da
commit a635a169d9

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