diff --git a/prefetch_tuning-1.0.tar.gz b/prefetch_tuning-1.0.tar.gz deleted file mode 100644 index 43f5565..0000000 Binary files a/prefetch_tuning-1.0.tar.gz and /dev/null differ diff --git a/prefetch_tuning.spec b/prefetch_tuning.spec index c7d206d..0018977 100644 --- a/prefetch_tuning.spec +++ b/prefetch_tuning.spec @@ -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 - 1.1-1 +- upgrade to v1.1 + * Thu Aug 6 2020 hanxinke - 1.0-3 - Fix the prefetch_tuning.ko loading diff --git a/v1.1.tar.gz b/v1.1.tar.gz new file mode 100644 index 0000000..4c55799 Binary files /dev/null and b/v1.1.tar.gz differ