Re: SquidAnalyzer: minor trouble building RPM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, Mar 11, 2015 at 10:23:07AM +0100, Niki Kovacs wrote:
>
> 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.

Also, you can't use a - in the Version tag in the rpm spec file.  A
mismatch between the tarball name and the extracted source directory
would be a different error.

-- 
Jonathan Billings <billings@xxxxxxxxxx>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos





[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux