Skip to content

Commit

Permalink
libdnf: Bump and disable html and man pages
Browse files Browse the repository at this point in the history
Skip building man pages and HTML docs for our embedded libdnf to speed
up builds.

This bump also pulls in a fix to ensure we never try to install src
packages from `dnf_context_install()`.

See: projectatomic/libdnf#3

Update submodule: libdnf

Closes: #1463
Approved by: jlebon
  • Loading branch information
jlebon authored and rh-atomic-bot committed Jul 24, 2018
1 parent b66337e commit c016509
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,8 @@ dnl arbitrary path - we don't actually install there.
-DSHARE_INSTALL_PREFIX:PATH=/usr/libexec/rpm-ostree/share \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DWITH_SWDB:BOOL=0 \
-DWITH_HTML:BOOL=0 \
-DWITH_MAN:BOOL=0 \
${cmake_args} ../libdnf) || exit 1

AC_CONFIG_FILES([
Expand Down
2 changes: 1 addition & 1 deletion libdnf
2 changes: 1 addition & 1 deletion src/libpriv/rpmostree-rpm-util.c
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@ rpmostree_get_matching_packages (DnfSack *sack,
HySubject subject = NULL;

subject = hy_subject_create (pattern);
selector = hy_subject_get_best_selector (subject, sack);
selector = hy_subject_get_best_selector (subject, sack, false);
matches = hy_selector_matches (selector);

hy_selector_free (selector);
Expand Down

0 comments on commit c016509

Please sign in to comment.