The package rpms/intel-gmmlib.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/intel-gmmlib.git/commit/?id=01f14....
Change:
+ExclusiveArch: x86_64 i686
Thanks.
Full change:
============
commit 01f14976f568dfeb7d584ea2caaf3534e08bb8be
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Oct 9 17:29:07 2018 +0200
Initial import
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9fcce9c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+intel-gmmlib-*.tar.gz
diff --git a/intel-gmmlib.spec b/intel-gmmlib.spec
new file mode 100644
index 0000000..7faf8ee
--- /dev/null
+++ b/intel-gmmlib.spec
@@ -0,0 +1,78 @@
+Name: intel-gmmlib
+Version: 18.3.0
+Release: 1%{?dist}
+Summary: Intel Graphics Memory Management Library
+
+License: MIT and BSD
+URL:
https://github.com/intel/gmmlib
+Source0: %{url}/archive/%{name}-%{version}.tar.gz
+
+# This package relies on intel asm
+ExclusiveArch: x86_64 i686
+
+BuildRequires: cmake
+BuildRequires: gcc
+BuildRequires: gcc-c++
+
+%description
+The Intel Graphics Memory Management Library provides device specific
+and buffer management for the Intel Graphics Compute Runtime for OpenCL
+and the Intel Media Driver for VAAPI.
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%autosetup -p1 -n gmmlib-intel-gmmlib-%{version}
+# Fix license perm
+chmod -x LICENSE.md README.rst
+# Fix source code perm
+find Source -name "*.cpp" -exec chmod -x {} ';'
+find Source -name "*.h" -exec chmod -x {} ';'
+
+
+%build
+mkdir build
+pushd build
+%cmake \
+ -DRUN_TEST_SUITE:BOOL=False \
+ ..
+
+%make_build
+
+popd
+
+
+%install
+pushd build
+%make_install
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
+
+popd
+
+
+%ldconfig_scriptlets
+
+
+%files
+%license LICENSE.md
+%doc README.rst
+%{_libdir}/libigdgmm.so.1*
+
+%files devel
+%{_includedir}/igdgmm
+%{_libdir}/libigdgmm.so
+# We don't use the static library
+%exclude %{_libdir}/libgmm_umd.a
+%{_libdir}/pkgconfig/igdgmm.pc
+
+
+%changelog
+* Mon Oct 08 2018 Nicolas Chauvet <kwizart(a)gmail.com> - 18.3.0-1
+- Initial spec file
diff --git a/sources b/sources
new file mode 100644
index 0000000..e1545e7
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (intel-gmmlib-18.3.0.tar.gz) =
358598873556822be6748a282cd1447ca3e0bcaeb11c2bb8862414bac2ab8e57deee9581fa14bfe22d33d712e567db936332b7fe715dae9816b31121af934dec