From: John T. <gma...@jt...> - 2010-02-01 21:45:00
|
>> I have reverted the infamous 'sed -i' Makefile change (sorry for that) >> and released sqlgrey-1.8.0-rc2: > I tried to make an RPM, but I get errors. > CentOS54[johnthomas00@srv ~]$ rpmbuild -ta sqlgrey-1.8.0-rc2.tar.gz > error: line 7: Illegal char '-' in version: Version: 1.8.0-rc2 > I figured out dashes are not allowed in the version number, at least according to this: http://docs.fedoraproject.org/drafts/rpm-guide-en/ch09s03.html I was able to build an RPM by: extracting the tar.gz, changed the version in the spec file to _rc2 from -rc2, changed the bz2 in the spec file to gz, copied the spec file to ~/, renamed the directory to _rc2 from -rc2, tar.gz the directory back up copy it to rpmbuild/SOURCES, and rpmbuild -bb sqlgrey.spec -- Sincerely, John Thomas |