How to rebuild packages ?
The best way to rebuild these packages for a distribution is to specify what distribution you’re building for. RPM has no knowledge in what distribution it is operating and therefor we rely on the rebuilder to tell it: rpmbuild –rebuild –define ‘dist fc2’ package.src.rpm The following keywords are allowed: rh6, rh7, rh8, rh9, el2, el3, el4, fc1, fc2, fc3, yd2, yd3, yd4 In some occasions we allow to add or remove features. look inside the SPEC file for more details. rpmbuild –rebuild –with mysql –without db3 package.src.