Re: [CentOS] Building packages using RPMBUILD

2010-12-19 Thread Keith Roberts
On Sun, 19 Dec 2010, JohnS wrote: > To: CentOS mailing list > From: JohnS > Subject: Re: [CentOS] Building packages using RPMBUILD > > > On Sun, 2010-12-19 at 13:46 +, Keith Roberts wrote: > >> http://www.karsites.net/centos/downloads/5.5/qps-1.9.18.6-1.i386.r

Re: [CentOS] Building packages using RPMBUILD

2010-12-19 Thread Keith Roberts
On Sun, 19 Dec 2010, R P Herrold wrote: > To: CentOS mailing list > From: R P Herrold > Subject: [CentOS] Building packages using RPMBUILD > > On Sun, 19 Dec 2010, Keith Roberts wrote: > >>> # rpm --import Fedora6-GPG-public-key.asc >>> >>

Re: [CentOS] Building packages using RPMBUILD

2010-12-19 Thread JohnS
On Sun, 2010-12-19 at 13:46 +, Keith Roberts wrote: > http://www.karsites.net/centos/downloads/5.5/qps-1.9.18.6-1.i386.rpm You should have a /5/ /x86_64 /i386 /SRPMS Structure to the directori

[CentOS] Building packages using RPMBUILD

2010-12-19 Thread R P Herrold
On Sun, 19 Dec 2010, Keith Roberts wrote: >> # rpm --import Fedora6-GPG-public-key.asc >> >> and then that objection will be silenced > > Thanks Russ. > > That has cured the problem. > Do I need the .gpg subdirectory in my rpmbuilder homedir? no - that was created by GnuPG for maintaining a

Re: [CentOS] Building packages using RPMBUILD

2010-12-19 Thread Keith Roberts
QPS works OK. Here's a screenshot of what it looks like: http://i55.tinypic.com/35l6t7b.jpg And if you like it here's a temporary link to download it from my site: http://www.karsites.net/centos/downloads/5.5/qps-1.9.18.6-1.i386.rpm The binary is not signed by me, as I've not got that far ye

Re: [CentOS] Building packages using RPMBUILD

2010-12-19 Thread Keith Roberts
On Sat, 18 Dec 2010, R P Herrold wrote: > To: CentOS mailing list > From: R P Herrold > Subject: [CentOS] Building packages using RPMBUILD > > On Sat, 18 Dec 2010, Keith Roberts wrote: > >>> gpg --import-key yourkey.asc > >> Thanks for your repl

Re: [CentOS] Building packages using RPMBUILD

2010-12-19 Thread Keith Roberts
On Sat, 18 Dec 2010, R P Herrold wrote: > To: CentOS mailing list > From: R P Herrold > Subject: [CentOS] Building packages using RPMBUILD > > On Sat, 18 Dec 2010, Keith Roberts wrote: > >>> gpg --import-key yourkey.asc > >> Thanks for your repl

[CentOS] Building packages using RPMBUILD

2010-12-18 Thread R P Herrold
On Sat, 18 Dec 2010, Keith Roberts wrote: >> gpg --import-key yourkey.asc > Thanks for your reply Tim. It still does not work though. > [rpmbuil...@karsites qps]$ gpg --import > Fedora6-GPG-public-key.asc > [rpmbuil...@karsites qps]$ rpm -K qps-1.9.18.6-1.fc6.src.rpm > qps-1.9.18.6-1.fc6.src.rp

Re: [CentOS] Building packages using RPMBUILD

2010-12-18 Thread Keith Roberts
On Sat, 18 Dec 2010, Tim Dunphy wrote: > To: CentOS mailing list > From: Tim Dunphy > Subject: Re: [CentOS] Building packages using RPMBUILD > > gpg --import-key yourkey.asc > > done! > > Sent from my iPhone Thanks for your reply Tim. It still does not work though

Re: [CentOS] Building packages using RPMBUILD

2010-12-18 Thread Tim Dunphy
gpg --import-key yourkey.asc done! Sent from my iPhone On Dec 18, 2010, at 1:31 PM, Keith Roberts wrote: > Hi all. > > I have downloaded the source rpm for qps fc6, but get the > following error message: > > [rpmbuil...@karsites qps]$ ls > qps-1.9.18.6-1.fc6.src.rpm > [rpmbuil...@karsites q

Re: [CentOS] Building packages using RPMBUILD

2010-12-18 Thread Keith Roberts
Hi all. I have downloaded the source rpm for qps fc6, but get the following error message: [rpmbuil...@karsites qps]$ ls qps-1.9.18.6-1.fc6.src.rpm [rpmbuil...@karsites qps]$ rpm -K qps-1.9.18.6-1.fc6.src.rpm qps-1.9.18.6-1.fc6.src.rpm: (SHA1) DSA sha1 md5 (GPG) NOT OK (MISSING KEYS: GPG#1ac70c

Re: [CentOS] Building packages using RPMBUILD

2010-12-17 Thread Keith Roberts
On Thu, 16 Dec 2010, Akemi Yagi wrote: > To: CentOS mailing list > From: Akemi Yagi > Subject: Re: [CentOS] Building packages using RPMBUILD > > On Thu, Dec 16, 2010 at 8:11 AM, Keith Roberts wrote: >> >> I had already installed the packages mentioned in the Cento

Re: [CentOS] Building packages using RPMBUILD

2010-12-17 Thread m . roth
Leonard den Ottolander wrote: > Hello Nico, > On Fri, 2010-12-17 at 08:01 -0500, Nico Kadel-Garcia wrote: >> There are easily half a dozen reasons. The first one is that this is >> where root runs their builds: if you leave it with write permission >> for other users, > >> Second, if you open the p

Re: [CentOS] Building packages using RPMBUILD

2010-12-17 Thread Leonard den Ottolander
Hello Nico, On Fri, 2010-12-17 at 08:01 -0500, Nico Kadel-Garcia wrote: > There are easily half a dozen reasons. The first one is that this is > where root runs their builds: if you leave it with write permission > for other users, > Second, if you open the permissions there, multiple users can s

Re: [CentOS] Building packages using RPMBUILD

2010-12-17 Thread Nico Kadel-Garcia
On Thu, Dec 16, 2010 at 3:49 PM, Leonard den Ottolander wrote: > Hello Nico, > > On Thu, 2010-12-16 at 15:20 -0500, Nico Kadel-Garcia wrote: >> On Thu, Dec 16, 2010 at 11:00 AM, Leonard den Ottolander >> > /usr/src/redhat and sub dirs are owned root.root. If you want to build >> > as a normal user

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Robert Heller
At Thu, 16 Dec 2010 21:26:19 + (GMT) CentOS mailing list wrote: > > On Thu, 16 Dec 2010, m.r...@5-cent.us wrote: > > > To: CentOS mailing list > > From: m.r...@5-cent.us > > Subject: Re: [CentOS] Building packages using RPMBUILD > > > > Leonar

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Leonard den Ottolander
Hello Mark, On Thu, 2010-12-16 at 16:21 -0500, m.r...@5-cent.us wrote: > One possibility: suppose someone cracks in as the user that owns those > directories. They could then install whatever they want in there... and > the next time you built and installed something, it could carry their > payloa

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Keith Roberts
On Thu, 16 Dec 2010, Akemi Yagi wrote: > To: CentOS mailing list > From: Akemi Yagi > Subject: Re: [CentOS] Building packages using RPMBUILD > > On Thu, Dec 16, 2010 at 9:40 AM, Keith Roberts wrote: > >> Is there a tutorial on how to create your own third party >>

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Keith Roberts
On Thu, 16 Dec 2010, Bowie Bailey wrote: To: centos@centos.org From: Bowie Bailey Subject: Re: [CentOS] Building packages using RPMBUILD On 12/16/2010 3:20 PM, Nico Kadel-Garcia wrote: On Thu, Dec 16, 2010 at 11:00 AM, Leonard den Ottolander wrote: Hello Keith, On Thu, 2010-12-16 at 15:08

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Keith Roberts
On Thu, 16 Dec 2010, m.r...@5-cent.us wrote: > To: CentOS mailing list > From: m.r...@5-cent.us > Subject: Re: [CentOS] Building packages using RPMBUILD > > Leonard den Ottolander wrote: >> Hello Nico, >> >> On Thu, 2010-12-16 at 15:20 -0500, Nico Kadel-Garcia w

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread m . roth
Leonard den Ottolander wrote: > Hello Nico, > > On Thu, 2010-12-16 at 15:20 -0500, Nico Kadel-Garcia wrote: >> On Thu, Dec 16, 2010 at 11:00 AM, Leonard den Ottolander >> > /usr/src/redhat and sub dirs are owned root.root. If you want to build >> > as a normal user (and you should!) you should fix

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Robert Heller
At Thu, 16 Dec 2010 15:34:33 -0500 CentOS mailing list wrote: > > On 12/16/2010 3:20 PM, Nico Kadel-Garcia wrote: > > On Thu, Dec 16, 2010 at 11:00 AM, Leonard den Ottolander > > wrote: > >> Hello Keith, > >> > >> On Thu, 2010-12-16 at 15:08 +, Keith Roberts wrote: > >>> [rpmbuil...@karsit

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Leonard den Ottolander
Hello Nico, On Thu, 2010-12-16 at 15:20 -0500, Nico Kadel-Garcia wrote: > On Thu, Dec 16, 2010 at 11:00 AM, Leonard den Ottolander > > /usr/src/redhat and sub dirs are owned root.root. If you want to build > > as a normal user (and you should!) you should fix the ownership of those > > directories

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Bowie Bailey
On 12/16/2010 3:20 PM, Nico Kadel-Garcia wrote: > On Thu, Dec 16, 2010 at 11:00 AM, Leonard den Ottolander > wrote: >> Hello Keith, >> >> On Thu, 2010-12-16 at 15:08 +, Keith Roberts wrote: >>> [rpmbuil...@karsites sox]$ rpm -iv ./sox-12.18.1-1.src.rpm >>> error: cannot write to %sourcedir /us

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Nico Kadel-Garcia
On Thu, Dec 16, 2010 at 11:00 AM, Leonard den Ottolander wrote: > Hello Keith, > > On Thu, 2010-12-16 at 15:08 +, Keith Roberts wrote: >> [rpmbuil...@karsites sox]$ rpm -iv ./sox-12.18.1-1.src.rpm >> error: cannot write to %sourcedir /usr/src/redhat/SOURCES > > /usr/src/redhat and sub dirs are

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Akemi Yagi
On Thu, Dec 16, 2010 at 9:40 AM, Keith Roberts wrote: > Is there a tutorial on how to create your own third party > repository for Centos please? > > That's something I've been meaning to do for a long time. > > Now I have cloud hosting, the download bandwidth and usage > is no longer an issue.

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Keith Roberts
On Thu, 16 Dec 2010, Akemi Yagi wrote: > To: CentOS mailing list > From: Akemi Yagi > Subject: Re: [CentOS] Building packages using RPMBUILD > > On Thu, Dec 16, 2010 at 8:11 AM, Keith Roberts wrote: >> >> I had already installed the packages mentioned in the Cento

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Keith Roberts
On Thu, 16 Dec 2010, Robert Heller wrote: > To: CentOS mailing list > From: Robert Heller > Subject: Re: [CentOS] Building packages using RPMBUILD > > At Thu, 16 Dec 2010 17:00:23 +0100 CentOS mailing list > wrote: > >> >> Hello Keith, >> >> On

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Robert Heller
At Thu, 16 Dec 2010 17:00:23 +0100 CentOS mailing list wrote: > > Hello Keith, > > On Thu, 2010-12-16 at 15:08 +, Keith Roberts wrote: > > [rpmbuil...@karsites sox]$ rpm -iv ./sox-12.18.1-1.src.rpm > > error: cannot write to %sourcedir /usr/src/redhat/SOURCES > > /usr/src/redhat and sub d

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Akemi Yagi
On Thu, Dec 16, 2010 at 8:33 AM, Keith Roberts wrote: > On Thu, 16 Dec 2010, Akemi Yagi wrote: >> http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment > I was refering to this Centos wiki article: > > http://wiki.centos.org/HowTos/I_need_the_Kernel_Source > > The second part. > > I'll read up

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Keith Roberts
On Thu, 16 Dec 2010, Akemi Yagi wrote: > To: CentOS mailing list > From: Akemi Yagi > Subject: Re: [CentOS] Building packages using RPMBUILD > > On Thu, Dec 16, 2010 at 8:11 AM, Keith Roberts wrote: >> >> I had already installed the packages mentioned in the Cento

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Keith Roberts
On Thu, 16 Dec 2010, Leonard den Ottolander wrote: > To: CentOS mailing list > From: Leonard den Ottolander > Subject: Re: [CentOS] Building packages using RPMBUILD > > Hello Keith, > > (Oops, send out the previous mail before it was finished.) OK! > On Thu, 2010-12-

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Akemi Yagi
On Thu, Dec 16, 2010 at 8:11 AM, Keith Roberts wrote: > > I had already installed the packages mentioned in the Centos > wiki. I assume you are referring to this wiki: http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment If not, I strongly recommend reading it through. Up front it warns you t

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Lamar Owen
On Thursday, December 16, 2010 11:11:17 am Keith Roberts wrote: > I had already installed the packages mentioned in the Centos > wiki. > > These won't cause conflicts at all with each other? Don't know for sure, but in the case of RPMs I've built on CentOS 4 and 5 in the past they coexisted ok.

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Keith Roberts
On Thu, 16 Dec 2010, Lamar Owen wrote: > To: CentOS mailing list > From: Lamar Owen > Subject: Re: [CentOS] Building packages using RPMBUILD > > On Thursday, December 16, 2010 10:08:12 am Keith Roberts wrote: >> Is there a package I need to install and run to set >>

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Lamar Owen
On Thursday, December 16, 2010 10:08:12 am Keith Roberts wrote: > Is there a package I need to install and run to set > things up corectly? [snip] > So what build dir shall I go for? See the Fedora packaging guidelines, and install 'fedora-packager' from EPEL to get the tools that help you set u

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Leonard den Ottolander
Hello Keith, (Oops, send out the previous mail before it was finished.) On Thu, 2010-12-16 at 15:08 +, Keith Roberts wrote: > [rpmbuil...@karsites sox]$ rpm -iv ./sox-12.18.1-1.src.rpm > error: cannot write to %sourcedir /usr/src/redhat/SOURCES /usr/src/redhat and sub dirs are owned root.roo

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Leonard den Ottolander
Hello Keith, On Thu, 2010-12-16 at 15:08 +, Keith Roberts wrote: > [rpmbuil...@karsites sox]$ rpm -iv ./sox-12.18.1-1.src.rpm > error: cannot write to %sourcedir /usr/src/redhat/SOURCES /usr/src/redhat and sub dirs are owned root.root. If you want to build as a normal user (and you should!) y

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Keith Roberts
On Thu, 16 Dec 2010, Leonard den Ottolander wrote: > To: CentOS mailing list > From: Leonard den Ottolander > Subject: Re: [CentOS] Building packages using RPMBUILD > > Hello Keith, > > On Thu, 2010-12-16 at 15:25 +, Keith Roberts wrote: >> What's that all

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Leonard den Ottolander
Hello Keith, On Thu, 2010-12-16 at 15:25 +, Keith Roberts wrote: > What's that all about - user mockbuild? > > Is that a user created by one of the rpm builder scripts? No, it's the user that mock uses for its builds. Most if not all upstream rpms are built using mock and so are the CentOS r

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Keith Roberts
sox-12.18.1-1.src.rpm [r...@karsites sox]# [r...@karsites sox]# rpm -iv sox-12.18.1-1.src.rpm sox-12.18.1-1 warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root What's that all about - user mockbuild? Is that a user created by one of the rpm bui

Re: [CentOS] Building packages using RPMBUILD

2010-12-16 Thread Keith Roberts
Moved from a previous thread :) On Thu, 16 Dec 2010, John Hodrien wrote: > To: CentOS mailing list > From: John Hodrien > Subject: Re: [CentOS] Stripping silent periods from MP3s > > On Thu, 16 Dec 2010, Keith Roberts wrote: > >> Thanks for all the responses! >> >> I've read MaximumRPM from: >>

[CentOS] Building packages using RPMBUILD

2010-12-16 Thread Keith Roberts
I have been following the MaximumRPM guide from here: http://www.rpm.org/max-rpm-snapshot/index.html and it seems a bit dated, but still very good (if fact the best all round documentation I have found so far) on using RPM package manager, and how to build rpm packages. The guide tells me to u