<div dir="ltr"><div>I wanted to make rpm from the lastest src, but failed.<br></div>Here's my log:<br><br>git ls-files | tar --files-from /proc/self/fd/0 -czf "ovirt-engine-3.3.0_master.tar.gz" ovirt-engine.spec<br>
<br>You can use rpmbuild -tb ovirt-engine-3.3.0_master.tar.gz to produce rpms<br><br>rm -rf "/home/demo/gittest/ovirt-engine/tmp.rpmbuild"<br>mkdir -p "/home/demo/gittest/ovirt-engine/tmp.rpmbuild"/{SPECS,RPMS,SRPMS,SOURCES,BUILD,BUILDROOT}<br>
mkdir -p "output"<br>rpmbuild -ts --define="_topdir /home/demo/gittest/ovirt-engine/tmp.rpmbuild" "ovirt-engine-3.3.0_master.tar.gz"<br>Wrote: /home/demo/gittest/ovirt-engine/tmp.rpmbuild/SRPMS/ovirt-engine-3.3.0-0.2.master.20130621014614.fc18.src.rpm<br>
mv "/home/demo/gittest/ovirt-engine/tmp.rpmbuild/SRPMS"/*.rpm "output"<br>rm -rf "/home/demo/gittest/ovirt-engine/tmp.rpmbuild"<br><br>srpm is ready at output<br><br>rm -rf "/home/demo/gittest/ovirt-engine/tmp.rpmbuild"<br>
mkdir -p "/home/demo/gittest/ovirt-engine/tmp.rpmbuild"/{SPECS,RPMS,SRPMS,SOURCES,BUILD,BUILDROOT}<br>mkdir -p "output"<br>rpmbuild --define="_topdir /home/demo/gittest/ovirt-engine/tmp.rpmbuild" --rebuild "output/ovirt-engine-3.3.0*.src.rpm"<br>
error: cannot open output/ovirt-engine-3.3.0*.src.rpm: No such file or directory<br>make: *** [rpm] Error 1<br></div>