Package: libdnf / 0.75.0-1

Metadata

Package Version Patches format
libdnf 0.75.0-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 CMakeLists.txt append libsolv cmake path.patch | (download)

CMakeLists.txt | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 [patch] cmakelists.txt: append libsolv cmake path

Make sure cmake finds FindLibSolv.cmake installed
in ${CMAKE_INSTALL_PREFIX}/share/cmake/libsolv.

0002 Use static libcheck version.patch | (download)

tests/hawkey/CMakeLists.txt | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 [patch] use static libcheck version.

Within Debian, only the static libcheck library is shipped. Use it correctly,
since the static library requires additional private libraries and definitions.

0003 Set the default disttype to RPM.patch | (download)

libdnf/dnf-sack.cpp | 2 2 + 0 - 0 !
tests/hawkey/test_iutil.cpp | 7 7 + 0 - 0 !
2 files changed, 9 insertions(+)

 [patch] set the default disttype to rpm.

On "foreign" systems, including Debian, libsolv tries to be smart and default
to the native packaging system type. We need to explicitly override it to use
RPM for dnf to work.

0004 Enable implicitobsoleteusescolors flag.patch | (download)

libdnf/dnf-sack.cpp | 1 1 + 0 - 0 !
tests/hawkey/test_iutil.cpp | 9 9 + 0 - 0 !
2 files changed, 10 insertions(+)

 [patch] enable implicitobsoleteusescolors flag.

This flag is normally enabled by default in libsolv if compiled on Fedora or
Mageia systems, but disabled for all others. Since we explicitly want to
support Fedora (and CentOS/RHEL) repositories with DNF, enable this feature for
correct resolution.

0007 Support Debian releases without explicit version.patch | (download)

libdnf/dnf-context.cpp | 42 39 + 3 - 0 !
1 file changed, 39 insertions(+), 3 deletions(-)

 [patch] support debian releases without explicit version.

On Debian, some series have no version. Most notably testing, unstable and
experimental.

We have to take this into account, because a missing VERSION_ID tag leads to
test case failures (bad) and DNF context setup failures (much worse).

Fake the version in such a case.

0008 Workaround hawkey test failures with CK_FORK no.patch | (download)

tests/hawkey/test_goal.cpp | 21 21 + 0 - 0 !
1 file changed, 21 insertions(+)

 [patch] workaround hawkey test failures with ck_fork=no.

For a description of what is happening here and a rational of why this might
just be okay for us, see the source code comment.

0009 Use private scols_cell_get_alignment with older libs.patch | (download)

libdnf/utils/smartcols/Cell.hpp | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 [patch] use private scols_cell_get_alignment() with older
 libsmartcols

Stretch's version of libsmartcols includes the (binary) symbol, but does not
export it via its API, probably to make the intermediate release
API-compatible.

libdnf needs it, so we'll just declare the function and hope that linking will
be able to pick it up just fine.

For newer versions, that should just turn into a comment.

0011 Set CMAKE_SKIP_RPATH to TRUE.patch | (download)

CMakeLists.txt | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 [patch] set cmake_skip_rpath to true


0012 data workaround for hardcoded absolute path data in .patch | (download)

CMakeLists.txt | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 [patch] data: workaround for hardcoded absolute path data in
 variables

We use clean env for each build to use /tmp as location. This is
a temporary solution until upstream/we found a better way for that.

0013 python tests fix locale issues.patch | (download)

python/hawkey/tests/tests/base.py | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 [patch] python tests: fix locale issues

It has been observed that manipulating locales in Debian
environment, tests are failing.

======================================================================
ERROR: test_custom_querying (tests.test_reldep.Reldep)

0014 css utf8.patch | (download)

docs/libdnf/html/common.css | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix utf8 character