On Tue, 2009-12-15 at 14:21 +0100, Kai Schaetzl wrote: > I just built and make tested the beta of SA 3.3 with good success and > wanted to build the rpm from it now. I get an error: > error: line 38: Illegal char '-' in version: Version: 3.3.0-beta1 > > Seems that Version: %{version} doesn't like hyphens.
or alpha characters of any sort. > What's the best way to overcome this? Change to _ for instance? No, you have to convince it that everything is numeric. Here's what I did in a similar situation: %define beta p1 Summary: The ISC DHCP (Dynamic Host Configuration Protocol) server/relay agent/client Name: dhcp Epoch: 2 Version: 3.1.2 Release: %mkrel 1 License: Distributable Group: System/Servers URL: http://www.isc.org/dhcp.html Source0: ftp://ftp.isc.org/isc/%{name}/%{name}-%{version}%{beta}.tar.gz Source1: ftp://ftp.isc.org/isc/%{name}/%{name}-%{version}%{beta}.tar.gz.asc > > Kai > -- Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX www.austinenergy.com