[packages/openpace] conditionally require swig language support

atler atler at pld-linux.org
Tue Nov 29 17:08:12 CET 2022


commit d3a1aafdfa6f62689e575b6270a5e72b07c7e993
Author: Jan Palus <jpalus at fastmail.com>
Date:   Tue Nov 29 17:07:45 2022 +0100

    conditionally require swig language support

 openpace.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/openpace.spec b/openpace.spec
index 27e311d..3084f40 100644
--- a/openpace.spec
+++ b/openpace.spec
@@ -35,8 +35,8 @@ BuildRequires:	pkgconfig
 %{?with_ruby:BuildRequires:	ruby-devel}
 BuildRequires:	sphinx-pdg
 BuildRequires:	swig
-BuildRequires:	swig-python
-BuildRequires:	swig-ruby
+%{?with_python:BuildRequires:	swig-python}
+%{?with_ruby:BuildRequires:	swig-ruby}
 Requires:	openssl >= 1.0.2
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openpace.git/commitdiff/d3a1aafdfa6f62689e575b6270a5e72b07c7e993



More information about the pld-cvs-commit mailing list