The package rpms/nativejit.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/nativejit.git/commit/?id=914334ae....
Change:
+ExclusiveArch: x86_64
Thanks.
Full change:
============
commit 914334ae9db5c8745b7a770f16ff7a6b185cbcc5
Author: Antonio Trande <3974791-anto.trande(a)users.noreply.gitlab.com>
Date: Thu Mar 11 11:07:49 2021 +0100
First commit
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..f1b8339
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/nativejit-v0.1.tar.bz2
diff --git a/nativejit.spec b/nativejit.spec
new file mode 100644
index 0000000..beceb24
--- /dev/null
+++ b/nativejit.spec
@@ -0,0 +1,85 @@
+## This SPEC file compiles NativeJIT library including specific modifications for
+# COPASI project (see COPASI package).
+## NativeJIT code (fork) repository from COPASI team:
https://github.com/copasi/copasi-dependencies/tree/master/src/NativeJIT
+## Original NativeJIT repository:
https://github.com/BitFunnel/NativeJIT
+
+# This library works specifically on x86_64 systems with SSE4 (Streaming SIMD Extensions
4)
+# See
https://pagure.io/packaging-committee/issue/1044
+ExclusiveArch: x86_64
+
+Name: nativejit
+Version: 0.1
+Release: 1%{?dist}
+Summary: Library for high-performance just-in-time compilation
+License: MIT
+URL:
https://github.com/copasi/copasi-dependencies/tree/master/src/NativeJIT
+Source0:
https://gitlab.com/anto.trande/nativejit/-/archive/v%{version}/nativejit-...
+
+BuildRequires: cmake3, gcc, gcc-c++, make
+BuildRequires: gtest-devel
+
+Provides: NativeJIT = 0:%{version}-%{release}
+
+%description
+NativeJIT is an open-source cross-platform library for high-performance
+just-in-time compilation of expressions involving C data structures.
+The compiler is light weight and fast and it takes no dependencies
+beyond the standard C++ runtime. It runs on Linux, OSX, and Windows.
+The generated code is optimized with particular attention paid to
+register allocation.
+It requires CPUs with SSE4 (Streaming SIMD Extensions 4).
+
+%package devel
+Summary: NativeJIT headers and development-related files
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: cmake%{?_isa}
+%description devel
+NativeJIT headers and development-related files, CMake config files.
+
+%prep
+%autosetup -n %{name}-v%{version}
+
+%build
+%cmake \
+ -DCMAKE_BUILD_TYPE:STRING=Release \
+ -DCMAKE_CXX_FLAGS_RELEASE:STRING="%{build_cxxflags} -DNDEBUG" \
+ -DCMAKE_C_FLAGS_RELEASE:STRING="%{build_cflags} -DNDEBUG" \
+ -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES \
+ -DNATIVEJIT_VERSION_MAJOR=0 -DNATIVEJIT_VERSION=0
+%cmake_build
+
+%install
+%cmake_install
+
+%check
+if grep -E '\bsse4_2\b' /proc/cpuinfo >/dev/null
+then
+ %ctest -- -VV
+else
+ echo 'No SSE4.2 support on build host; skipping tests' 1>&2
+fi
+
+
+%files
+%license LICENSE.txt
+%doc README.md
+%{_libdir}/libCodeGen.so.0
+%{_libdir}/libNativeJIT.so.0
+
+%files devel
+%{_libdir}/libCodeGen.so
+%{_libdir}/libNativeJIT.so
+%{_includedir}/NativeJIT/
+%{_includedir}/Temporary/
+%{_libdir}/cmake/nativejit*.cmake
+
+%changelog
+* Fri Mar 05 2021 Antonio Trande <sagitter(a)fedoraproject.org> - 0.1-1
+- Fix links to CodeGen library
+
+* Thu Mar 04 2021 Antonio Trande <sagitter(a)fedoraproject.org> - 0.0-2
+- Conditional test when SSE4 in available
+- Add explicit comments about SSE4
+
+* Tue Mar 02 2021 Antonio Trande <sagitter(a)fedoraproject.org> - 0.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..39ea993
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (nativejit-v0.1.tar.bz2) =
7b440cb897f63399cdcf05640116ed1317dcdfcc12c0ed4cda883f3ee69f7b67c71dd681688b43a394a9d3d74964b0d65b40e4bb27478fca812949abbe5e9485