[CentOS] SquidAnalyzer: minor trouble building RPM

Wed Mar 11 11:52:26 UTC 2015
Joseph L. Brunner <joe at affirmedsystems.com>

Thanks for the info.

Any reason you're leaving slackware now?

-----Original Message-----
From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of Niki Kovacs
Sent: Wednesday, March 11, 2015 05:23 AM
To: centos at centos.org
Subject: Re: [CentOS] SquidAnalyzer: minor trouble building RPM

Le 11/03/2015 09:40, Niki Kovacs a écrit :
> Unfortunately when I insert the correct version in the spec file, I 
> get
> this:
>
> $ rpmbuild -ba --clean squidanalyzer.spec
> error: line 5: Illegal char '-' in: Version:    6.2-1

I'll answer that myself, since I just found the culprit. There's a version mismatch between the tarball and the extracted source directory. 
Simply renaming the tarball to version 6.2 fixed it.

Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres 7, place de l'église - 30730 Montpezat Web  : http://www.microlinux.fr Mail : info at microlinux.fr Tél. : 04 66 63 10 32 _______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos