Archive for the ‘exclude perl from requires’ Category

When Perl and RPM don’t get along.

Wednesday, August 13th, 2008

Sometimes when building rpm packages you will get an rpm that requires a file that it already contains. This seems pretty lame (which it is) but here is an example and a workaround. Building a package for freepbx we see this output: rpmbuild -ba freepbx.spec --------snip----------------- Provides: config(freepbx) = 2.4.0-0 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames)