summaryrefslogtreecommitdiffstats
path: root/vips.spec
diff options
context:
space:
mode:
Diffstat (limited to 'vips.spec')
-rw-r--r--vips.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/vips.spec b/vips.spec
index 0d4d2a4..1a02f85 100644
--- a/vips.spec
+++ b/vips.spec
@@ -24,16 +24,17 @@
%else
%global with_libimagequant 0
%endif
-
-%global with_libheif 0
+# from mock config, when rpmfusion enabled
+%global with_libheif 0%{?_with_rpmfusion:1}
%if %{with_libheif}
Name: vips-full
+Release: 2%{?dist}
%else
Name: vips
+Release: 1%{?dist}
%endif
Version: %{vips_version}%{?vips_prever:~%{vips_prever}}
-Release: 1%{?dist}
Summary: C/C++ library for processing large images
License: LGPLv2+