rpm tricks

list install/erase scriptlets for rpm package

rpm -q --scripts packagename

name of repo which was used to install package

rpm -q --qf="%{DISTRIBUTION}" packagename