[packages/libjpeg-turbo] use %use_default_jdk only if available (for src builder)
atler
atler at pld-linux.org
Wed Feb 8 11:38:53 CET 2023
commit e641ba6a15b4672dcb8c6bcb21ba5424a5e8ca9e
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Feb 8 11:37:33 2023 +0100
use %use_default_jdk only if available (for src builder)
libjpeg-turbo.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libjpeg-turbo.spec b/libjpeg-turbo.spec
index 104abb3..7b4281a 100644
--- a/libjpeg-turbo.spec
+++ b/libjpeg-turbo.spec
@@ -5,7 +5,7 @@
#
%define libjpeg_ver 8c
%define libjpeg_ver_lt 9-1
-%use_default_jdk
+%{?use_default_jdk}
Summary: SIMD accelerated library for manipulating JPEG image files
Summary(pl.UTF-8): Biblioteka do obróbki plików obrazów JPEG z akceleracją SIMD
Name: libjpeg-turbo
@@ -26,7 +26,7 @@ BuildRequires: libstdc++-devel
%ifarch %{ix86} %{x8664}
BuildRequires: nasm
%endif
-BuildRequires: rpmbuild(macros) >= 2.021
+BuildRequires: rpmbuild(macros) >= 2.022
Provides: libjpeg = %{libjpeg_ver}
Obsoletes: libjpeg < %{libjpeg_ver_lt}
Obsoletes: libjpegsimd < 7
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libjpeg-turbo.git/commitdiff/e641ba6a15b4672dcb8c6bcb21ba5424a5e8ca9e
More information about the pld-cvs-commit
mailing list