The package rpms/hyperscan.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/hyperscan.git/commit/?id=cb6bbe29....
Change:
+ExclusiveArch: x86_64
Thanks.
Full change:
============
commit cb6bbe29490bb5a426525aa3cc3403af1b82f47a
Author: jason taylor <jtfas90(a)gmail.com>
Date: Fri May 12 19:28:21 2017 -0400
Initial release
diff --git a/.gitignore b/.gitignore
index e69de29..0ab2077 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/hyperscan-4.4.1.tar.gz
diff --git a/honor-install-paths.patch b/honor-install-paths.patch
new file mode 100644
index 0000000..624ec2f
--- /dev/null
+++ b/honor-install-paths.patch
@@ -0,0 +1,83 @@
+--- CMakeLists.txt 2017-02-28 21:09:48.000000000 -0500
++++ CMakeLists.txt.new 2017-03-07 09:03:54.259147206 -0500
+@@ -15,6 +15,7 @@
+ INCLUDE (CheckLibraryExists)
+ INCLUDE (CheckSymbolExists)
+ include (CMakeDependentOption)
++include (GNUInstallDirs)
+ include (${CMAKE_MODULE_PATH}/platform.cmake)
+ include (${CMAKE_MODULE_PATH}/ragel.cmake)
+
+@@ -36,6 +37,7 @@
+
+ set(BINDIR "${PROJECT_BINARY_DIR}/bin")
+ set(LIBDIR "${PROJECT_BINARY_DIR}/lib")
++set(INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_INCLUDEDIR})
+
+ # First for the generic no-config case
+ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${BINDIR}")
+@@ -435,7 +437,7 @@
+
+ configure_file(libhs.pc.in libhs.pc @ONLY) # only replace @ quoted vars
+ install(FILES ${CMAKE_BINARY_DIR}/libhs.pc
+- DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig")
++ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
+ endif()
+
+ # only set these after all tests are done
+@@ -465,7 +467,7 @@
+ src/hs_compile.h
+ src/hs_runtime.h
+ )
+-install(FILES ${hs_HEADERS} DESTINATION include/hs)
++install(FILES ${hs_HEADERS} DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/hs")
+
+ set (hs_exec_common_SRCS
+ src/alloc.c
+@@ -1151,7 +1153,7 @@
+
+ set_target_properties(hs_runtime PROPERTIES LINKER_LANGUAGE C)
+ if (NOT BUILD_SHARED_LIBS)
+- install(TARGETS hs_runtime DESTINATION lib)
++ install(TARGETS hs_runtime DESTINATION ${CMAKE_INSTALL_LIBDIR})
+ endif()
+
+ if (BUILD_STATIC_AND_SHARED OR BUILD_SHARED_LIBS)
+@@ -1173,9 +1175,9 @@
+ MACOSX_RPATH ON
+ LINKER_LANGUAGE C)
+ install(TARGETS hs_runtime_shared
+- RUNTIME DESTINATION bin
+- ARCHIVE DESTINATION lib
+- LIBRARY DESTINATION lib)
++ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
+ endif()
+
+ if (NOT FAT_RUNTIME)
+@@ -1190,7 +1192,7 @@
+ add_dependencies(hs ragel_Parser)
+
+ if (NOT BUILD_SHARED_LIBS)
+-install(TARGETS hs DESTINATION lib)
++ install(TARGETS hs DESTINATION ${CMAKE_INSTALL_LIBDIR})
+ endif()
+
+ if (BUILD_STATIC_AND_SHARED OR BUILD_SHARED_LIBS)
+@@ -1212,11 +1214,12 @@
+ SOVERSION ${LIB_SOVERSION}
+ MACOSX_RPATH ON)
+ install(TARGETS hs_shared
+- RUNTIME DESTINATION bin
+- ARCHIVE DESTINATION lib
+- LIBRARY DESTINATION lib)
++ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
+ endif()
+
+ if(NOT WIN32)
+ add_subdirectory(examples)
+ endif()
++
diff --git a/hyperscan.spec b/hyperscan.spec
new file mode 100644
index 0000000..5d1df6c
--- /dev/null
+++ b/hyperscan.spec
@@ -0,0 +1,93 @@
+Name: hyperscan
+Version: 4.4.1
+Release: 1%{?dist}
+Summary: High-performance regular expression matching library
+
+License: BSD
+URL:
https://01.org/hyperscan
+Source0:
https://github.com/01org/%{name}/archive/v%{version}.tar.gz#/%{name}-%{ve...
+
+Patch0: honor-install-paths.patch
+
+BuildRequires: boost-devel
+BuildRequires: cmake
+BuildRequires: pcre-devel
+BuildRequires: python
+BuildRequires: ragel
+BuildRequires: sqlite-devel >= 3.0
+BuildRequires: libpcap-devel
+
+Requires: pcre
+
+#package requires SSE support and fails to build on non x86_64 archs
+ExclusiveArch: x86_64
+
+%description
+Hyperscan is a high-performance multiple regex matching library. It
+follows the regular expression syntax of the commonly-used libpcre
+library, but is a standalone library with its own C API.
+
+Hyperscan uses hybrid automata techniques to allow simultaneous
+matching of large numbers (up to tens of thousands) of regular
+expressions and for the matching of regular expressions across streams
+of data.
+
+Hyperscan is typically used in a DPI library stack.
+
+%package devel
+Summary: Libraries and header files for the hyperscan library
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+Hyperscan is a high-performance multiple regex matching library. It
+follows the regular expression syntax of the commonly-used libpcre
+library, but is a standalone library with its own C API.
+
+Hyperscan uses hybrid automata techniques to allow simultaneous
+matching of large numbers (up to tens of thousands) of regular
+expressions and for the matching of regular expressions across streams
+of data.
+
+Hyperscan is typically used in a DPI library stack.
+
+This package provides the libraries, include files and other resources
+needed for developing Hyperscan applications.
+
+%prep
+%autosetup
+
+%build
+%cmake -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_AND_SHARED:BOOL=OFF .
+
+%make_build
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%doc CHANGELOG.md
+%doc README.md
+%license COPYING
+%license LICENSE
+%{_libdir}/*.so.*
+
+%files devel
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/libhs.pc
+%{_includedir}/hs/
+
+%changelog
+* Fri May 12 2017 Jason Taylor <jtfas90(a)gmail.com> - 4.4.1-1
+- Update to latest upstream
+- Add CMakeLists.txt path patch
+- Spec file updates to meet packaging standards
+
+* Fri Sep 2 2016 Jason Taylor <jtfas90(a)gmail.com> - 4.3.1-1
+- Updated to latest upstream release.
+
+* Fri Jul 1 2016 Jason Ish <ish(a)unx.ca> - 4.2.0-1
+- Initial package of Hyperscan.
diff --git a/sources b/sources
index e69de29..c146b10 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (hyperscan-4.4.1.tar.gz) =
5e3463061110f81ad145dccf566f8308eed7bfd6711af59461b59903dd77b20963df3dd0f0ec8fc925837e76b658352b420b1ce210c4c91a4cb128a4d5f83056