Re: Creating SRPM without rpmbuild

2014-01-14 Thread Miro Hrončok
Dne 20.12.2013 11:51, Miro Hrončok napsal(a): Dne 19.12.2013 09:33, Florian Weimer napsal(a): I think Debian has a working rpmbuild, but it obviously doesn't help if you aren't allowed to install packages. So apparently rpmbuild works, but ignores my %global statements, so the command fails:

Re: Creating SRPM without rpmbuild

2013-12-20 Thread Miro Hrončok
Dne 19.12.2013 01:30, Matthew Miller napsal(a): Maybe, but I'm not sure it's worth it. RPM is a cpio archive with a specialized header, and, really, rpmbuild is the best way to do it. I was thinking about something like that. Why not prepare the SRPM somewhere else and copy it? I need to

Re: Creating SRPM without rpmbuild

2013-12-20 Thread Miro Hrončok
Dne 19.12.2013 09:33, Florian Weimer napsal(a): I think Debian has a working rpmbuild, but it obviously doesn't help if you aren't allowed to install packages. I didn't think of that. It has [1]. I am able to request installation of a package somehow, so I'll stick with that. Thanks a lot

Re: Creating SRPM without rpmbuild

2013-12-19 Thread Florian Weimer
On 12/19/2013 01:15 AM, Miro Hrončok wrote: I need to prepare SRPM on machine where I have limited access and cannot install rpmbuild. You could compile rpm from sources and use that. It's Debian based. I think Debian has a working rpmbuild, but it obviously doesn't help if you aren't

Creating SRPM without rpmbuild

2013-12-18 Thread Miro Hrončok
Hi, is tehre a way to create SRPM from sources + spec without rpmbuild? Using tar or something? I know the sources filenames and don't need to parse spec for it. I need to prepare SRPM on machine where I have limited access and cannot install rpmbuild. It's Debian based. Thanks for any

Re: Creating SRPM without rpmbuild

2013-12-18 Thread Matthew Miller
On Thu, Dec 19, 2013 at 01:15:26AM +0100, Miro Hrončok wrote: is tehre a way to create SRPM from sources + spec without rpmbuild? Using tar or something? I know the sources filenames and don't need to parse spec for it. I need to prepare SRPM on machine where I have limited access and cannot