List:MySQL++« Previous MessageNext Message »
From:Patrick Lin Date:December 2 2005 11:14pm
Subject:mysql++ spec and rpm >= 4.0
View as plain text  
Hi,

I ran into the following rpm spec error when building mysql++ on Fedora Core 4:

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

Apparently, the ‘Copyright’ tag support has been deprecated since rpm >= 4.0 and subsequently removed in rpm >= 4.4.  The corresponding tag is now ‘License’.  It’s a one line (one word) change in the spec file, but below is the patch:

----- PATCH BEGIN -----
--- mysql++.spec        2005-12-02 15:09:58.000000000 -0800
+++ mysql++.spec.old    2005-11-23 13:59:20.000000000 -0800
@@ -2,7 +2,7 @@
 Name: mysql++
 Version: 2.0.7
 Release: 1
-License: LGPL
+Copyright: LGPL
 Group: Development/Databases
 Requires: MySQL-shared
 Source:  HYPERLINK "http://tangentsoft.net/mysql++/releases/mysql++-%{version}.tar.gz" http://tangentsoft.net/mysql++/releases/mysql++-%{version}.tar.gz
----- PATCH END -----

Thanks,
Patrick


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.10/190 - Release Date: 12/1/2005
 
Thread
mysql++ spec and rpm >= 4.0Patrick Lin3 Dec
  • Re: mysql++ spec and rpm >= 4.0Warren Young15 Dec