Re: rawhide %{_buildrootdir} not expanded

2024-06-08 Thread Michal Schorm
for the record: It seems there are only a few packages using it: https://sourcegraph.com/search?q=context:global+repo:%5Esrc.fedoraproject.org/+%25%7B_buildrootdir%7D&patternType=regexp&sm=0 -- Michal Schorm Software Engineer Core Services - Databases Team Red Hat -- On Tue, Jun 4, 2024 at 8:12

Re: rawhide %{_buildrootdir} not expanded

2024-06-03 Thread Panu Matilainen
On 6/3/24 17:18, Eike Rathke wrote: Hi Panu, On Monday, 2024-06-03 15:55:09 +0300, Panu Matilainen wrote: %{_buildrootdir} is nothing packages should be referring to, in any circumstance really. It's a potentially shared directory among arbitrary packages (in the traditional it's ~/rpmbuild/BU

Re: rawhide %{_buildrootdir} not expanded

2024-06-03 Thread Eike Rathke
Hi, On Monday, 2024-06-03 16:28:24 +0200, Reindl Harald (privat) wrote: > Am 03.06.24 um 16:18 schrieb Eike Rathke: > > So using %{buildroot} instead of %{_buildrootdir} would be an actual > > replacement? > > you should have used %{buildroot} or $RPM_BUILD_ROOT forever > https://docs.fedoraproj

Re: rawhide %{_buildrootdir} not expanded

2024-06-03 Thread Eike Rathke
Hi Panu, On Monday, 2024-06-03 15:55:09 +0300, Panu Matilainen wrote: > %{_buildrootdir} is nothing packages should be referring to, in any > circumstance really. It's a potentially shared directory among arbitrary > packages (in the traditional it's ~/rpmbuild/BUILDROOT/ ) and putting > anything

Re: rawhide %{_buildrootdir} not expanded

2024-06-03 Thread Panu Matilainen
On 6/3/24 15:55, Panu Matilainen wrote: On 6/3/24 15:22, Eike Rathke wrote: Hi, what did recently change in rawhide that the %{_buildrootdir} macro isn't expanded as in + mkdir '%{_buildrootdir}/bin' mkdir: cannot create directory ‘%{_buildrootdir}/bin’: No such file or directory + : + cp /b

Re: rawhide %{_buildrootdir} not expanded

2024-06-03 Thread Panu Matilainen
On 6/3/24 15:22, Eike Rathke wrote: Hi, what did recently change in rawhide that the %{_buildrootdir} macro isn't expanded as in + mkdir '%{_buildrootdir}/bin' mkdir: cannot create directory ‘%{_buildrootdir}/bin’: No such file or directory + : + cp /builddir/build/SOURCES/node-stdout-nonblocki

Re: rawhide %{_buildrootdir} not expanded

2024-06-03 Thread Dan Horák
On Mon, 3 Jun 2024 14:22:37 +0200 Eike Rathke wrote: > Hi, > > what did recently change in rawhide that the %{_buildrootdir} macro > isn't expanded as in new rpm landed? But shouldn't %{buildroot} be used instead of %{_buildrootdir} anyway? Dan > + mkdir '%{_buildrootdir}/bi

rawhide %{_buildrootdir} not expanded

2024-06-03 Thread Eike Rathke
Hi, what did recently change in rawhide that the %{_buildrootdir} macro isn't expanded as in + mkdir '%{_buildrootdir}/bin' mkdir: cannot create directory ‘%{_buildrootdir}/bin’: No such file or directory + : + cp /builddir/build/SOURCES/node-stdout-nonblocking-wrapper '%{_buildrootdir}/bin' cp: