tag:blogger.com,1999:blog-224320715137455380.post8746139511614283553..comments2023-08-16T17:17:08.032+03:00Comments on Tech Drum - Nir's Tech blog: RPM example - Application packagingNir Moavhttp://www.blogger.com/profile/05879703892878058262noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-224320715137455380.post-2449279314415422042015-07-06T21:59:42.369+03:002015-07-06T21:59:42.369+03:00Hi, I am learning to build RPMs and I am working w...Hi, I am learning to build RPMs and I am working with your example.<br /><br />I ran into this error when running buildrpm -ba /.... Happens at Install step in spec file.<br /><br />error: File not found by glob: /home/username/rpmbuild/BUILDROOT/Example-RPM-Project-1.0-1.x86_64/*<br /><br />mkdir -p ~/Desktop/rpmbuild/BUILD/Example-RPM-Project-1.0-1/<br /><br />cp -R ~/Desktop/rpmbuild/BUILD/Application/output/jars/* ~/Desktop/rpmbuild/BUILD/Example-RPM-Project-1.0-1/<br /><br />Where is the missing file coming from?Anonymoushttps://www.blogger.com/profile/02850746794964048725noreply@blogger.comtag:blogger.com,1999:blog-224320715137455380.post-29592505726652052312014-01-13T23:21:40.900+02:002014-01-13T23:21:40.900+02:00Thanks!
You can simply execute anything you want i...Thanks!<br />You can simply execute anything you want in the %build step.<br />So if you want to execute gradle instead of ant, then just change it to "gradle" <br />in the %build step.<br />(You can run anything that would run on the shell basically.)<br />Good luckNir Mhttps://www.blogger.com/profile/00159328621333899052noreply@blogger.comtag:blogger.com,1999:blog-224320715137455380.post-87816438812269337672014-01-13T19:05:17.568+02:002014-01-13T19:05:17.568+02:00Great post - thanks. Do you have an example using...Great post - thanks. Do you have an example using gradle instead of ant?<br />Anonymousnoreply@blogger.com