Bug 802124 - make rpm and srpm uses `git ls-files` to populate which files to compress.
Summary: make rpm and srpm uses `git ls-files` to populate which files to compress.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-installer
Version: unspecified
Hardware: All
OS: All
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Ofer Schreiber
QA Contact:
URL:
Whiteboard: integration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-11 14:01 UTC by Raboo
Modified: 2012-12-17 07:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-17 07:26:14 UTC
oVirt Team: ---


Attachments (Terms of Use)

Description Raboo 2012-03-11 14:01:47 UTC
I wanna create rpms from the source, latest stable tarball.

[root@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@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?

Comment 1 Ofer Schreiber 2012-05-08 07:59:47 UTC
`git ls-files` is the best option so far.
If you'd like to create new rpm, you probably want to use git.

Comment 2 Itamar Heim 2012-12-17 07:26:14 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.


Note You need to log in before you can comment on or make changes to this bug.