hrpmreb
A very powerful rpm rebuilder using perl-RPM4
hrpmreb -m macros rpm.src.rpm
Read a rpm macros file and add it to rpm configuration.
To read several macros files, use -m macro1 -m macro2 ...
Add a new macro to rpm configuration:
example: -D "_sourcedir /tmp"
This option can be used several time.
Rebuild rpms found in %bindir instead of the one given on command line
Set rpm verbosity level to LEVEL.
LEVEL can be an integer value (0 to 8) or a string value like "ERR", "DEBUG" or "INFO".
Don't upload rpm after build.
This option has the same effect than defining %upload to 0.
Don't check if binary already exist
This option has the same effect that defining %checkbinary to 0.
Don't install dependancies needed to build the rpm
This option has the same effect than defining %installdep to 0.
Don't delete log if build was successful.
This option has the same effect than defining %keepalllog to 1.
Skip build (and upload) stage, usefull for testing
Do not sort srpms by builddate.
This option has the same effect than defining %sortbybuilddate to 0.
Enable livestat functionnalities, see %livestat, --stat.
Give the statistics of current hrpmreb running on the current computer if they has been started with livestat functionnality.
The program itself ($0)
If set, check if binary does not exists in %bindir
A list of path separated by ':' where src.rpm should be found
A list of path separated by ':' where binary rpm should be found
If set, try to install dependancies (see %installrpmcmd)
The command to run to install dependancies (urpmi ...)
If set, run the %uploadcmd command
The upload command to run to upload binary rpms
Where logfile should be put
Don't delete log even on build success
Renice the build process
If set, it will try to create rpms build directory
If define, sort srpms by builddate before build
if set, hrpmreb use IPC to store his status, then you'll be able to use hrpmreb --stat to immediatelly get status of the current build.
Olivier Thauvin <nanardon@zarb.org>
To install RPM4, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RPM4
CPAN shell
perl -MCPAN -e shell install RPM4
For more information on module installation, please visit the detailed CPAN module installation guide.