rename %rpmversion to %version, to fix build failure
fixed #I9103J Signed-off-by: chenyanpanX <chenyanpan@xfusion.com> (cherry picked from commit 2f2dfd6e47beb7f4e98e7a003d4dc10ca97bc746)
This commit is contained in:
parent
7a781ba60f
commit
58ef623567
@ -6,15 +6,15 @@
|
||||
#
|
||||
|
||||
%define kmod_name sysmonitor
|
||||
%define rpmversion 1.3.2
|
||||
%define releaseversion 1.2
|
||||
%define version 1.3.2
|
||||
%define releaseversion 1.3
|
||||
Summary: System Monitor Daemon
|
||||
Name: %{kmod_name}-kmod
|
||||
Version: %{rpmversion}
|
||||
Version: %{version}
|
||||
Release: %{releaseversion}
|
||||
License: GPLv2 and Mulan PSL v2
|
||||
Group: System Environment/Daemons
|
||||
Source0: %{kmod_name}-%{rpmversion}.tar.bz2
|
||||
Source0: %{kmod_name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_builddir}/%{kmod_name}-root
|
||||
BuildRequires: libboundscheck
|
||||
Requires: systemd
|
||||
@ -41,7 +41,7 @@ Patch1: bugfix-fix-signal-monitor-err.patch
|
||||
System Monitor Daemon
|
||||
|
||||
%prep
|
||||
%autosetup -n %{kmod_name}-%{rpmversion} -p1
|
||||
%autosetup -n %{kmod_name}-%{version} -p1
|
||||
|
||||
%build
|
||||
cmake .
|
||||
@ -53,8 +53,8 @@ strip -g sysmonitor.ko
|
||||
%install
|
||||
#export BRP_PESIGN_FILES="*.ko"
|
||||
|
||||
dos2unix %_builddir/%{kmod_name}-%{rpmversion}/script/iomonitor_daemon
|
||||
dos2unix %_builddir/%{kmod_name}-%{rpmversion}/conf/io_monitor
|
||||
dos2unix %_builddir/%{kmod_name}-%{version}/script/iomonitor_daemon
|
||||
dos2unix %_builddir/%{kmod_name}-%{version}/conf/io_monitor
|
||||
|
||||
mkdir -p %{buildroot}/usr/sbin/
|
||||
mkdir -p %{buildroot}/etc/sysmonitor.d/
|
||||
@ -170,6 +170,11 @@ systemctl daemon-reload 2>/dev/null 1>/dev/null
|
||||
/usr/lib/systemd/system/multi-user.target.wants/sysmonitor.service
|
||||
|
||||
%changelog
|
||||
* Sun Feb 04 2024 ChenYanpan <chenyanpan@xfusion.com> - 1.3.2-1.3
|
||||
- Type:bugfix
|
||||
- CVE:NA
|
||||
- DESC:rename %rpmversion to %version, to fix build failure
|
||||
|
||||
* Tue Nov 28 2023 xietangxin<xietangxin@huawei.com> - 1.3.2-1.2
|
||||
- Type:bugfix
|
||||
- CVE:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user