Re: how to keep rpmbuild directory clean

2011-06-17 Thread José Matos
On Friday 17 June 2011 20:03:53 Maxim Burgerhout wrote: > You can embed rpm macros, like %name, in your .rpmmacros file. That > way, you can create a directory per package containing SPECS, RPMS, > SRPMS, etc. directories. I use it like this (out of the back of my > head) I use the same scheme but

Re: how to keep rpmbuild directory clean

2011-06-17 Thread Marko Myllynen
Hi, >> And question is: how to keep my dir clean? :) Have you any method for >> this? > What works for me is 1) using the Fedora git setup for persistent > storage of the spec and patch storage, so that I don't depend on > anything in rpm's %_topdir, and 2) using (rpmbuild --rebuild > my.src.rpm),

Re: how to keep rpmbuild directory clean

2011-06-17 Thread Miloslav Trmač
2011/6/17 Jakub Jedelský : > And question is: how to keep my dir clean? :) Have you any method for > this? What works for me is 1) using the Fedora git setup for persistent storage of the spec and patch storage, so that I don't depend on anything in rpm's %_topdir, and 2) using (rpmbuild --rebuild

Re: how to keep rpmbuild directory clean

2011-06-17 Thread Maxim Burgerhout
It might very well work indeed, good point. It's one of those things that has been in my config files for quite some time and don't exactly know the history of anymore :-) On Jun 17, 2011 9:18 PM, "Jos Vos" wrote: > On Fri, Jun 17, 2011 at 09:03:53PM +0200, Maxim Burgerhout wrote: > >> You can emb

Re: how to keep rpmbuild directory clean

2011-06-17 Thread Jos Vos
On Fri, Jun 17, 2011 at 09:03:53PM +0200, Maxim Burgerhout wrote: > You can embed rpm macros, like %name, in your .rpmmacros file. That > way, you can create a directory per package containing SPECS, RPMS, > SRPMS, etc. directories. I use it like this (out of the back of my > head): > > %_topdir

Re: how to keep rpmbuild directory clean

2011-06-17 Thread Maxim Burgerhout
You can embed rpm macros, like %name, in your .rpmmacros file. That way, you can create a directory per package containing SPECS, RPMS, SRPMS, etc. directories. I use it like this (out of the back of my head): %_topdir /home/maxim/rpmbuild %_specdir /home/maxim/rpmbuild/%name/SPECS %_rpmdir /home/

Re: how to keep rpmbuild directory clean

2011-06-17 Thread Jos Vos
On Fri, Jun 17, 2011 at 07:57:37PM +0200, Jakub Jedelský wrote: > I've made some rpm packages (a special build for me or for company) > from time to time but recently I have a little problem with my > rpmbuild directory. There are a lot of different patches and sources > in SOURCES, SRPMS and SPEC

Re: how to keep rpmbuild directory clean

2011-06-17 Thread Evandro Giovanini
Em Sex, 2011-06-17 às 19:57 +0200, Jakub Jedelský escreveu: > Hi list! > > I've made some rpm packages (a special build for me or for company) > from time to time but recently I have a little problem with my > rpmbuild directory. There are a lot of different patches and sources > in SOURCES, SRPMS

Re: how to keep rpmbuild directory clean

2011-06-17 Thread Richard Shaw
2011/6/17 Jakub Jedelský : > Hi list! > > I've made some rpm packages (a special build for me or for company) > from time to time but recently I have a little problem with my > rpmbuild directory. There are a lot of different patches and sources > in SOURCES, SRPMS and SPECS dirs. > And question is

how to keep rpmbuild directory clean

2011-06-17 Thread Jakub Jedelský
Hi list! I've made some rpm packages (a special build for me or for company) from time to time but recently I have a little problem with my rpmbuild directory. There are a lot of different patches and sources in SOURCES, SRPMS and SPECS dirs. And question is: how to keep my dir clean? :) Have you