Description of problem: rpm -V fails after upgrade. Missing *.pyc files Version-Release number of selected component (if applicable): system-config-samba-1.2.41-3 How reproducible: Always Steps to Reproduce: 1. on a 5.2 system install system-config-samba 2. upgrade to 5.3 version of system-config-samba 3. Actual results: /usr/share/system-config-samba/*.pyc files are removed Expected results: Files are not removed Additional info: (old) package has: preuninstall scriptlet (using /bin/sh): if [ -d /usr/share/system-config-samba ] ; then rm -rf /usr/share/system-config-samba/*.pyc fi Spec file doesn't seem to conform to: https://fedoraproject.org/wiki/Packaging/Python
The error you see is caused by the bad preuninstall script in the old package. If you want rpm to verify correctly, you need to re-install the new fixed package, as is described in the errata documentation.