Re: flat SPECS available!

2009-05-03 Thread Tomasz Pala
On Wed, Apr 29, 2009 at 12:55:40 +0200, Mariusz Mazur wrote: > I just did a server-side read-only SPECS that's full of symlinks to > the ../packages spec files. I've also added a small monitoring script that > will rename/delete/ It would be nice if there were Attic subdirectory for deleted sym

Re: topdir macro

2009-05-03 Thread Jeff Johnson
On May 3, 2009, at 6:26 AM, Elan Ruusamäe wrote: > why not have such default macros: > > %_topdir%{expand:%%global _topdir %(d=$([ -d ../../ > packages ] && (cd ../.. && pwd)); d=${d:-$([ -d ../packages ] && > (cd ..; pwd))}; echo ${d:-$HOME/rpm})}%_topdir > %_specdir %{_topdir}/

Re: topdir macro

2009-05-03 Thread Jan Rekorajski
On Sun, 03 May 2009, Elan Ruusamäe wrote: > why not have such default macros: > > %_topdir%{expand:%%global _topdir %(d=$([ -d ../../packages ] && (cd > ../.. && pwd)); d=${d:-$([ -d ../packages ] && (cd ..; pwd))}; echo > ${d:-$HOME/rpm})}%_topdir > %_specdir %{_topdir}/packages/

Re: topdir macro

2009-05-03 Thread Arkadiusz Miskiewicz
On Sunday 03 of May 2009, Elan Ruusamäe wrote: > why not have such default macros: > > %_topdir%{expand:%%global _topdir %(d=$([ -d ../../packages ] && > (cd ../.. && pwd)); d=${d:-$([ -d ../packages ] && (cd ..; pwd))}; echo > ${d:-$HOME/rpm})}%_topdir %_specdir %{_topdir}/packages/%

topdir macro

2009-05-03 Thread Elan Ruusamäe
why not have such default macros: %_topdir%{expand:%%global _topdir %(d=$([ -d ../../packages ] && (cd ../.. && pwd)); d=${d:-$([ -d ../packages ] && (cd ..; pwd))}; echo ${d:-$HOME/rpm})}%_topdir %_specdir %{_topdir}/packages/%{name} %_sourcedir %{_specdir} the %{name} seems