How to make RHEL package from Fedora?
How to make RHEL package from Fedora?
1. Download the Fedora package.
2. Do a rpm rebuild.
[root@shprimaryproxy2 tmp]# rpmbuild --rebuild hoard-3.8-12.fc24.src.rpm
Installing hoard-3.8-12.fc24.src.rpm
warning: hoard-3.8-12.fc24.src.rpm: Header V3 RSA/SHA256 Signature, key ID 81b46521: NOKEY
warning: user mockbuild does not exist - using root
3. Once RPM rebuild is done it'll create a rpm for RHEL.
Wrote: /root/rpmbuild/RPMS/x86_64/hoard-3.8-12.el7.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/hoard-docs-3.8-12.el7.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/hoard-debuginfo-3.8-12.el7.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kIVYjn
1. Download the Fedora package.
2. Do a rpm rebuild.
[root@shprimaryproxy2 tmp]# rpmbuild --rebuild hoard-3.8-12.fc24.src.rpm
Installing hoard-3.8-12.fc24.src.rpm
warning: hoard-3.8-12.fc24.src.rpm: Header V3 RSA/SHA256 Signature, key ID 81b46521: NOKEY
warning: user mockbuild does not exist - using root
3. Once RPM rebuild is done it'll create a rpm for RHEL.
Wrote: /root/rpmbuild/RPMS/x86_64/hoard-3.8-12.el7.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/hoard-docs-3.8-12.el7.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/hoard-debuginfo-3.8-12.el7.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kIVYjn
No comments