[packages/pngquant] - renamed gomp bcond to compiler-agnostic openmp

qboosh qboosh at pld-linux.org
Sun Mar 6 12:11:38 CET 2016


commit 0ce2e68e4191a365f675462c4a8d2c79971acd1b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Mar 6 12:15:08 2016 +0100

    - renamed gomp bcond to compiler-agnostic openmp

 pngquant.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/pngquant.spec b/pngquant.spec
index ac38428..848fa3b 100644
--- a/pngquant.spec
+++ b/pngquant.spec
@@ -1,7 +1,7 @@
 #
 # Conditional build:
 %bcond_without	static_libs	# static library
-%bcond_without	gomp		# OpenMP support
+%bcond_without	openmp		# OpenMP support
 %bcond_without	lcms		# LCMS support
 %bcond_with	sse		# SSE instructions
 #
@@ -21,8 +21,8 @@ Source0:	https://pngquant.org/%{name}-%{version}-src.tar.bz2
 Patch0:		%{name}-soname.patch
 Patch1:		%{name}-shared.patch
 URL:		https://pngquant.org/
-%{?with_gomp:BuildRequires:	gcc >= 6:4.2}
-%{?with_gomp:BuildRequires:	libgomp-devel}
+%{?with_openmp:BuildRequires:	gcc >= 6:4.2}
+%{?with_openmp:BuildRequires:	libgomp-devel}
 %{?with_lcms:BuildRequires:	lcms2-devel >= 2}
 BuildRequires:	libpng-devel
 BuildRequires:	pkgconfig
@@ -88,7 +88,7 @@ Statyczna biblioteka libimagequant.
 	--prefix=%{_prefix} \
 	%{?with_sse:--enable-sse} \
 	%{?with_lcms:--with-lcms2} \
-	%{?with_gomp:--with-openmp}
+	%{?with_openmp:--with-openmp}
 
 %{__make} -C lib %{!?with_static_libs:shared}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pngquant.git/commitdiff/0ce2e68e4191a365f675462c4a8d2c79971acd1b



More information about the pld-cvs-commit mailing list