public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/intel-cmt-cat] rawhide: Update to 26.06 (rhbz#2447338)
@ 2026-07-31 9:08 Ali Erdinc Koroglu
0 siblings, 0 replies; only message in thread
From: Ali Erdinc Koroglu @ 2026-07-31 9:08 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/intel-cmt-cat
Branch : rawhide
Commit : bdd89b900df9117d80bcf0103e38ff020a777d40
Author : Ali Erdinc Koroglu <ali.koroglu@oss.qualcomm.com>
Date : 2026-07-31T12:07:55+03:00
Stats : +103/-76 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/intel-cmt-cat/c/bdd89b900df9117d80bcf0103e38ff020a777d40?branch=rawhide
Log:
Update to 26.06 (rhbz#2447338)
---
diff --git a/0001-alter-install-paths.patch b/0001-alter-install-paths.patch
deleted file mode 100644
index c73671d..0000000
--- a/0001-alter-install-paths.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-Description: Workaround environment variable settings
- Add environment to be set by packaging
-Forwarded: not-needed
-Author: Raghavan Kanagaraj <raghavan.kanagaraj@intel.com>
-
-Index: intel-cmt-cat-26.06/lib/Makefile
-===================================================================
---- intel-cmt-cat-26.06.orig/lib/Makefile
-+++ intel-cmt-cat-26.06/lib/Makefile
-@@ -121,10 +121,10 @@ endif
-
- HDR = pqos.h
- PREFIX ?= /usr/local
--LIB_INSTALL_DIR ?= $(PREFIX)/lib
--HDR_DIR ?= $(PREFIX)/include
-+LIB_INSTALL_DIR ?= $(DESTDIR)/usr/lib64
-+HDR_DIR ?= $(DESTDIR)/usr/include
- DEPFILE = $(LIB).dep
--NOLDCONFIG ?= n
-+NOLDCONFIG ?= y
-
- all: $(LIBNAME)
-
-Index: intel-cmt-cat-26.06/pqos/Makefile
-===================================================================
---- intel-cmt-cat-26.06.orig/pqos/Makefile
-+++ intel-cmt-cat-26.06/pqos/Makefile
-@@ -96,8 +96,8 @@ MAN = pqos.8
-
- # XXX: modify as desired
- PREFIX ?= /usr/local
--BIN_DIR = $(PREFIX)/bin
--MAN_DIR = $(PREFIX)/man/man8
-+BIN_DIR = $(DESTDIR)/usr/sbin
-+MAN_DIR = $(DESTDIR)/usr/share/man/man8
-
- SRCS = $(sort $(wildcard *.c))
- OBJS = $(addprefix $(OBJDIR)/,$(SRCS:.c=.o))
-Index: intel-cmt-cat-24.05/rdtset/Makefile
-===================================================================
---- intel-cmt-cat-26.06.orig/rdtset/Makefile
-+++ intel-cmt-cat-26.06/rdtset/Makefile
-@@ -97,8 +97,8 @@ MAN = rdtset.8
-
- # XXX: modify as desired
- PREFIX ?= /usr/local
--BIN_DIR = $(PREFIX)/bin
--MAN_DIR = $(PREFIX)/man/man8
-+BIN_DIR = $(DESTDIR)/usr/sbin
-+MAN_DIR = $(DESTDIR)/usr/share/man/man8
-
- SRCS = $(sort $(wildcard *.c))
- OBJS = $(SRCS:.c=.o)
-Index: intel-cmt-cat-26.06/tools/membw/Makefile
-===================================================================
---- intel-cmt-cat-26.06.orig/tools/membw/Makefile
-+++ intel-cmt-cat-26.06/tools/membw/Makefile
-@@ -41,8 +41,8 @@ MAN = membw.8
-
- # XXX: modify as desired
- PREFIX ?= /usr/local
--BIN_DIR = $(PREFIX)/bin
--MAN_DIR = $(PREFIX)/man/man8
-+BIN_DIR = $(DESTDIR)/usr/sbin
-+MAN_DIR = $(DESTDIR)/usr/share/man/man8
-
- CFLAGS=-W -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes \
- -Wmissing-declarations -Wold-style-definition -Wpointer-arith \
diff --git a/0001-buildflags.patch b/0001-buildflags.patch
new file mode 100644
index 0000000..ac9567b
--- /dev/null
+++ b/0001-buildflags.patch
@@ -0,0 +1,44 @@
+Author: Colin Ian King <colin.i.king@gmail.com>
+Description: Hard code in hardening options
+
+diff -Naurp intel-cmt-cat.orig/lib/Makefile intel-cmt-cat/lib/Makefile
+--- intel-cmt-cat.orig/lib/Makefile
++++ intel-cmt-cat/lib/Makefile
+@@ -39,8 +39,8 @@ LIB = libpqos
+ VERSION = 7.1.0
+ SO_VERSION = 7
+ SHARED ?= y
+-LDFLAGS = -L. -lpthread -z noexecstack -z relro -z now
+-CFLAGS = -pthread -I./ -D_GNU_SOURCE \
++LDFLAGS += -L. -lpthread -z noexecstack -z relro -z now
++CFLAGS += -pthread -I./ -D_GNU_SOURCE \
+ -W -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes \
+ -Wmissing-declarations -Wold-style-definition -Wpointer-arith \
+ -Wcast-qual -Wundef -Wwrite-strings \
+diff -Naurp intel-cmt-cat.orig/pqos/Makefile intel-cmt-cat/pqos/Makefile
+--- intel-cmt-cat.orig/pqos/Makefile
++++ intel-cmt-cat/pqos/Makefile
+@@ -38,9 +38,9 @@ include ../pre-build.mk
+
+ OBJDIR = obj
+ LIBDIR ?= ../lib
+-LDFLAGS = -L$(LIBDIR) -pie -z noexecstack -z relro -z now
++LDFLAGS += -L$(LIBDIR) -pie -z noexecstack -z relro -z now
+ LDLIBS = -lpqos -lpthread
+-CFLAGS = -I$(LIBDIR) \
++CFLAGS += -I$(LIBDIR) \
+ -W -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes \
+ -Wmissing-declarations -Wold-style-definition -Wpointer-arith \
+ -Wcast-qual -Wundef -Wwrite-strings \
+diff -Naurp intel-cmt-cat.orig/tools/membw/Makefile intel-cmt-cat/tools/membw/Makefile
+--- intel-cmt-cat.orig/tools/membw/Makefile
++++ intel-cmt-cat/tools/membw/Makefile
+@@ -44,7 +44,7 @@ PREFIX ?= /usr/local
+ BIN_DIR = $(PREFIX)/bin
+ MAN_DIR = $(PREFIX)/man/man8
+
+-CFLAGS=-W -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes \
++CFLAGS += -W -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes \
+ -Wmissing-declarations -Wold-style-definition -Wpointer-arith \
+ -Wcast-qual -Wundef -Wwrite-strings \
+ -Wformat -Wformat-security -fstack-protector-strong -fPIE \
diff --git a/0002-destdir.patch b/0002-destdir.patch
new file mode 100644
index 0000000..13e29cd
--- /dev/null
+++ b/0002-destdir.patch
@@ -0,0 +1,49 @@
+Author: Colin Ian King <colin.i.king@gmail.com>
+Description: Workaround environment variable settings
+ Add environment to be set by packaging
+
+diff -Naurp intel-cmt-cat.orig/lib/Makefile intel-cmt-cat/lib/Makefile
+--- intel-cmt-cat.orig/lib/Makefile
++++ intel-cmt-cat/lib/Makefile
+@@ -126,10 +126,10 @@ endif
+
+ HDR = pqos.h
+ PREFIX ?= /usr/local
+-LIB_INSTALL_DIR ?= $(PREFIX)/lib
+-HDR_DIR ?= $(PREFIX)/include
++LIB_INSTALL_DIR ?= $(DESTDIR)/usr/lib64
++HDR_DIR ?= $(DESTDIR)/usr/include
+ DEPFILE = $(LIB).dep
+-NOLDCONFIG ?= n
++NOLDCONFIG ?= y
+
+ all: $(LIBNAME)
+
+diff -Naurp intel-cmt-cat.orig/pqos/Makefile intel-cmt-cat/pqos/Makefile
+--- intel-cmt-cat.orig/pqos/Makefile
++++ intel-cmt-cat/pqos/Makefile
+@@ -96,8 +96,8 @@ MAN = pqos.8
+
+ # XXX: modify as desired
+ PREFIX ?= /usr/local
+-BIN_DIR = $(PREFIX)/bin
+-MAN_DIR = $(PREFIX)/man/man8
++BIN_DIR = $(DESTDIR)/usr/sbin
++MAN_DIR = $(DESTDIR)/usr/share/man/man8
+
+ SRCS = $(sort $(wildcard *.c))
+ OBJS = $(addprefix $(OBJDIR)/,$(SRCS:.c=.o))
+diff -Naurp intel-cmt-cat.orig/tools/membw/Makefile intel-cmt-cat/tools/membw/Makefile
+--- intel-cmt-cat.orig/tools/membw/Makefile
++++ intel-cmt-cat/tools/membw/Makefile
+@@ -41,8 +41,8 @@ MAN = membw.8
+
+ # XXX: modify as desired
+ PREFIX ?= /usr/local
+-BIN_DIR = $(PREFIX)/bin
+-MAN_DIR = $(PREFIX)/man/man8
++BIN_DIR = $(DESTDIR)/usr/bin
++MAN_DIR = $(DESTDIR)/usr/share/man/man8
+
+ CFLAGS += -W -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes \
+ -Wmissing-declarations -Wold-style-definition -Wpointer-arith \
diff --git a/intel-cmt-cat.spec b/intel-cmt-cat.spec
index 2e71e88..53826ae 100644
--- a/intel-cmt-cat.spec
+++ b/intel-cmt-cat.spec
@@ -1,4 +1,4 @@
-%global libpqos_ver 7.0.0
+%global libpqos_ver 7.1.0
%global desc %{expand: \
This package provides basic support for Intel Resource Director Technology
including, Cache Monitoring Technology (CMT), Memory Bandwidth Monitoring
@@ -6,17 +6,18 @@ including, Cache Monitoring Technology (CMT), Memory Bandwidth Monitoring
(CDP) and Memory Bandwidth Allocation (MBA).}
Name: intel-cmt-cat
-Version: 26.03
-Release: 2%{?dist}
+Version: 26.06
+Release: 1%{?dist}
Summary: Intel cache monitoring and allocation technology config tool
License: BSD-3-Clause
URL: https://github.com/intel/intel-cmt-cat
Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
-Patch0: 0001-alter-install-paths.patch
+Patch0: 0001-buildflags.patch
+Patch1: 0002-destdir.patch
-ExclusiveArch: x86_64
+ExclusiveArch: %{x86_64}
BuildRequires: gcc
BuildRequires: make
@@ -50,20 +51,21 @@ Development files.
%{_sbindir}/pqos
%{_sbindir}/pqos-msr
%{_sbindir}/pqos-os
-%{_sbindir}/rdtset
%{_libdir}/libpqos.so.7
%{_libdir}/libpqos.so.%{libpqos_ver}
%{_mandir}/man8/membw.8*
%{_mandir}/man8/pqos.8*
%{_mandir}/man8/pqos-msr.8*
%{_mandir}/man8/pqos-os.8*
-%{_mandir}/man8/rdtset.8*
%files -n %{name}-devel
%{_includedir}/pqos.h
%{_libdir}/libpqos.so
%changelog
+* Fri Jul 31 2026 Ali Erdinc Koroglu <aekoroglu@fedoraproject.org> - 26.06-1
+- Update to 26.06 (rhbz#2447338)
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 26.03-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/sources b/sources
index c58621a..3fe8bdc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (intel-cmt-cat-26.03.tar.gz) = 8e1c78f336a26afe46437f9f792e386f512f25e5e20474c608ef8a4187c9851f52b03964cff475f3d0b24f6a42783aa2aa5322424baaff5f41401f3341e3e684
+SHA512 (intel-cmt-cat-26.06.tar.gz) = 1b644a84229275bc8665b5913f098f22d60108784608e699e21998d59d63f4fddbb988f0115e0b67abe5052acfbc817ccb1a2c61a925698a27299771b6b4e4f4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-31 9:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-31 9:08 [rpms/intel-cmt-cat] rawhide: Update to 26.06 (rhbz#2447338) Ali Erdinc Koroglu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox