diff --git a/Remove-unused-include.patch b/Remove-unused-include.patch new file mode 100644 index 0000000000000000000000000000000000000000..e4d0c305e43cef9f711bc99ff35dec2bb1a7f9af --- /dev/null +++ b/Remove-unused-include.patch @@ -0,0 +1,29 @@ +From bb593860a719d962d339ef0c278c780e6a743d2d Mon Sep 17 00:00:00 2001 +From: Markus Lehtonen +Date: Mon, 28 May 2018 17:53:01 +0300 +Subject: [PATCH] Remove unused include + +Makes intel-cmt-cat more portable. + +Change-Id: I2b4dad9bde0de371928d4e1e499bdf8060f9a35d +--- + lib/log.c | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/lib/log.c b/lib/log.c +index 9c21de2..7195ee7 100644 +--- a/lib/log.c ++++ b/lib/log.c +@@ -41,9 +41,6 @@ + #include + #include + #include +-#ifdef __linux__ +-#include +-#endif /* __linux__ */ + #include + + #include "types.h" +-- +2.27.0 + diff --git a/intel-cmt-cat.spec b/intel-cmt-cat.spec index c108bd7d08314eeaef9cc5ce13440e5e0c7609eb..815c71f8483c1f600a5082abe278fe1b50a9c704 100644 --- a/intel-cmt-cat.spec +++ b/intel-cmt-cat.spec @@ -3,11 +3,12 @@ Name: intel-cmt-cat Summary: B support for Intel(R) Resource Director Technology(Intel(R) RDT) Version: 2.0.0 -Release: 4 +Release: 6 License: BSD URL: https://github.com/01org/%{name} Source: https://github.com/01org/%{name}/archive/v%{version}.tar.gz Patch0: Issue-79-updated-pqos-and-rdtset-examples-to-correct.patch +Patch1: Remove-unused-include.patch ExclusiveArch: x86_64 i686 i586 BuildRequires: gcc make @@ -119,8 +120,15 @@ install -m 0644 %{_builddir}/%{name}-%{version}/examples/c/CMT_MBM/monitor_app.c %{_mandir}/man8/rdtset.8.gz %changelog +* Wed Dec 27 2023 fandehui - 2.0.0-6 +- Fix patch:"Remove-unused-include.patch" Not patched + +* Thu Oct 26 2023 fandehui - 2.0.0-5 +- Remove unused include + Makes intel-cmt-cat more portable. + * Fri Oct 20 2023 fandehui - 2.0.0-4 -- updated pqos and rdtset examples to correct man syntax +- updated pqos and rdtset examples to correct man syntax * Tue Dec 10 2019 openEuler Buildteam - 2.0.0-3 - Package init