From c8e0a7392c2720e184427cf45e459615b1e705aa Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Wed, 18 Dec 2024 11:34:20 +0100 Subject: [PATCH] Use /usr/sbin directory Resolves: RHEL-70749 Signed-off-by: Jaroslav Kysela --- fxload.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/fxload.spec b/fxload.spec index 298bf45..5090633 100644 --- a/fxload.spec +++ b/fxload.spec @@ -1,6 +1,6 @@ Name: fxload Version: 2008_10_13 -Release: 29%{?dist} +Release: 30%{?dist} Summary: A helper program to download firmware into FX and FX2 EZ-USB devices License: GPL-2.0-or-later @@ -36,18 +36,21 @@ appears on the bus. %{make_build} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS -pie" %install -mkdir -p -m 755 %{buildroot}/sbin -install -m 755 fxload %{buildroot}/sbin +mkdir -p -m 755 %{buildroot}/usr/sbin +install -m 755 fxload %{buildroot}/usr/sbin mkdir -p -m 755 %{buildroot}/%{_mandir}/man8/ install -m 644 fxload.8 %{buildroot}/%{_mandir}/man8/ %files %doc COPYING %doc README.txt -%attr(0755, root, root) /sbin/fxload +%attr(0755, root, root) /usr/sbin/fxload %{_mandir}/*/* %changelog +* Wed Dec 18 2024 Jaroslav Kysela - 2008_10_13-30 +- use /usr/sbin directory + * Tue Oct 29 2024 Troy Dawson - 2008_10_13-29 - Bump release for October 2024 mass rebuild: Resolves: RHEL-64018