[Speex-dev] A minor patch to spec file

Stepan Kasal kasal at ucw.cz
Wed May 10 08:05:19 PDT 2006


> Actually, in all the examples I've seen, people are using "Copyright"
> and not "License".  Any reference for the change you're proposing?

I experienced the following when I tried to use your spec file on
Fedora Core 4:

$ rpmbuild -bp /usr/src/redhat/SPECS/Speex.spec
error: Legacy syntax is unsupported: copyright
error: line 9: Unknown tag: Copyright: BSD
$ rpmbuild --version
RPM version 4.4.1

The tag "Copyright" stopped working in rpm version 4.4, which was
released in Dec 2004.

The tag "License" seems to be present in rpm CVS since 1998, so it
should work with most rpm versions.  The book ``Maximum RPM,''
published in 1997, doesn't mention it, though.

Have a nice day,
	Stepan Kasal

--- /usr/src/redhat/SPECS/Speex.spec	2006-02-15 13:13:48.000000000 +0100
+++ /usr/src/redhat/SPECS/Speex.spec.new	2006-05-10 11:00:25.000000000 +0200
@@ -6,7 +6,7 @@
 Name: %name
 Version: %ver
 Release: %rel
-Copyright: BSD
+License: BSD
 Group: Application/Devel
 Source: http://www.speex.org/download/%{name}-%{ver}.tar.gz
 URL: http://www.speex.org/

More information about the Speex-dev mailing list