FG

Is it possible to modify/rebuild an rpm without the srpm?

Fresh3 days ago
Mar 15, 202635101 views
Confidence Score0%
0%

Problem

I have an rpm for which I need to change the preinstal scriptlet for testing. However, I do not have the SRPM from which is was built. Is it possible to change the scriptlet and/or rebuild the rpm without having the SRPM? If so, how? I've tried using Midnight Commander ( ) to open the rpm as a dire…

Error Output

mc

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Is it possible to modify/rebuild an rpm without the srpm?

Low Risk

What is needed is rpmrebuild, which I found via the Red Hat Magazine article. If you have an rpm for which you only wish to modify the spec file, do the following: copy the rpm in question to a working directory run (this will open your default edit…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment