!5 upgrade to v1.1

Merge pull request !5 from 谢志鹏/master
This commit is contained in:
openeuler-ci-bot 2020-09-07 15:29:49 +08:00 committed by Gitee
commit e488d37b8b
3 changed files with 7 additions and 6 deletions

Binary file not shown.

View File

@ -2,10 +2,10 @@
Name : prefetch_tuning
Summary : CPU prefetch tuning module for Kunpeng 920
Version : 1.0
Release : 3
Version : 1.1
Release : 1
License : GPLv2
Source0 : %{kmod_name}-%{version}.tar.gz
Source0 : https://gitee.com/openeuler/prefetch_tuning/repository/archive/v%{version}.tar.gz
buildroot : %{_tmppath}/%{kmod_name}-%{version}-build
BuildRequires: make
@ -19,7 +19,7 @@ Users can user this module to control CPU prefetch settings.
%global debug_package %{nil}
%prep
%setup -n %{kmod_name}-%{version}
%setup -n %{kmod_name}
sed -i 's/EXTRA_CFLAGS += -Wall -Werror/EXTRA_CFLAGS += -Wall/g' Makefile
%build
@ -42,12 +42,13 @@ rm -rf %_builddir/%{kmod_name}-%{version}
%pre
%posttrans
insmod /lib/modules/%{kmod_name}/%{kmod_name}.ko
%preun
rmmod prefetch_tuning
%changelog
* Mon Sep 7 2020 Zhipeng Xie <xiezhipeng1@huawei.com> - 1.1-1
- upgrade to v1.1
* Thu Aug 6 2020 hanxinke <hanxinke@huawei.com> - 1.0-3
- Fix the prefetch_tuning.ko loading

BIN
v1.1.tar.gz Normal file

Binary file not shown.