aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
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 /URPM.xs
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
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs2
1 files changed, 2 insertions, 0 deletions
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;