aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2019-12-30 04:02:26 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2019-12-30 04:07:11 +0100
commitfcb94dcf1dedf718ad7e2ea8fd2c3d60e366fe10 (patch)
treec2a0d84f2207f76316b32df88b14a16b2b43f91a
parentb9ee460a5a035b6b6f4c1cdad4da31ed19df11e8 (diff)
downloadperl-URPM-fcb94dcf1dedf718ad7e2ea8fd2c3d60e366fe10.tar
perl-URPM-fcb94dcf1dedf718ad7e2ea8fd2c3d60e366fe10.tar.gz
perl-URPM-fcb94dcf1dedf718ad7e2ea8fd2c3d60e366fe10.tar.bz2
perl-URPM-fcb94dcf1dedf718ad7e2ea8fd2c3d60e366fe10.tar.xz
perl-URPM-fcb94dcf1dedf718ad7e2ea8fd2c3d60e366fe10.zip
restore compatibility with rpm build w/o support for zstd
-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;