[packages/zathura-pdf-mupdf] failsafe api/abi query

atler atler at pld-linux.org
Tue Aug 13 12:52:10 CEST 2024


commit 47e08e25169be946d66774bbde73787c3ea96ff3
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Aug 13 11:55:20 2024 +0200

    failsafe api/abi query

 zathura-pdf-mupdf.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/zathura-pdf-mupdf.spec b/zathura-pdf-mupdf.spec
index 75d338f..22fec63 100644
--- a/zathura-pdf-mupdf.spec
+++ b/zathura-pdf-mupdf.spec
@@ -1,5 +1,5 @@
-%define		_zathura_api_ver	%(pkg-config --variable=apiversion zathura)
-%define		_zathura_abi_ver	%(pkg-config --variable=abiversion zathura)
+%define		_zathura_api_ver	%(pkg-config --variable=apiversion zathura 2> /dev/null || echo -1)
+%define		_zathura_abi_ver	%(pkg-config --variable=abiversion zathura 2> /dev/null || echo -1)
 
 Summary:	mupdf based PDF plugin for zathura
 Summary(pl.UTF-8):	Wtyczka PDF dla zathury oparta na silniku mupdf
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/zathura-pdf-mupdf.git/commitdiff/47e08e25169be946d66774bbde73787c3ea96ff3



More information about the pld-cvs-commit mailing list