aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--URPM.xs2
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 4b87b00..6a33035 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- restore compatibility with rpm build w/o support for zstd
+
Version 5.23 - 23 December 2019
- add support for synthesis compressed with zstd
diff --git a/URPM.xs b/URPM.xs
index 1131f1d..83ab837 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -2898,8 +2898,10 @@ Urpm_parse_synthesis__XS(urpm, filename, ...)
case COMPRESSED_LZMA:
case COMPRESSED_XZ:
t = "r.xz"; break;
+#ifdef RPM4_14_0
case COMPRESSED_ZSTD:
t = "r.zstd"; break;
+#endif
case COMPRESSED_OTHER:
default:
t = "r.gzip"; break;