When I try to build from a local source, it fails to find the source
file.
[root@troll-2 cran]# pwd
/var/tmp/cran
[root@troll-2 cran]# ls -l
total 828
-rw-r--r-- 1 root root 308395 Dec 22 2009 DBI_0.2-5.tar.gz
-rw-r--r-- 1 root root 518499 Apr 12 14:58 plyr_1.2.1.tar.gz
-rwxr--r-- 1 root root 181 Apr 12 15:06 yadda
-rw-r--r-- 1 root root 138 Apr 12 15:04 yadda~
[root@troll-2 cran]# R2rpm -s plyr_1.2.1.tar.gz
Your source does not exist, please use the full path (plyr_1.2.1.tar.gz)
[root@troll-2 cran]# R2rpm -s ./plyr_1.2.1.tar.gz
Your source does not exist, please use the full path (./plyr_1.2.1.tar.gz)
[root@troll-2 cran]# R2rpm -s /var/tmp/cran/plyr_1.2.1.tar.gz
* Retrieve the source
**************************************************
* Name of the packager = Allen Rout
* Mail of the packager = asr(a)ufl.edu
**************************************************
* Name of the library = plyr
* Version of the library = 1.2.1
* Summary of the library = Tools for splitting, applying and combining data
plyr is a set of tools that solves a common set of
* Description of the library =
plyr is a set of tools that solves a common set of
* License of the library = MIT
No Depends set
* The package is = Arch ~ x86 or x86_64
* Date of the spec file = Tue Apr 12 2011
**************************************************
** Generate the spec file
* Spec generated:
/usr/src/redhat/SPECS/R-plyr.spec
* spec file written
**************************************************
** Spec generated, starting RPM construction
* Read the file R-plyr.spec
* Clean the %file section
* spec file written
* Building the rpm (this may take some time)
LANG=C rpmbuild -ba R-plyr.spec > build-R-plyr.spec.log 2>&1
An error occured during the build
'An error occured at build time, see the log in
/usr/src/redhat/SPECS/build-R-plyr.spec.log'
If I copy the file somewhere else and reference it as a URL, it works.
- Allen S. Rout
Show replies by date