LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   how to make RPM packages off a tarball? (http://www.linuxquestions.org/questions/linux-general-1/how-to-make-rpm-packages-off-a-tarball-32796/)

chupacabra 10-14-2002 04:20 PM

how to make RPM packages off a tarball?
 
Kernel: 2.4.18-14
Distro: red hat 8.0

I tried these several commands [as a root ] to make a tarball rpm but no luck. " Error: -tb: unkown option "

rpm -tb tarball.tar.gz
-ta to build binary and source rpm from tarball
-tb to build binary rpm only from tarball
-ba to build binary and source rpm from given spec file
-bb to build the binary rpm only from the given spec file

How do I solve this issue? I just want to make RPMs like I used to.

thanks.

sandy 10-15-2002 10:30 AM

try
alien

Smitty-rh 10-15-2002 11:06 AM

Redhat 8.0 uses different rpm commands.

from the RH 8.0 Release Notes:

#

he RPM Package Manager (RPM) functionality has been separated into two packages with distinct functionalities. The rpm package is for installing, querying, verifying and removing RPM packages from your Red Hat Linux system; the rpm-build package is for building and creating RPM packages for your Red Hat Linux system. Refer to the manual pages for both rpm and rpmbuild by typing man rpm and man rpmbuild at a shell prompt for more information about these commands.

http://www.redhat.com/docs/manuals/l...ase-notes/x86/


All times are GMT -5. The time now is 05:30 AM.