Bug 148677

Summary: checkinstall needs to be adapted for new rpm version: 'Copyright' tag is legacy
Product: [openSUSE] SUSE Linux 10.1 Reporter: Friedmund Lassmann <friedl>
Component: DevelopmentAssignee: Philipp Thomas <pth>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Beta 3   
Target Milestone: ---   
Hardware: i686   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Friedmund Lassmann 2006-02-07 13:00:26 UTC
Using the 'checkinstall' script fails with Beta 3:

Error: Legacy syntax is unsupported: copyright
error: line 5: Unknown tag: Copyright: GPL

I've downloaded the checkinstall-1.6.0.tgz from http://asic-linux.com.mx/~izto/checkinstall/download.php and found that they've in fact changed this to 'License:':

   2129 # Here comes the .spec file:
   2130
   2131    cat > "$SPEC_PATH" << EOF
   2132 Summary:   $SUMMARY
   2133 Name:      $NAME
   2134 Version:   $VERSION
   2135 Release:   $RELEASE
   2136 License: $LICENSE

where in the Beta 3 checkinstall-1.6.0beta4-10 it says:

   2098 # Here comes the .spec file:
   2099
   2100    cat > "$SPEC_PATH" << EOF
   2101 Summary:   $SUMMARY
   2102 Name:      $NAME
   2103 Version:   $VERSION
   2104 Release:   $RELEASE
   2105 Copyright: $LICENSE

One could argue that this is rather an RPM bug but checkinstall is maybe easier to change ;) See:
http://www.redhat.com/archives/rpm-list/2005-February/msg00049.html
Comment 1 Philipp Thomas 2006-02-07 13:23:53 UTC

*** This bug has been marked as a duplicate of 147089 ***