libdnf: Bump and disable html and man pages

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: https://github.com/projectatomic/libdnf/pull/3

Update submodule: libdnf

Closes: #1463
Approved by: jlebon
This commit is contained in:
Jonathan Lebon 2018-07-17 12:22:26 -04:00 committed by Atomic Bot
parent b66337e0cb
commit c016509548
3 changed files with 4 additions and 2 deletions

View File

@ -261,6 +261,8 @@ dnl arbitrary path - we don't actually install there.
-DSHARE_INSTALL_PREFIX:PATH=/usr/libexec/rpm-ostree/share \ -DSHARE_INSTALL_PREFIX:PATH=/usr/libexec/rpm-ostree/share \
-DBUILD_SHARED_LIBS:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \
-DWITH_SWDB:BOOL=0 \ -DWITH_SWDB:BOOL=0 \
-DWITH_HTML:BOOL=0 \
-DWITH_MAN:BOOL=0 \
${cmake_args} ../libdnf) || exit 1 ${cmake_args} ../libdnf) || exit 1
AC_CONFIG_FILES([ AC_CONFIG_FILES([

2
libdnf

@ -1 +1 @@
Subproject commit b3fcc53f6f3baf4f51f836f5e1eb54eb82d5df49 Subproject commit a2630dfe8416ce90f283f644fa5cbb936c5327ee

View File

@ -1106,7 +1106,7 @@ rpmostree_get_matching_packages (DnfSack *sack,
HySubject subject = NULL; HySubject subject = NULL;
subject = hy_subject_create (pattern); 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); matches = hy_selector_matches (selector);
hy_selector_free (selector); hy_selector_free (selector);