how to make RPM packages off a tarball?
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.
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.
|All times are GMT -5. The time now is 01:15 AM.|