From aee0bcdd56131d150eb13e079ae7be40e88d8e06 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 15 2022 06:24:53 +0000 Subject: import realtime-setup-2.2-6.el9 --- diff --git a/SOURCES/remove-strip-of-realtime-entsk-and-generate-debuginf.patch b/SOURCES/remove-strip-of-realtime-entsk-and-generate-debuginf.patch new file mode 100644 index 0000000..00a540c --- /dev/null +++ b/SOURCES/remove-strip-of-realtime-entsk-and-generate-debuginf.patch @@ -0,0 +1,49 @@ +From 9fce13856a7c4dbd55fed37edd9d5a8102bd98de Mon Sep 17 00:00:00 2001 +From: Clark Williams +Date: Wed, 11 May 2022 16:28:46 -0500 +Subject: [PATCH] remove strip of realtime-entsk and generate debuginfo + +Resolves: rhbz#2068534 + +Removed '-s' argument to install to prevent stripping of realtime-entsk +Removed %global definition of debug_package to '%{nil}' that explicitly +turned off debuginfo generation + +Signed-off-by: Clark Williams +--- + Makefile | 2 +- + realtime-setup.spec | 5 ----- + 2 files changed, 1 insertion(+), 6 deletions(-) + +diff --git a/Makefile b/Makefile +index f4a6f030c8a2..8e8a74d1e5d0 100644 +--- a/Makefile ++++ b/Makefile +@@ -55,7 +55,7 @@ install: + install -m 755 -D realtime-setup.systemd $(DEST)/usr/bin/realtime-setup + install -m 644 -D realtime.conf $(DEST)/etc/security/limits.d/realtime.conf + install -m 644 -D realtime-entsk.service $(DEST)/usr/lib/systemd/system/realtime-entsk.service +- install -m 755 -D -s realtime-entsk $(DEST)/usr/sbin/realtime-entsk ++ install -m 755 -D realtime-entsk $(DEST)/usr/sbin/realtime-entsk + install -m 644 -D realtime-setup.service $(DEST)/usr/lib/systemd/system/realtime-setup.service + + dist-git: tarball +diff --git a/realtime-setup.spec b/realtime-setup.spec +index 64c3f3a3fa52..402f66de24bf 100644 +--- a/realtime-setup.spec ++++ b/realtime-setup.spec +@@ -18,11 +18,6 @@ Requires: tuned + Requires: tuned-profiles-realtime + Requires: systemd + +-# disable generation of debuginfo packages for this package +-# the only executable from this package is realtime-entsk and it's not really +-# something that requires debugging. +-%global debug_package %{nil} +- + %description + Configure details useful for low-latency environments. + +-- +2.36.1 + diff --git a/SPECS/realtime-setup.spec b/SPECS/realtime-setup.spec index 96387ec..ff5abdb 100644 --- a/SPECS/realtime-setup.spec +++ b/SPECS/realtime-setup.spec @@ -1,6 +1,6 @@ Name: realtime-setup Version: 2.2 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2 Summary: Setup RT/low-latency environment details Source0: https://jcwillia.fedorapeople.org/realtime-setup-%{version}.tar.bz2 @@ -18,10 +18,9 @@ Requires: tuned Requires: tuned-profiles-realtime Requires: systemd -# disable generation of debuginfo packages for this package -# the only executable from this package is realtime-entsk and it's not really -# something that requires debugging. -%global debug_package %{nil} +# Patches +Patch1: remove-strip-of-realtime-entsk-and-generate-debuginf.patch + %description Configure details useful for low-latency environments. @@ -47,6 +46,7 @@ Neither the slub script or realtime-entsk are active by default. %prep %setup -q +%patch1 -p1 %build @@ -74,6 +74,10 @@ Neither the slub script or realtime-entsk are active by default. %license gpl-2.0.txt %changelog +* Thu May 19 2022 John Kacur - 2.2-6 +- Remove '-s' argument to install to prevent stripping of realtime-entsk +Resolves: rhbz#2068534 + * Mon Jan 17 2022 John Kacur - 2.2-5 - Rebuild for rhel-9.0 Resolves: rhbz#2041542