[packages/zathura-pdf-mupdf] strict plugin api/abi R:

atler atler at pld-linux.org
Sun Aug 4 14:05:34 CEST 2024


commit 262c10e8a3946ba9cd72fd36638853a2b7b36160
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Aug 4 14:05:21 2024 +0200

    strict plugin api/abi R:

 zathura-pdf-mupdf.spec | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/zathura-pdf-mupdf.spec b/zathura-pdf-mupdf.spec
index 7382d4e..75d338f 100644
--- a/zathura-pdf-mupdf.spec
+++ b/zathura-pdf-mupdf.spec
@@ -1,3 +1,6 @@
+%define		_zathura_api_ver	%(pkg-config --variable=apiversion zathura)
+%define		_zathura_abi_ver	%(pkg-config --variable=abiversion zathura)
+
 Summary:	mupdf based PDF plugin for zathura
 Summary(pl.UTF-8):	Wtyczka PDF dla zathury oparta na silniku mupdf
 Name:		zathura-pdf-mupdf
@@ -28,6 +31,8 @@ Requires(post,postun):	desktop-file-utils
 Requires:	girara >= 0.2.3
 %requires_eq_to	mupdf-libs mupdf-devel
 Requires:	zathura >= 0.5.2
+Requires:	zathura(plugin-abi) = %_zathura_abi_ver
+Requires:	zathura(plugin-api) = %_zathura_api_ver
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list