On 02/16/2015 01:00 AM, Amit Saha wrote:
> I found it quite difficult compared to my previous experience.
Even the deps
> listed in the
> spec file are hard to download (wget downloads it as a different name from
> what's expected
> in the spec file).
You can just do yum-builddep beaker.spec to install the dependencies and then
execute Misc/rpmbuild.sh -bs to just build the SRPM and Misc/rpmbuild.sh -bb to
build the RPMs.
Thanks for pointing me to that dir. Could the README please be updated to reflect missing
rel-eng and introduced Misc directories?
Using the procedure will install buildrequires, but not download the sources needed
(javascript libs?).
[root@light-01 Misc]# ./rpmbuild.sh -bs
error: Bad file:
/tmp/tmp.G7JaoLyEex/bootstrap-datepicker-b374f23971817d507bded0dc16892e87a6d2fe42.tar.gz:
No such file or directory
error: Bad file:
/tmp/tmp.G7JaoLyEex/bootstrap-growl-eba6d7685c842f83764290c9ab5e82f7d4ffea22.tar.gz: No
such file or directory
error: Bad file:
/tmp/tmp.G7JaoLyEex/bootbox-ed5c62a02ab1eb512c38f4be1d0f6774c51a85c6.tar.gz: No such file
or directory
error: Bad file:
/tmp/tmp.G7JaoLyEex/URI.js-40a89137c5bc297f73467290c39ca596f891dcb9.tar.gz: No such file
or directory
error: Bad file:
/tmp/tmp.G7JaoLyEex/backbone-pageable-61912d577bb5289a80654e89deeb8dc505f283bd.tar.gz: No
such file or directory
error: Bad file:
/tmp/tmp.G7JaoLyEex/backgrid-ff4b033d6f33b3af543e735869b225f4ac984acf.tar.gz: No such file
or directory
error: Bad file:
/tmp/tmp.G7JaoLyEex/bootstrap-select-c0c90090e5abeb5c10291430ae2a1778371f5630.tar.gz: No
such file or directory
error: Bad file:
/tmp/tmp.G7JaoLyEex/moment-604c7942de38749e768ff8e327301ea6917c7c73.tar.gz: No such file
or directory
error: Bad file:
/tmp/tmp.G7JaoLyEex/backbone-53f77901a4ea9c7cf75d3db93ddddf491998d90f.tar.gz: No such file
or directory
error: Bad file:
/tmp/tmp.G7JaoLyEex/underscore-edbf2952c2b71f81c6449aef384bdf233a0d63bc.tar.gz: No such
file or directory
error: Bad file:
/tmp/tmp.G7JaoLyEex/typeahead.js-2bd1119ecdd5ed4bb6b78c83b904d70adc49e023.tar.gz: No such
file or directory
error: Bad file:
/tmp/tmp.G7JaoLyEex/font-awesome-a65bd93d81e9e6bd5ebfa41757a4474960b973b4.tar.gz: No such
file or directory
error: Bad file:
/tmp/tmp.G7JaoLyEex/bootstrap-d9b502dfb876c40b0735008bac18049c7ee7b6d2.tar.gz: No such
file or directory
Getting these was really the most annoying part as wget downloads them without the
prefixes. Could that be automated in the Misc scripts as well?
In my desperation I had to craft an ugly looking command:
grep Source beaker.spec | awk '{print $2}' | xargs -n1 -I{} echo wget
\"{}\" -O
\"\$\(basename \'{}\'\)\" | bash
that downloaded the missing pieces. As you must be building them regularly I guess you
have some better magic in place :).
What about including the archives in the GIT repo or the YUM repos?
Thanks,
Jaroslav.