commit d005e816d0fdbfbfec22a8308f2baec6fdd6ca72
Author: Leigh Scott <leigh123linux(a)googlemail.com>
Date: Mon Dec 3 09:32:25 2018 +0000
Fix buildrequires for el
libheif.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/libheif.spec b/libheif.spec
index 02a6e52..9f31d7a 100644
--- a/libheif.spec
+++ b/libheif.spec
@@ -11,7 +11,11 @@ BuildRequires: autoconf
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: pkgconfig(libde265)
+%if 0%{?fedora}
BuildRequires: pkgconfig(libjpeg)
+%else
+BuildRequires: libjpeg-devel
+%endif
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(x265)