I'm trying to build a package with buildrpm. My problem is that I have an intentionally vulnerable C program compiled when make is run normally as an example for the primary code (a fuzzer) to be tested on with make check. When I try to build the…
I'm trying to use the command "fedpkg prep" but when I do I get the following error
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.MJ4rSp (%prep)
How do I resolve this problem? I'm a newbie to Linux.
I have a pre-made directory structure that I want to make an rpm from.
In my spec file I specify all files from that directory structure that I want to include in the rpm, and when executing rpmbuild I set the buildroot to the (from what I can tell)…
Need help with rpm. I need to replace (for example) pkg-number-one with pkg-number-two. Provides in spec: pkg-number. How can I do replace one installed pkg with another? Or I must change something to do this?
I am trying to to build an rpm for an application I have made. I have written the spec file and made an additional bash script to copy all the required files automatically into the rpmbuild directory structure i.e…
I'm Fairly new to packaging nodejs apps with rpm.
The requirement is that we always merge any changes we may have in the config file without wiping out any setting that may have been changed by the sys admin.
As you have guessed, config files for…
I have the following script in my spec file %preun tag:
if [ $1 -eq 0 ]; then
echo "Stopping blah service before uninstalling.."
. /etc/init.d/blahforever stop
echo "blah service stopped."
fi
I get "syntax error near unexpected token `fi'"…
will the rpmbuild command create the topdir or rpmdir or any required rpm build directories if it does not exist.
Currently my spec file points the _topdir as pwd
if i want the topdir to be changed to pwd/test and if test does not exist will the…
I have created a rpm build which will extract files as part of rpm installation then run custom scripts to install the package. But when i do rpm -e option it will remove only the rpm extracted files which is not good enough. How can i write rpm…
I am looking for alternative solution for my company's email system,
so I download the rpm source file from the site
http://www.qmail.org/rpms/qmail.html
and use rpmbuild --rebuild to make the final rpm according to the instruction in…
How I can generate a RPM that copy 3 files into 3 diferent folders?
For example:
I have: Mongo-watcher, config.properties and watcher.jar
Mongo-watcher has to be placed under: /etc/init.d/
Config.properties has to be placed under:…
I'm trying to create an rpm package for Hashicorp Vault. I can download the Vault binary as a zip file from the website, but clueless about how to get that binary packed as an rpm. I tried fpm but I guess I can't use that for packaging pre-built…
Usually one rpm depends on many other packages or libs. This is not easy for massive deployment without internet access.
Since yum can automatically resolve dependencies. Is it possible to build a portable executable? So that we can copy it to…
I am trying to build a simple source rpm package for nginx (nginx-1.11.4-1.el6.ngx.src.rpm). But i am not able to build as its giving me errors. I have already followed these two threads.. Bad exit status from /var/tmp/rpm-tmp.b1DgAt (%build) and…