use this command
rpmbuild -ba pclos-xscreensaver.spec > ~/Desktop/xscreensaver.spec.log 2>&1
Leiche, thank you.
Continuing....
- As I found out that having libtorrent-rasterbar of 0.16.x range might help with my earlier problem, I downloaded the tar.bz and converted it into tar.xz.
- Then I got the old src.rpm for libtorrent-rasterbar from our existing repo and extracted it using "rpm -ivh"
- I opened the .spec file. Changed the version number to 0.16.3 which is the current version.
- I found that there was a patch mentioned. As this version did not seem to have a patch, I removed that.
- Ran "rpmbuild -ba"
- Oh! What a joy

The output kept coming. There were a lot of warnings but they did not seem to be backbreaking type so I kept watching. Most of them seemed to be about deprecated this and deprecated that and seemed to concern style of coding rather than any mistake on my part, I thought.
- However after some time I found that the process aborted at the following stage with error :
make[2]: Leaving directory `/home/testinstall/src/rpm/BUILD/libtorrent-rasterbar-0.16.3'
make[1]: Leaving directory `/home/testinstall/src/rpm/BUILD/libtorrent-rasterbar-0.16.3'
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .bz2
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/translate_menu
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ DONT_STRIP=
+ /usr/share/spec-helper/check_elf_files
Warning: unused libraries in /usr/lib/libtorrent-rasterbar.so.6.0.0: libdl.so.2
libm.so.6
Warning: unused libraries in /usr/lib/python2.6/site-packages/libtorrent.so: librt.so.1
libssl.so.1.0.0
libcrypto.so.1.0.0
libdl.so.2
libm.so.6
Processing files: libtorrent-rasterbar5-0.16.3-2slingshot2012.i586
error: File not found by glob: /home/testinstall/src/rpm/BUILDROOT/libtorrent-rasterbar-0.16.3-2slingshot2012.i386/usr/lib/*.so.5*
RPM build errors:
File not found by glob: /home/testinstall/src/rpm/BUILDROOT/libtorrent-rasterbar-0.16.3-2slingshot2012.i386/usr/lib/*.so.5*
Please note that I have not touched the pclinuxos package version/subversion number from the earlier .spec. I only changed what I thought was must to reduce any chance of errors on my side. You probably can understand that by looking at the above lines.
What did I do wrong here? Or what did I miss? Any idea why
glob fails find some file? What is this
glob?