Ofer Schreiber has submitted this change and it was merged.
Change subject: packaging: spec: setup: do not leave empty directories on remove
......................................................................
packaging: spec: setup: do not leave empty directories on remove
when installing files via wildcards, for example:
%{_datadir}/*/*.py
rpm does not record the directory within his archive, so upon removal
this directory is left, while the files are removed.
we do want to avoid the need to specify each file within the spec file,
as source tree is organized properly, we can add the top level.
however, in future if we have the need to split the directory structure
into two packages, we will have to work a bit harder while maintaining
the spec file, we may consider to generate it(?).
Bug-Url:
https://bugzilla.redhat.com/show_bug.cgi?id=988685
Change-Id: I63fe12c6f29ff82588dfabb5df93eaca12154c12
Signed-off-by: Alon Bar-Lev <alonbl(a)redhat.com>
---
M ovirt-engine.spec.in
1 file changed, 1 insertion(+), 6 deletions(-)
Approvals:
Ofer Schreiber: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/17377
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I63fe12c6f29ff82588dfabb5df93eaca12154c12
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alonbl(a)redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl(a)redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschreib(a)redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo(a)redhat.com>