Howdy,
I'm moving from SuSE to linux and have a small problem:
First let me state the I strongly prefer to use RPMs over tarballs when
available.
Second, unless a given rpm can be found that states it is made for my exact
distro and version (ie. SuSE 6.4 or Red hat 6.2) I like to build my own
from src.rpms.
I suse I used to do as follows:
wget someserver.com/pub/foo.src.rpm
rpm --rebuild foo.src.rpm
When that was finished, I'd have a foo.i386.rpm in
/usr/src/packages/RPMS/i386 .
Then I'd install it: rpm -ihv /usr/src/packages/RPMS/i386/foo.i386.rpm
But when I try this in Red Hat, instead of making an rpm, it splats files
all over the place (ok that's exagerated - I"m sure it puts them in the
place they're supposed to go) just like a tarball, and if I do rpm -q foo
it says foo not installed, even thought foo has OBVIOUSLY bee compiled and
"installed" in the traditional make ; make install sense.
I do not want this, I _wnat- the rpm - especialy because I then want to
install it on several boxes without recompiling.
I read the man for RPM and according to it, --rebuild _also_ installs it -
as I now witness on Red Hat 6.2.
Is there a way to get it to make an rpm like it does on SuSE, instead of
just "make ; make install" ing it???
If so I'd sure appreciate someone filling me in on the info :-)
JW
P.S.: in case that's long and confusing, I basically want to rebuild a
src.rpm and have a real RPM at the end :-)
In addition, is there a command line option for making an i686 instead of
an i386, without doing any editing to the actual file?
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list