[CentOS] SquidAnalyzer: minor trouble building RPM
Niki Kovacs
info at microlinux.fr
Wed Mar 11 09:23:07 UTC 2015
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
More information about the CentOS
mailing list