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

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


commit 788f95d24fd06d30e6b459b01ca7b9821ea2c4a3
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Aug 4 14:04:44 2024 +0200

    strict plugin api/abi R:

 zathura-djvu.spec | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/zathura-djvu.spec b/zathura-djvu.spec
index 9f175e4..a18fba7 100644
--- a/zathura-djvu.spec
+++ b/zathura-djvu.spec
@@ -1,3 +1,6 @@
+%define		_zathura_api_ver	%(pkg-config --variable=apiversion zathura)
+%define		_zathura_abi_ver	%(pkg-config --variable=abiversion zathura)
+
 Summary:	DjVu support for zathura
 Summary(pl.UTF-8):	Obsługa DjVu dla zathury
 Name:		zathura-djvu
@@ -24,6 +27,8 @@ BuildRequires:	zathura-devel >= 0.3.8
 Requires(post,postun):	desktop-file-utils
 Requires:	girara >= 0.1.8
 Requires:	zathura >= 0.3.8
+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-djvu.git/commitdiff/788f95d24fd06d30e6b459b01ca7b9821ea2c4a3



More information about the pld-cvs-commit mailing list