public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/amanda] rawhide: Use _sbindir instead of hardcoding /usr/bin
@ 2026-06-12 14:54 Jason Tibbitts
  0 siblings, 0 replies; only message in thread
From: Jason Tibbitts @ 2026-06-12 14:54 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/amanda
            Branch : rawhide
            Commit : 2dcaffb92603e50f346c9df0d732dd0ee903a9e4
            Author : Jason Tibbitts <j@tib.bs>
            Date   : 2026-06-12T09:39:25-05:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/amanda/c/2dcaffb92603e50f346c9df0d732dd0ee903a9e4?branch=rawhide

            Log:
            Use _sbindir instead of hardcoding /usr/bin

This supports compatibility with RHEL10, which doesn't appear to have
done the merge.

---
diff --git a/amanda.spec b/amanda.spec
index 84d53de..a0af631 100644
--- a/amanda.spec
+++ b/amanda.spec
@@ -209,7 +209,7 @@ popd
 rm -rf $RPM_BUILD_ROOT/usr/share/amanda
 find $RPM_BUILD_ROOT -name \*.la | xargs rm
 
-pushd $RPM_BUILD_ROOT/usr/bin
+pushd $RPM_BUILD_ROOT/%_sbindir
 rm amandad
 ln -s ../%_lib/amanda/amandad
 popd

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-12 14:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-12 14:54 [rpms/amanda] rawhide: Use _sbindir instead of hardcoding /usr/bin Jason Tibbitts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox