Re: rpm --rebuild

2003-01-20 Thread Tibbetts, Ric
Emmanuel Seyman wrote:

On Mon, Jan 20, 2003 at 11:17:42AM -0500, Tibbetts, Ric wrote:


So, would someone please refresh me on this.
I need to rebuild a .src.rpm
Used to be trivial:  rpm --rebuild .src.rpm



It's now: rpmbuild -bb .src.rpm

You'll need the rpm-build rpm installed first.



But some kind person(s) decided that must have been to easy, and it 
doesn't work any more. How is it done now? (yes, I'm cranky about this. 
It worked fine, why was it messed with?)..


FWIW, this has been the official way to build rpms since RH 7 .



I've been away for a while. Was working with a different distro. They've 
taken a turn I don't like. I'm back.

Ric

PS: Also, IIRC you could still rpm --rebuild in 7.x
Anyway, thanks all for the info. I'll retrain my fingers.



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: rpm --rebuild

2003-01-20 Thread R P Herrold
On Mon, 20 Jan 2003, Tibbetts, Ric wrote:

> Ok, I know, it's been discussed.

> Used to be trivial:  rpm --rebuild .src.rpm
> 
> But some kind person(s) decided that must have been to easy, and it 

It has been 30 months.  It still is tribial.  About time to
make the change:
   http://www.rpm.org/hintskinks/rpmbuild/

-- Russ Herrold



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: rpm --rebuild

2003-01-20 Thread Emmanuel Seyman
On Mon, Jan 20, 2003 at 11:17:42AM -0500, Tibbetts, Ric wrote:
> 
> So, would someone please refresh me on this.
> I need to rebuild a .src.rpm
> Used to be trivial:  rpm --rebuild .src.rpm

It's now: rpmbuild -bb .src.rpm

You'll need the rpm-build rpm installed first.

> But some kind person(s) decided that must have been to easy, and it 
> doesn't work any more. How is it done now? (yes, I'm cranky about this. 
> It worked fine, why was it messed with?)..

FWIW, this has been the official way to build rpms since RH 7 .

Emmanuel



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: rpm --rebuild

2003-01-20 Thread Rigler, S C (Steve)
If you're on RedHat 8 it will now be:

rpmbuild --rebuild package.src.rpm  [--target=]

-Steve

-Original Message-
From: Tibbetts, Ric [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 20, 2003 10:18 AM
To: [EMAIL PROTECTED]
Subject: rpm --rebuild


Ok, I know, it's been discussed.
But I'm an idiot, and ignored the thread when it was around, and now I 
can't find it.

So, would someone please refresh me on this.
I need to rebuild a .src.rpm

Used to be trivial:  rpm --rebuild .src.rpm

But some kind person(s) decided that must have been to easy, and it 
doesn't work any more. How is it done now? (yes, I'm cranky about this. 
It worked fine, why was it messed with?)..

Thanks!

Ric



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: rpm --rebuild

2002-11-30 Thread R P Herrold
On Sat, 30 Nov 2002, Bo Peng wrote:

> On Sat, Nov 30, 2002 at 01:06:25PM -0500, R P Herrold wrote:
> Wouldn't life be easier if rpm says:
> 
>   rpm --rebuild is obsolete. Use rpmbuild instead.
> instead of an ice-cold error message (while there are instructions about 
> 'rpm --rebuild' all over the internet)?

I RFE'd exactly this -- check the bugzilla -- it turns out 
that this is not readily done with the way 'popt' responds; 
also, 30 months advance notice of probably enough at this 
point.

-- Russ Herrold



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: rpm --rebuild

2002-11-30 Thread Mike Burger
You now have to use "rpmbuild"

On Sat, 30 Nov 2002, Bo Peng wrote:

> Hi, 
> 
> I just upgraded to redhat 8.0 and need to rebuild some of my own rpms 
> from source. However, when I use
> 
>   rpm --rebuild ...
> 
> I got "unknown option". I could not get all '-b' options either.  I 
> checked my rpm but it is the newest version 4.1, I also installed 
> rpm-devel, rpm-build but none of them help. What did I miss?
> 
> Thanks.
> 
> 

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: rpm --rebuild

2002-11-30 Thread Bo Peng
On Sat, Nov 30, 2002 at 01:06:25PM -0500, R P Herrold wrote:
> On Sat, 30 Nov 2002, Josep M. wrote:

> > Use : "rpmbuild -ba "  ,now is in rpmbuild,yes,changed without notice!%/$/

> rpmbuild "changed without notice!%/$/" ?  

Wouldn't life be easier if rpm says:

  rpm --rebuild is obsolete. Use rpmbuild instead.

instead of an ice-cold error message (while there are instructions about 
'rpm --rebuild' all over the internet)?

-- 
Bo Peng



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: rpm --rebuild

2002-11-30 Thread R P Herrold
On Sat, 30 Nov 2002, Josep M. wrote:

> Use : "rpmbuild -ba "  ,now is in rpmbuild,yes,changed without notice!%/$/

rpmbuild "changed without notice!%/$/" ?  

It had a 30 month phase-in.  The matter was noted when it
first appeared -- rpm-3.0.4 (March 2000); became preferred at
rpm-4.0.3 (Devember 2001); and was only removed as a 'popt' 
'rpm' option in RHL 8.0 (rpm 4.1.0 - September 2002)

  /usr/share/doc/rpm-4.0.4/CHANGES
  - in the release notes for rpm: 
4.0.2 -> 4.0.3:
  ... - document build modes in rpmbuild.8, rpmbuild is born.
   (rpm-4.0.3 went into formal release)  

  - has been repeatedly discussed on rpm-list for two and an 
half years

  - is the subject of a summary web page at:
 http://www.rpm.org/hintskinks/rpmbuild/





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: rpm --rebuild

2002-11-30 Thread ABrady
On Sat, 30 Nov 2002 11:33:53 -0600
Bo Peng <[EMAIL PROTECTED]> wrote:

> Hi, 
> 
> I just upgraded to redhat 8.0 and need to rebuild some of my own rpms 
> from source. However, when I use
> 
>   rpm --rebuild ...
> 
> I got "unknown option". I could not get all '-b' options either.  I 
> checked my rpm but it is the newest version 4.1, I also installed 
> rpm-devel, rpm-build but none of them help. What did I miss?
> 
> Thanks.
> 
> -- 
> Bo Peng

It's now "rpmbuild" which is in 'man rpm" but a long ways down. So, the
following are proper:

rpmbuild --rebuild

rpmbuild -ta

rpmbuild -ba

-- 
Conformist revolution.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: rpm --rebuild

2002-11-30 Thread Josep M.
Hi!

Use : "rpmbuild -ba "  ,now is in rpmbuild,yes,changed without notice!%/$/

Josep

Begin of Quote Bo Peng :
>Hi, 
>
>I just upgraded to redhat 8.0 and need to rebuild some of my own rpms 
>from source. However, when I use
>
>  rpm --rebuild ...
>
>I got "unknown option". I could not get all '-b' options either.  I 
>checked my rpm but it is the newest version 4.1, I also installed 
>rpm-devel, rpm-build but none of them help. What did I miss?
>
>Thanks.
>
>-- 
>Bo Peng
>
>
>
>-- 
>redhat-list mailing list
>unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
>https://listman.redhat.com/mailman/listinfo/redhat-list 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: rpm --rebuild vs --recompile

2001-04-07 Thread John Aldrich

On Sat, 07 Apr 2001, rpjday wrote:
> i asked on a local mailing list and didn't get a response, so
> i'll try here.  what exactly is the difference between rebuilding
> a src.rpm with --rebuild versus --recompile?
> 
>   i've done both and, for the life of me, the output and results
> are absolutely identical.  so what's the diff?  both happily rebuild
> the binary rpm, so it's not a critical issue, i'm just curious.
> 
Heh I dunno either, but it's a question I've wondered
myself.. ;-)
If you find out off-list, please post the info here. ;-)
Thanks...
John



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list