]> git.pld-linux.org Git - packages/pngquant.git/commitdiff
- renamed gomp bcond to compiler-agnostic openmp
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 6 Mar 2016 11:15:08 +0000 (12:15 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 6 Mar 2016 11:15:08 +0000 (12:15 +0100)
pngquant.spec

index ac384288ae1b8b662b61c7ad242c2870aefc9d39..848fa3b58d2e0eec9c2e29846cb4a6bc711484f2 100644 (file)
@@ -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}
 
This page took 0.089967 seconds and 4 git commands to generate.