The package rpms/simdutf.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/simdutf.git/commit/?id=53c76b8082...
https://src.fedoraproject.org/cgit/rpms/simdutf.git/commit/?id=d9a1295b41....
Change:
+ExcludeArch: s390 s390x
+%ifnarch %{arm}
Thanks.
Full change:
============
commit 14bc6039329ecfd52840484d32a495cfbcda6f05
Author: aekoroglu <aekoroglu(a)linux.intel.com>
Date: Fri Dec 23 14:03:37 2022 +0200
devel version control
diff --git a/simdutf.spec b/simdutf.spec
index b816d25..108332d 100644
--- a/simdutf.spec
+++ b/simdutf.spec
@@ -23,6 +23,7 @@ characters per second using SSE2, AVX2, NEON, AVX-512.
%package devel
Summary: Development files for %{name}
+Requires: simdutf = %{version}-%{release}
%description devel
The package contains libraries and header files for developing applications
commit a53705bb99a5f2c92e37a1010e80af9e86f16b05
Author: aekoroglu <aekoroglu(a)linux.intel.com>
Date: Fri Dec 23 12:10:04 2022 +0200
delete accidental add
diff --git a/simdutf-2.0.9-1.fc38.src.rpm b/simdutf-2.0.9-1.fc38.src.rpm
deleted file mode 100644
index a1014a2..0000000
Binary files a/simdutf-2.0.9-1.fc38.src.rpm and /dev/null differ
commit cbbcba2246fcc084d83688fab65eaddb27f8b8dd
Author: aekoroglu <aekoroglu(a)linux.intel.com>
Date: Fri Dec 23 12:05:24 2022 +0200
update to 2.0.9
diff --git a/simdutf-2.0.9-1.fc38.src.rpm b/simdutf-2.0.9-1.fc38.src.rpm
new file mode 100644
index 0000000..a1014a2
Binary files /dev/null and b/simdutf-2.0.9-1.fc38.src.rpm differ
diff --git a/simdutf-fix-cmake.patch b/simdutf-fix-cmake.patch
index 8dfe2d2..3c59633 100644
--- a/simdutf-fix-cmake.patch
+++ b/simdutf-fix-cmake.patch
@@ -1,24 +1,6 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 3a41c60..9b66f11 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -34,11 +34,6 @@ else()
- endif(BUILD_TESTING)
-
-
--if(CMAKE_CXX_COMPILER_ID MATCHES GNU AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 8.0)
-- message(STATUS "The benchmark tool requires GCC 8.0 or better.")
--else()
-- add_subdirectory(tools)
--endif()
-
- if (SIMDUTF_BENCHMARKS)
- if((CMAKE_CXX_COMPILER_ID MATCHES GNU) AND (CMAKE_CXX_COMPILER_VERSION VERSION_LESS
"8.0"))
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index f3ede1e..91a1bdd 100644
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -3,7 +3,7 @@ target_include_directories(simdutf-include-source▽g INTERFACE
$<BUILD_INTERFACE:${
+--- a/src/CMakeLists.txt 2022-12-23 10:53:24.769274200 +0200
++++ b/src/CMakeLists.txt 2022-12-23 10:54:04.678101690 +0200
+@@ -3,7 +3,7 @@
add_library(simdutf-source INTERFACE)
target_sources(simdutf-source INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>/simdutf.cpp)
target_link_libraries(simdutf-source INTERFACE simdutf-include-source)
@@ -27,19 +9,3 @@ index f3ede1e..91a1bdd 100644
target_include_directories(simdutf PRIVATE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> )
target_include_directories(simdutf PUBLIC
"$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>")
-diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
-index 3af1e39..e1223c1 100644
---- a/tools/CMakeLists.txt
-+++ b/tools/CMakeLists.txt
-@@ -17,11 +17,6 @@ else(Iconv_FOUND)
- message(STATUS "Iconv was not found!")
- endif(Iconv_FOUND)
-
--if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR (CMAKE_CXX_COMPILER_ID STREQUAL
"Clang"))
-- target_link_options(sutf PRIVATE "-static-libstdc++")
-- target_link_options(sutf PRIVATE "-Wl,--gc-sections")
-- endif()
--
- set_property(TARGET sutf PROPERTY CXX_STANDARD 17)
- set_property(TARGET sutf PROPERTY CXX_STANDARD_REQUIRED ON)
-
diff --git a/simdutf.spec b/simdutf.spec
index 3537cf7..b816d25 100644
--- a/simdutf.spec
+++ b/simdutf.spec
@@ -1,10 +1,9 @@
Name: simdutf
-Version: 2.0.2
+Version: 2.0.9
Release: %autorelease
Summary: Unicode validation and transcoding at billions of characters per second
License: Apache-2.0 AND BSD-3-Clause
-# All files are Apache-2.0, except simdutf-2.0.2/include/simdutf/internal/isadetection.h
is BSD-3-Clause
URL:
https://github.com/simdutf/simdutf
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
@@ -30,11 +29,10 @@ The package contains libraries and header files for developing
applications
that use %{name}.
%prep
-%autosetup -n %{name}-%{version} -p1
-rm -rf benchmarks
+%autosetup -p1 -n %{name}-%{version}
%build
-%cmake -DSIMDUTF_BENCHMARKS=OFF
+%cmake -DSIMDUTF_BENCHMARKS=OFF -DSIMDUTF_TOOLS=OFF
%cmake_build
%install
@@ -43,10 +41,12 @@ rm -rf benchmarks
%check
%ctest
+%ldconfig_scriptlets
+
%files
%license LICENSE-APACHE
%doc AUTHORS README.md
-%{_libdir}/lib%{name}*.so.*
+%{_libdir}/lib%{name}.so.*
%files devel
%{_includedir}/%{name}.h
diff --git a/sources b/sources
index 1017305..852fcac 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (simdutf-2.0.2.tar.gz) =
55488dc231b307db77c4c10c8cfba41564ed88c6dc6f50c4b878fcf38655673ff180e1e288f25956add8c545ef45c3bdada90f9737d599c713e3b4ed704c5d3a
+SHA512 (simdutf-2.0.9.tar.gz) =
924c1d31a5967096071e9fcd1d654582dd66b6b5be04389d1970d7eca6f43c944b85171c6dafd9729cb79155a02967b70bdd64fb67c5aaf5508f6cc3a2326215
commit 53c76b808224a9dfac5007e9c94c3b406eab0122
Author: aekoroglu <aekoroglu(a)linux.intel.com>
Date: Fri Nov 11 10:39:48 2022 +0200
exclude s390 and s390x
diff --git a/simdutf.spec b/simdutf.spec
index 92fa478..3537cf7 100644
--- a/simdutf.spec
+++ b/simdutf.spec
@@ -10,6 +10,8 @@ Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
Patch0: simdutf-fix-cmake.patch
+ExcludeArch: s390 s390x
+
BuildRequires: cmake
BuildRequires: gcc-c++
%ifnarch %{arm}
commit d9a1295b41b092b6103151eab40b10466b50fe24
Author: aekoroglu <aekoroglu(a)linux.intel.com>
Date: Fri Nov 11 10:17:52 2022 +0200
1st fedora release
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..d3a1b07
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/simdutf-*.tar.gz
diff --git a/simdutf-fix-cmake.patch b/simdutf-fix-cmake.patch
new file mode 100644
index 0000000..8dfe2d2
--- /dev/null
+++ b/simdutf-fix-cmake.patch
@@ -0,0 +1,45 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 3a41c60..9b66f11 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -34,11 +34,6 @@ else()
+ endif(BUILD_TESTING)
+
+
+-if(CMAKE_CXX_COMPILER_ID MATCHES GNU AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 8.0)
+- message(STATUS "The benchmark tool requires GCC 8.0 or better.")
+-else()
+- add_subdirectory(tools)
+-endif()
+
+ if (SIMDUTF_BENCHMARKS)
+ if((CMAKE_CXX_COMPILER_ID MATCHES GNU) AND (CMAKE_CXX_COMPILER_VERSION VERSION_LESS
"8.0"))
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index f3ede1e..91a1bdd 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -3,7 +3,7 @@ target_include_directories(simdutf-include-source▽g INTERFACE
$<BUILD_INTERFACE:${
+ add_library(simdutf-source INTERFACE)
+ target_sources(simdutf-source INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>/simdutf.cpp)
+ target_link_libraries(simdutf-source INTERFACE simdutf-include-source)
+-add_library(simdutf STATIC simdutf.cpp)
++add_library(simdutf simdutf.cpp)
+ target_include_directories(simdutf PRIVATE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> )
+ target_include_directories(simdutf PUBLIC
"$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>")
+
+diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
+index 3af1e39..e1223c1 100644
+--- a/tools/CMakeLists.txt
++++ b/tools/CMakeLists.txt
+@@ -17,11 +17,6 @@ else(Iconv_FOUND)
+ message(STATUS "Iconv was not found!")
+ endif(Iconv_FOUND)
+
+-if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR (CMAKE_CXX_COMPILER_ID STREQUAL
"Clang"))
+- target_link_options(sutf PRIVATE "-static-libstdc++")
+- target_link_options(sutf PRIVATE "-Wl,--gc-sections")
+- endif()
+-
+ set_property(TARGET sutf PROPERTY CXX_STANDARD 17)
+ set_property(TARGET sutf PROPERTY CXX_STANDARD_REQUIRED ON)
+
diff --git a/simdutf.spec b/simdutf.spec
new file mode 100644
index 0000000..92fa478
--- /dev/null
+++ b/simdutf.spec
@@ -0,0 +1,56 @@
+Name: simdutf
+Version: 2.0.2
+Release: %autorelease
+Summary: Unicode validation and transcoding at billions of characters per second
+
+License: Apache-2.0 AND BSD-3-Clause
+# All files are Apache-2.0, except simdutf-2.0.2/include/simdutf/internal/isadetection.h
is BSD-3-Clause
+URL:
https://github.com/simdutf/simdutf
+Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+
+Patch0: simdutf-fix-cmake.patch
+
+BuildRequires: cmake
+BuildRequires: gcc-c++
+%ifnarch %{arm}
+BuildRequires: libasan
+%endif
+
+%description
+Unicode (UTF8, UTF16, UTF32) validation and transcoding at billions of
+characters per second using SSE2, AVX2, NEON, AVX-512.
+
+%package devel
+Summary: Development files for %{name}
+
+%description devel
+The package contains libraries and header files for developing applications
+that use %{name}.
+
+%prep
+%autosetup -n %{name}-%{version} -p1
+rm -rf benchmarks
+
+%build
+%cmake -DSIMDUTF_BENCHMARKS=OFF
+%cmake_build
+
+%install
+%cmake_install
+
+%check
+%ctest
+
+%files
+%license LICENSE-APACHE
+%doc AUTHORS README.md
+%{_libdir}/lib%{name}*.so.*
+
+%files devel
+%{_includedir}/%{name}.h
+%{_includedir}/%{name}
+%{_libdir}/cmake/%{name}
+%{_libdir}/lib%{name}*.so
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..1017305
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (simdutf-2.0.2.tar.gz) =
55488dc231b307db77c4c10c8cfba41564ed88c6dc6f50c4b878fcf38655673ff180e1e288f25956add8c545ef45c3bdada90f9737d599c713e3b4ed704c5d3a