RPM spec files have several sections which allow packages to run code on
installation and removal. These bits of code are called scriptlets and are
mostly used to update the running system with information from the package.
This page offers a quick overview of RPM scriptlets and a number of common
recipes for scriptlets in packages.