Re: bin-sbin merge case of packages which install to hardcoded $DESTDIR/usr/sbin

2025-02-04 Thread Richard W.M. Jones
On Tue, Feb 04, 2025 at 02:54:30PM +, Sérgio Basto via devel wrote: > Hi, > In this case: "packages which install to hardcoded $DESTDIR/usr/sbin, > but then use %{_sbindir} in %files, will need to be adjusted." > > I did this [1] after the make install, is that correct ? > > [1] > %if "%{_

Re: bin-sbin merge case of packages which install to hardcoded $DESTDIR/usr/sbin

2025-02-04 Thread Daniel P . Berrangé
On Tue, Feb 04, 2025 at 02:54:30PM +, Sérgio Basto via devel wrote: > Hi, > In this case: "packages which install to hardcoded $DESTDIR/usr/sbin, > but then use %{_sbindir} in %files, will need to be adjusted." > > I did this [1] after the make install, is that correct ? > > [1] > %if "%{_

bin-sbin merge case of packages which install to hardcoded $DESTDIR/usr/sbin

2025-02-04 Thread Sérgio Basto via devel
Hi, In this case: "packages which install to hardcoded $DESTDIR/usr/sbin, but then use %{_sbindir} in %files, will need to be adjusted." I did this [1] after the make install, is that correct ? [1] %if "%{_sbindir}" == "%{_bindir}" mkdir -p %{buildroot}%{_bindir} mv %{buildroot}/usr/