public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libyuv] epel10: Next version
@ 2026-11-03 5:52 Peter Lemenkov
0 siblings, 0 replies; only message in thread
From: Peter Lemenkov @ 2026-11-03 5:52 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/libyuv
Branch : epel10
Commit : 0b30f0c397c3cc0de569eaf186b3030cd0f864c4
Author : Peter Lemenkov <lemenkov@gmail.com>
Date : 2026-02-23T00:19:06+01:00
Stats : +176/-174 in 14 file(s)
URL : https://src.fedoraproject.org/rpms/libyuv/c/0b30f0c397c3cc0de569eaf186b3030cd0f864c4?branch=epel10
Log:
Next version
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
---
diff --git a/6067afde563c3946eebd94f146b3824ab7a97a9c.tar.gz b/6067afde563c3946eebd94f146b3824ab7a97a9c.tar.gz
new file mode 100644
index 0000000..6573cf9
Binary files /dev/null and b/6067afde563c3946eebd94f146b3824ab7a97a9c.tar.gz differ
diff --git a/libyuv-0001-Move-Linux-variables-to-the-top.patch b/libyuv-0001-Move-Linux-variables-to-the-top.patch
deleted file mode 100644
index aa737f5..0000000
--- a/libyuv-0001-Move-Linux-variables-to-the-top.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From: Peter Lemenkov <lemenkov@gmail.com>
-Date: Wed, 5 Jun 2024 20:51:34 +0200
-Subject: [PATCH] Move Linux variables to the top
-
-Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 6dfc93ce..aae18296 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -6,6 +6,9 @@ PROJECT ( YUV C CXX ) # "C" is required even for C++ projects
- CMAKE_MINIMUM_REQUIRED( VERSION 2.8.12 )
- OPTION( UNIT_TEST "Built unit tests" OFF )
-
-+# create the .deb and .rpm packages using cpack
-+INCLUDE ( CM_linux_packages.cmake )
-+
- SET ( ly_base_dir ${PROJECT_SOURCE_DIR} )
- SET ( ly_src_dir ${ly_base_dir}/source )
- SET ( ly_inc_dir ${ly_base_dir}/include )
-@@ -190,7 +193,3 @@ INSTALL ( PROGRAMS ${CMAKE_BINARY_DIR}/yuvconvert DESTINATION bin )
- INSTALL ( TARGETS ${ly_lib_static} DESTINATION lib )
- INSTALL ( TARGETS ${ly_lib_shared} LIBRARY DESTINATION lib RUNTIME DESTINATION bin )
- INSTALL ( DIRECTORY ${PROJECT_SOURCE_DIR}/include/ DESTINATION include )
--
--# create the .deb and .rpm packages using cpack
--INCLUDE ( CM_linux_packages.cmake )
--
diff --git a/libyuv-0001-Use-a-proper-so-version.patch b/libyuv-0001-Use-a-proper-so-version.patch
new file mode 100644
index 0000000..3e02518
--- /dev/null
+++ b/libyuv-0001-Use-a-proper-so-version.patch
@@ -0,0 +1,18 @@
+From: Peter Lemenkov <lemenkov@gmail.com>
+Date: Fri, 21 Sep 2018 12:45:55 +0200
+Subject: [PATCH] Use a proper so-version
+
+Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 77e0527f..e714e375 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -176,6 +176,7 @@ add_library( ${ly_lib_static} STATIC ${ly_lib_parts})
+ add_library( ${ly_lib_shared} SHARED ${ly_lib_parts})
+ set_target_properties( ${ly_lib_shared} PROPERTIES OUTPUT_NAME "${ly_lib_name}" )
+ set_target_properties( ${ly_lib_shared} PROPERTIES PREFIX "lib" )
++set_target_properties( ${ly_lib_shared} PROPERTIES VERSION "0.0.${LIBYUV_VERSION}" SOVERSION 0)
+ if(WIN32)
+ set_target_properties( ${ly_lib_shared} PROPERTIES IMPORT_PREFIX "lib" )
+ endif()
diff --git a/libyuv-0002-Link-against-shared-library.patch b/libyuv-0002-Link-against-shared-library.patch
new file mode 100644
index 0000000..689f367
--- /dev/null
+++ b/libyuv-0002-Link-against-shared-library.patch
@@ -0,0 +1,28 @@
+From: Peter Lemenkov <lemenkov@gmail.com>
+Date: Fri, 21 Sep 2018 12:47:42 +0200
+Subject: [PATCH] Link against shared library
+
+Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index e714e375..bffceba3 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -183,7 +183,7 @@ endif()
+
+ # this creates the cpuid tool
+ add_executable ( cpuid ${ly_base_dir}/util/cpuid.c )
+-target_link_libraries ( cpuid ${ly_lib_static} )
++target_link_libraries ( cpuid ${ly_lib_shared} )
+
+ # this creates the conversion tool
+ add_executable ( yuvconvert ${ly_base_dir}/util/yuvconvert.cc )
+@@ -221,7 +221,7 @@ if(UNIT_TEST)
+ endif()
+
+ add_executable(libyuv_unittest ${ly_unittest_sources})
+- target_link_libraries(libyuv_unittest ${ly_lib_name} ${GTEST_LIBRARY})
++ target_link_libraries(libyuv_unittest ${ly_lib_shared} ${GTEST_LIBRARY})
+ find_library(PTHREAD_LIBRARY pthread)
+ if(NOT PTHREAD_LIBRARY STREQUAL "PTHREAD_LIBRARY-NOTFOUND")
+ target_link_libraries(libyuv_unittest pthread)
diff --git a/libyuv-0002-Use-a-proper-so-version.patch b/libyuv-0002-Use-a-proper-so-version.patch
deleted file mode 100644
index 0c8d2c1..0000000
--- a/libyuv-0002-Use-a-proper-so-version.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-From: Peter Lemenkov <lemenkov@gmail.com>
-Date: Fri, 21 Sep 2018 12:45:55 +0200
-Subject: [PATCH] Use a proper so-version
-
-Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index aae18296..408032c6 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -123,6 +123,7 @@ ADD_LIBRARY( ${ly_lib_static} STATIC ${ly_lib_parts})
- ADD_LIBRARY( ${ly_lib_shared} SHARED ${ly_lib_parts})
- SET_TARGET_PROPERTIES( ${ly_lib_shared} PROPERTIES OUTPUT_NAME "${ly_lib_name}" )
- SET_TARGET_PROPERTIES( ${ly_lib_shared} PROPERTIES PREFIX "lib" )
-+SET_TARGET_PROPERTIES( ${ly_lib_shared} PROPERTIES VERSION "${YUV_VERSION}" SOVERSION "${YUV_VER_MAJOR}" )
- if(WIN32)
- SET_TARGET_PROPERTIES( ${ly_lib_shared} PROPERTIES IMPORT_PREFIX "lib" )
- endif()
diff --git a/libyuv-0003-Link-against-shared-library.patch b/libyuv-0003-Link-against-shared-library.patch
deleted file mode 100644
index c64c32d..0000000
--- a/libyuv-0003-Link-against-shared-library.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From: Peter Lemenkov <lemenkov@gmail.com>
-Date: Fri, 21 Sep 2018 12:47:42 +0200
-Subject: [PATCH] Link against shared library
-
-Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 408032c6..a8368af4 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -130,15 +130,15 @@ endif()
-
- # this creates the cpuid tool
- ADD_EXECUTABLE ( cpuid ${ly_base_dir}/util/cpuid.c )
--TARGET_LINK_LIBRARIES ( cpuid ${ly_lib_static} )
-+TARGET_LINK_LIBRARIES ( cpuid ${ly_lib_shared} )
-
- # this creates the conversion tool
- ADD_EXECUTABLE ( yuvconvert ${ly_base_dir}/util/yuvconvert.cc )
--TARGET_LINK_LIBRARIES ( yuvconvert ${ly_lib_static} )
-+TARGET_LINK_LIBRARIES ( yuvconvert ${ly_lib_shared} )
-
- # this creates the yuvconstants tool
- ADD_EXECUTABLE ( yuvconstants ${ly_base_dir}/util/yuvconstants.c )
--TARGET_LINK_LIBRARIES ( yuvconstants ${ly_lib_static} )
-+TARGET_LINK_LIBRARIES ( yuvconstants ${ly_lib_shared} )
-
- find_package ( JPEG )
- if (JPEG_FOUND)
-@@ -168,7 +168,7 @@ if(UNIT_TEST)
- endif()
-
- add_executable(libyuv_unittest ${ly_unittest_sources})
-- target_link_libraries(libyuv_unittest ${ly_lib_name} ${GTEST_LIBRARY})
-+ target_link_libraries(libyuv_unittest ${ly_lib_shared} ${GTEST_LIBRARY})
- find_library(PTHREAD_LIBRARY pthread)
- if(NOT PTHREAD_LIBRARY STREQUAL "PTHREAD_LIBRARY-NOTFOUND")
- target_link_libraries(libyuv_unittest pthread)
diff --git a/libyuv-0003-Use-GNUInstallDirs-during-installation.patch b/libyuv-0003-Use-GNUInstallDirs-during-installation.patch
new file mode 100644
index 0000000..31d5d66
--- /dev/null
+++ b/libyuv-0003-Use-GNUInstallDirs-during-installation.patch
@@ -0,0 +1,29 @@
+From: Peter Lemenkov <lemenkov@gmail.com>
+Date: Mon, 24 Sep 2018 15:15:09 +0200
+Subject: [PATCH] Use GNUInstallDirs during installation
+
+Co-authored-by: Peter Lemenkov <lemenkov@gmail.com>
+Signed-off-by: Zephyr Lykos <fedora@mochaa.ws>
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index bffceba3..7bf5b868 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -241,12 +241,13 @@ if(UNIT_TEST)
+ endif()
+ endif()
+
++include(GNUInstallDirs)
+
+ # install the conversion tool, .so, .a, and all the header files
+-install ( TARGETS yuvconvert DESTINATION bin )
+-install ( TARGETS ${ly_lib_static} DESTINATION lib )
+-install ( TARGETS ${ly_lib_shared} LIBRARY DESTINATION lib RUNTIME DESTINATION bin ARCHIVE DESTINATION lib )
+-install ( DIRECTORY ${PROJECT_SOURCE_DIR}/include/ DESTINATION include )
++install ( PROGRAMS yuvconvert DESTINATION ${CMAKE_INSTALL_BINDIR} )
++install ( TARGETS ${ly_lib_static} DESTINATION ${CMAKE_INSTALL_LIBDIR})
++install ( TARGETS ${ly_lib_shared} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
++install ( DIRECTORY ${PROJECT_SOURCE_DIR}/include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
+
+ # create the .deb and .rpm packages using cpack
+ include ( CM_linux_packages.cmake )
diff --git a/libyuv-0004-Disable-static-library.patch b/libyuv-0004-Disable-static-library.patch
deleted file mode 100644
index d7389e3..0000000
--- a/libyuv-0004-Disable-static-library.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From: Peter Lemenkov <lemenkov@gmail.com>
-Date: Mon, 24 Sep 2018 15:08:45 +0200
-Subject: [PATCH] Disable static library
-
-Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index a8368af4..b3b22c47 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -14,7 +14,6 @@ SET ( ly_src_dir ${ly_base_dir}/source )
- SET ( ly_inc_dir ${ly_base_dir}/include )
- SET ( ly_tst_dir ${ly_base_dir}/unit_test )
- SET ( ly_lib_name yuv )
--SET ( ly_lib_static ${ly_lib_name} )
- SET ( ly_lib_shared ${ly_lib_name}_shared )
-
- # We cannot use GLOB here since we want to be able to separate out files that
-@@ -116,9 +115,6 @@ if(NOT MSVC)
- endif()
- endif()
-
--# this creates the static library (.a)
--ADD_LIBRARY( ${ly_lib_static} STATIC ${ly_lib_parts})
--
- # this creates the shared library (.so)
- ADD_LIBRARY( ${ly_lib_shared} SHARED ${ly_lib_parts})
- SET_TARGET_PROPERTIES( ${ly_lib_shared} PROPERTIES OUTPUT_NAME "${ly_lib_name}" )
-@@ -189,8 +185,7 @@ if(UNIT_TEST)
- endif()
-
-
--# install the conversion tool, .so, .a, and all the header files
-+# install the conversion tool, .so, and all the header files
- INSTALL ( PROGRAMS ${CMAKE_BINARY_DIR}/yuvconvert DESTINATION bin )
--INSTALL ( TARGETS ${ly_lib_static} DESTINATION lib )
- INSTALL ( TARGETS ${ly_lib_shared} LIBRARY DESTINATION lib RUNTIME DESTINATION bin )
- INSTALL ( DIRECTORY ${PROJECT_SOURCE_DIR}/include/ DESTINATION include )
diff --git a/libyuv-0004-Use-CTest-switches-for-testing.patch b/libyuv-0004-Use-CTest-switches-for-testing.patch
new file mode 100644
index 0000000..709a524
--- /dev/null
+++ b/libyuv-0004-Use-CTest-switches-for-testing.patch
@@ -0,0 +1,47 @@
+From: Zephyr Lykos <git@mochaa.ws>
+Date: Sat, 4 Nov 2023 17:16:27 +0800
+Subject: [PATCH] Use CTest switches for testing
+
+Signed-off-by: Zephyr Lykos <git@mochaa.ws>
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 7bf5b868..fc7d208a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,10 +1,9 @@
+ # CMakeLists for libyuv
+ # Originally created for "roxlu build system" to compile libyuv on windows
+-# Run with -DUNIT_TEST=ON to build unit tests
++# Run with -DBUILD_TESTING=ON to build unit tests
+
+ cmake_minimum_required( VERSION 3.16 )
+ project ( YUV C CXX ) # "C" is required even for C++ projects
+-option( UNIT_TEST "Built unit tests" OFF )
+
+ include(CheckCSourceCompiles)
+
+@@ -200,7 +199,9 @@ if (JPEG_FOUND)
+ add_definitions( -DHAVE_JPEG )
+ endif()
+
+-if(UNIT_TEST)
++include(CTest)
++
++if(BUILD_TESTING)
+ find_library(GTEST_LIBRARY gtest)
+ if(GTEST_LIBRARY STREQUAL "GTEST_LIBRARY-NOTFOUND")
+ set(GTEST_SRC_DIR_DEFAULT /usr/src/gtest)
+@@ -216,11 +217,12 @@ if(UNIT_TEST)
+ include_directories(${GTEST_SRC_DIR}/include)
+ set(GTEST_LIBRARY gtest)
+ else()
+- message(FATAL_ERROR "UNIT_TEST is set but unable to find gtest library")
++ message(FATAL_ERROR "BUILD_TESTING is set but unable to find gtest library")
+ endif()
+ endif()
+
+ add_executable(libyuv_unittest ${ly_unittest_sources})
++ add_test(NAME libyuv_test COMMAND libyuv_unittest)
+ target_link_libraries(libyuv_unittest ${ly_lib_shared} ${GTEST_LIBRARY})
+ find_library(PTHREAD_LIBRARY pthread)
+ if(NOT PTHREAD_LIBRARY STREQUAL "PTHREAD_LIBRARY-NOTFOUND")
diff --git a/libyuv-0005-Use-library-suffix-during-installation.patch b/libyuv-0005-Use-library-suffix-during-installation.patch
deleted file mode 100644
index 4a5e5fa..0000000
--- a/libyuv-0005-Use-library-suffix-during-installation.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-From: Peter Lemenkov <lemenkov@gmail.com>
-Date: Mon, 24 Sep 2018 15:15:09 +0200
-Subject: [PATCH] Use library suffix during installation
-
-Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index b3b22c47..0e4c79db 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -187,5 +187,5 @@ endif()
-
- # install the conversion tool, .so, and all the header files
- INSTALL ( PROGRAMS ${CMAKE_BINARY_DIR}/yuvconvert DESTINATION bin )
--INSTALL ( TARGETS ${ly_lib_shared} LIBRARY DESTINATION lib RUNTIME DESTINATION bin )
-+INSTALL ( TARGETS ${ly_lib_shared} LIBRARY DESTINATION lib${LIB_SUFFIX} )
- INSTALL ( DIRECTORY ${PROJECT_SOURCE_DIR}/include/ DESTINATION include )
diff --git a/libyuv-0005-arch-s390x-disable-little-endian-tests.patch b/libyuv-0005-arch-s390x-disable-little-endian-tests.patch
new file mode 100644
index 0000000..b0d29c7
--- /dev/null
+++ b/libyuv-0005-arch-s390x-disable-little-endian-tests.patch
@@ -0,0 +1,21 @@
+From: Zephyr Lykos <git@mochaa.ws>
+Date: Sun, 5 Nov 2023 15:01:27 +0800
+Subject: [PATCH] arch/s390x: disable little endian tests
+
+Signed-off-by: Zephyr Lykos <git@mochaa.ws>
+
+diff --git a/unit_test/convert_test.cc b/unit_test/convert_test.cc
+index 938f1cb9..8319c0a1 100644
+--- a/unit_test/convert_test.cc
++++ b/unit_test/convert_test.cc
+@@ -34,8 +34,8 @@
+ #endif
+
+ // Some functions fail on big endian. Enable these tests on all cpus except
+-// PowerPC, but they are not optimized so disabled by default.
+-#if !defined(DISABLE_SLOW_TESTS) && !defined(__powerpc__)
++// PowerPC and s390x, but they are not optimized so disabled by default.
++#if !defined(DISABLE_SLOW_TESTS) && !defined(__powerpc__) && !defined(__s390x__)
+ #define LITTLE_ENDIAN_ONLY_TEST 1
+ #endif
+ #if !defined(DISABLE_SLOW_TESTS) || defined(__x86_64__) || defined(__i386__)
diff --git a/libyuv-0006-Don-t-install-tools-and-static-lib.patch b/libyuv-0006-Don-t-install-tools-and-static-lib.patch
new file mode 100644
index 0000000..ff9f1e6
--- /dev/null
+++ b/libyuv-0006-Don-t-install-tools-and-static-lib.patch
@@ -0,0 +1,19 @@
+From: Peter Lemenkov <lemenkov@gmail.com>
+Date: Sun, 22 Feb 2026 22:57:32 +0100
+Subject: [PATCH] Don't install tools and static lib
+
+Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 5d0da566..a7fb474f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -246,8 +246,6 @@ endif()
+ include(GNUInstallDirs)
+
+ # install the conversion tool, .so, .a, and all the header files
+-install ( PROGRAMS yuvconvert DESTINATION ${CMAKE_INSTALL_BINDIR} )
+-install ( TARGETS ${ly_lib_static} DESTINATION ${CMAKE_INSTALL_LIBDIR})
+ install ( TARGETS ${ly_lib_shared} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
+ install ( DIRECTORY ${PROJECT_SOURCE_DIR}/include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
+
diff --git a/libyuv-0006-Link-against-math-library-for-roundf.patch b/libyuv-0006-Link-against-math-library-for-roundf.patch
deleted file mode 100644
index 0f12d37..0000000
--- a/libyuv-0006-Link-against-math-library-for-roundf.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From: Peter Lemenkov <lemenkov@gmail.com>
-Date: Wed, 5 Jun 2024 20:52:19 +0200
-Subject: [PATCH] Link against math library for roundf
-
-Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 0e4c79db..b6a19a09 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -130,11 +130,11 @@ TARGET_LINK_LIBRARIES ( cpuid ${ly_lib_shared} )
-
- # this creates the conversion tool
- ADD_EXECUTABLE ( yuvconvert ${ly_base_dir}/util/yuvconvert.cc )
--TARGET_LINK_LIBRARIES ( yuvconvert ${ly_lib_shared} )
-+TARGET_LINK_LIBRARIES ( yuvconvert ${ly_lib_shared} m )
-
- # this creates the yuvconstants tool
- ADD_EXECUTABLE ( yuvconstants ${ly_base_dir}/util/yuvconstants.c )
--TARGET_LINK_LIBRARIES ( yuvconstants ${ly_lib_shared} )
-+TARGET_LINK_LIBRARIES ( yuvconstants ${ly_lib_shared} m )
-
- find_package ( JPEG )
- if (JPEG_FOUND)
diff --git a/libyuv.spec b/libyuv.spec
index 9830219..f152ecf 100644
--- a/libyuv.spec
+++ b/libyuv.spec
@@ -1,5 +1,5 @@
-%global git_commit 96bbdb53ed6b5bdf2e940f6068016a78afcc7852
-%global git_date 20240704
+%global git_commit 6067afde563c3946eebd94f146b3824ab7a97a9c
+%global git_date 20260213
Name: libyuv
Summary: YUV conversion and scaling functionality library
@@ -10,16 +10,17 @@ Url: https://chromium.googlesource.com/libyuv/libyuv
VCS: git:%{url}
Source0: %{url}/+archive/%{git_commit}.tar.gz
# Fedora-specific. Upstream isn't interested in these patches.
-Patch1: libyuv-0001-Move-Linux-variables-to-the-top.patch
-Patch2: libyuv-0002-Use-a-proper-so-version.patch
-Patch3: libyuv-0003-Link-against-shared-library.patch
-Patch4: libyuv-0004-Disable-static-library.patch
-Patch5: libyuv-0005-Use-library-suffix-during-installation.patch
-Patch6: libyuv-0006-Link-against-math-library-for-roundf.patch
+Patch: libyuv-0001-Use-a-proper-so-version.patch
+Patch: libyuv-0002-Link-against-shared-library.patch
+Patch: libyuv-0003-Use-GNUInstallDirs-during-installation.patch
+Patch: libyuv-0004-Use-CTest-switches-for-testing.patch
+Patch: libyuv-0005-arch-s390x-disable-little-endian-tests.patch
+Patch: libyuv-0006-Don-t-install-tools-and-static-lib.patch
BuildRequires: cmake
+BuildRequires: cmake(GTest)
BuildRequires: gcc-c++
BuildRequires: gtest-devel
-BuildRequires: libjpeg-devel
+BuildRequires: pkgconfig(libjpeg)
%description
@@ -73,8 +74,10 @@ rm -f %{buildroot}%{_bindir}/yuvconvert
%check
-# FIXME fails again on s390 - we should use CTest via %%{ctest} macro
-# ./libyuv_unittest || true
+# FIXME fails again on s390
+%ifnarch s390x
+%{ctest}
+%endif
%files
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-03 5:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 5:52 [rpms/libyuv] epel10: Next version Peter Lemenkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox