import CS realtime-setup-2.5-1.el9

This commit is contained in:
eabdullin 2024-09-30 16:30:35 +00:00
parent ea16d2bc4e
commit f14d1f76be
4 changed files with 14 additions and 59 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/realtime-setup-2.2.tar.bz2 SOURCES/realtime-setup-2.5.tar.bz2

View File

@ -1 +1 @@
9d09c9489468a250c6e7bae3ea840a0a12d54f79 SOURCES/realtime-setup-2.2.tar.bz2 3259594587a313c191a9958a3fe6399ee81ac81e SOURCES/realtime-setup-2.5.tar.bz2

View File

@ -1,49 +0,0 @@
From 9fce13856a7c4dbd55fed37edd9d5a8102bd98de Mon Sep 17 00:00:00 2001
From: Clark Williams <williams@redhat.com>
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 <williams@redhat.com>
---
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

View File

@ -1,6 +1,6 @@
Name: realtime-setup Name: realtime-setup
Version: 2.2 Version: 2.5
Release: 6%{?dist} Release: 1%{?dist}
License: GPLv2 License: GPLv2
Summary: Setup RT/low-latency environment details Summary: Setup RT/low-latency environment details
Source0: https://jcwillia.fedorapeople.org/realtime-setup-%{version}.tar.bz2 Source0: https://jcwillia.fedorapeople.org/realtime-setup-%{version}.tar.bz2
@ -18,10 +18,6 @@ Requires: tuned
Requires: tuned-profiles-realtime Requires: tuned-profiles-realtime
Requires: systemd Requires: systemd
# Patches
Patch1: remove-strip-of-realtime-entsk-and-generate-debuginf.patch
%description %description
Configure details useful for low-latency environments. Configure details useful for low-latency environments.
@ -46,8 +42,6 @@ Neither the slub script or realtime-entsk are active by default.
%prep %prep
%setup -q %setup -q
%patch1 -p1
%build %build
%make_build CFLAGS="%{build_cflags} -D_GNU_SOURCE" all %make_build CFLAGS="%{build_cflags} -D_GNU_SOURCE" all
@ -74,6 +68,16 @@ Neither the slub script or realtime-entsk are active by default.
%license gpl-2.0.txt %license gpl-2.0.txt
%changelog %changelog
* Tue Aug 13 2024 Clark Williams <williams@redhat.com> - 2.5-1
- remove strip of realtime-entsk and generate debuginfo
- ensure all files have valid SPDX license identifiers
- remove Red Hat Makefile targets and specfile
- Makefile cleanups and added .gitignore
- drop the 'v' in the version string for the tarball
- Makefile: add options for passing annocheck
- Bump version to 2.5
Resolves: RHEL-30179
* Thu May 19 2022 John Kacur <jkacur@redhat.com> - 2.2-6 * Thu May 19 2022 John Kacur <jkacur@redhat.com> - 2.2-6
- Remove '-s' argument to install to prevent stripping of realtime-entsk - Remove '-s' argument to install to prevent stripping of realtime-entsk
Resolves: rhbz#2068534 Resolves: rhbz#2068534