packaging: spec: add more %dir directives

Change-Id: Ibe880a018dfe4c89fd95af1f6afbd5004a7fe6c7
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>
packaging: spec: add %{name}.conf.d to package

spec requires to own all directories dependencies may use.

Change-Id: I7f750dde95b829716b97f2e7b793dbdb0561f59b
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>
system: info: add user id information

Change-Id: I6b00e6a2310d58aa8efbc825637d73506afe315e
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>
packagers: yum: handle a yum error when no groups

apparently, when querying yum for group, if no groups at all it raises
an exception instead of return empty set. this is unexpected behavior of
an api.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=973383
Change-Id: Ifb1f196006662d6571c7ca80554e0a9a17aaec2a
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>
packagers: yum: drop the local helper

Change-Id: I65e3340bc805811e5e2a41af23bd53386ba340ae
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>
packagers: yum: add explicit destructor to miniyum

Change-Id: Ib75f01b8dd26a9f4d0b8748b45322d5619f34ac3
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>
packager: yum: refresh yum instance at every transaction

yum has long history, especially at the suck where it holds the
include/exclude data.

as we need to handle runtime change in versionlock, we need to force yum
to read the information again.

I would have expected this information will be re-read at every new
transaction... but apparently not.

Change-Id: I35a39253aab15b2be27e73be6ac89fe14c9d3f2a
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>
core: add late setup and early misc to database

Change-Id: I487c92e48133bef63c83e12850f528b6007f79aa
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>
Reported-By: Yedidyah Bar David <didi@redhat.com>
doc: fix typo

Change-Id: I998344c1db5ed4d3446560656299098b7191ad20
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>
Reported-By: Yedidyah Bar David <didi@redhat.com>