archiecobbs/logwarn

build error

GoogleCodeExporter opened this issue · 1 comments

What steps will reproduce the problem?
1.[root@logwarn-1.0.3]# rpmbuild -bb logwarn.spec

2. ls -la  /usr/src/redhat/SOURCES/
total 112
drwxr-xr-x 2 root root  4096 May 23 11:30 .
drwxr-xr-x 7 root root  4096 Mar 25 15:04 ..
-rw-r--r-- 1 root root 89740 May 23 11:30 logwarn-1.0.3.tar.gz

3.

What is the expected output? What do you see instead?
error: File /usr/src/redhat/SOURCES/logwarn-1.0.2.tar.gz: No such file or 
directory

What version of the product are you using? On what operating system?
logwarn-1.0.3.tar.gz. 

CentOS release 5.5 (Final) x86_64
Kernel: 2.6.18-194.el5

Please provide any additional information below.

Workaround:

or 
sed 's/1.0.2/1.0.3/' /usr/src/redhat/SPECS/logwarn.spec > 
/usr/src/redhat/SPECS/logwarn.spec1

mv /usr/src/redhat/SPECS/logwarn.spec1 /usr/src/redhat/SPECS/logwarn.spec

Original issue reported on code.google.com by s.yarosl...@gmail.com on 23 May 2011 at 1:01

The spec file included in 1.0.3 had the wrong version number in it.

This will be fixed in the next release.

Thanks.

Original comment by archie.c...@gmail.com on 23 May 2011 at 3:41

  • Changed state: Fixed