Thursday, June 14, 2007

rpm building error

When you try to build rpm file from source, if this error comes out:

error: Legacy syntax is unsupported: copyright
error: line 10: Unknown tag: Copyright: distributable

This error can be settled by modifying the spec file. Usually the source will have the spec file.

-> vi filename.spec

Then; change this line "Copyright: GPL" to "License: GPL". Save the changes.

Run back rpmbuild.

No comments:

Post a Comment