[Users] Make dependant on git

Elias Abacioglu elias.rabi at gmail.com
Fri Mar 9 15:39:24 UTC 2012


Hi,

I wanna create rpms from the source, latest stable tarball.

[root at virtual ovirt-engine]# make rpm
tar zcf ovirt-engine-3.0.0_0001.tar.gz `git ls-files`
fatal: Not a git repository (or any of the parent directories): .git
tar: Cowardly refusing to create an empty archive
Try `tar --help' or `tar --usage' for more information.
make: *** [ovirt-engine-3.0.0_0001.tar.gz] Error 2

[root at virtual ovirt-engine]# make srpm
tar zcf ovirt-engine-3.0.0_0001.tar.gz `git ls-files`
fatal: Not a git repository (or any of the parent directories): .git
tar: Cowardly refusing to create an empty archive
Try `tar --help' or `tar --usage' for more information.
make: *** [ovirt-engine-3.0.0_0001.tar.gz] Error 2

Problem is I did not fetch ovirt git repo.
Shouldn't tar populate the files it should tar in some other way perhaps?

/Raboo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120309/0faa0ee3/attachment-0001.html>


More information about the Users mailing list