forked from pool/createrepo_c
e375857c81
- Update to 0.12.0 + Add basic support for zchunk metadata + Add support for building wheels to upload to PyPI + Add support for RPMs with large files + Identify Requires(missingok) as Recommends correctly + Enable legacy tags by default + Fix missing packages in mergerepo_c with multiple VR of same name + Add mergerepo_c --repo-prefix-search and --repo-prefix-replace + Build against Python 3 by default for bindings - Backport fixes from upstream * 0001-zck_end_chunk-returns-number-of-bytes-written-or-1-f.patch * 0002-Add-missing-sentinal.patch * 0003-Fix-misc-test.patch - Drop snapshot source service and snapshot tarball - Use license macro for license file - Drop trailing whitespace - Drop Python 2 subpackage - Enable drpm support - Enable zchunk for openSUSE Leap 15.1+ and Tumbleweed - Adjust changes entries to use full author identities OBS-URL: https://build.opensuse.org/request/show/671112 OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/createrepo_c?expand=0&rev=27
27 lines
765 B
Diff
27 lines
765 B
Diff
From 2eb66187dd8ab5840b4c82c18e817d04caa258ca Mon Sep 17 00:00:00 2001
|
|
From: Jonathan Dieter <jdieter@gmail.com>
|
|
Date: Tue, 15 Jan 2019 23:23:47 +0000
|
|
Subject: [PATCH 2/3] Add missing sentinal
|
|
|
|
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
|
|
---
|
|
src/misc.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/misc.c b/src/misc.c
|
|
index ec8667b..288b0eb 100644
|
|
--- a/src/misc.c
|
|
+++ b/src/misc.c
|
|
@@ -1519,7 +1519,7 @@ cr_get_dict_file(const gchar *dir, const gchar *file)
|
|
assert(dict_file);
|
|
|
|
snprintf(dict_file, strlen(file) + 7, "%s.zdict", file);
|
|
- gchar *full_path = g_build_path("/", dir, dict_file);
|
|
+ gchar *full_path = g_build_path("/", dir, dict_file, NULL);
|
|
assert(full_path);
|
|
|
|
free(dict_file);
|
|
--
|
|
2.20.1
|
|
|