[packages/inchi] - same-arch dependencies

qboosh qboosh at pld-linux.org
Sun Nov 29 15:49:27 CET 2026


commit 143c7d39d4ad750de7ce0c7c22ddc9c0049de4f3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Nov 29 15:49:35 2026 +0100

    - same-arch dependencies

 inchi.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/inchi.spec b/inchi.spec
index b8c4bc2..7eb24d2 100644
--- a/inchi.spec
+++ b/inchi.spec
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-%bcond_without	tests		# build without tests
+%bcond_without	tests		# executable tests
 
 %define inchi_so_ver 1.07
 Summary:	The IUPAC International Chemical Identifier library
@@ -18,7 +18,8 @@ BuildRequires:	cmake >= 3.21
 %if %{with tests}
 BuildRequires:	python3-pytest
 %endif
-Requires:	%{name}-libs = %{version}-%{release}
+BuildRequires:	rpmbuild(macros) >= 1.605
+Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -66,7 +67,7 @@ Szczegóły projektu i historię postępów można znaleźć na stronie WWW.
 Summary:	Development headers for the InChI library
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki InChI
 Group:		Development/Libraries
-Requires:	%{name}-libs = %{version}-%{release}
+Requires:	%{name}-libs%{?_isa} = %{version}-%{release}
 
 %description devel
 This package includes the header files necessary for developing
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/inchi.git/commitdiff/143c7d39d4ad750de7ce0c7c22ddc9c0049de4f3



More information about the pld-cvs-commit mailing list