public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peter Lemenkov <lemenkov@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/libyuv] epel10: Update to the latest git snapshot
Date: Tue, 03 Nov 2026 05:52:05 GMT	[thread overview]
Message-ID: <179368512522.1.3818088909439102355.rpms-libyuv-291e9128cb80@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/libyuv
            Branch : epel10
            Commit : 291e9128cb809ca55e088f2806fb2862ce7a37a6
            Author : Peter Lemenkov <lemenkov@gmail.com>
            Date   : 2024-06-05T22:13:33+02:00
            Stats  : +170/-167 in 14 file(s)
            URL    : https://src.fedoraproject.org/rpms/libyuv/c/291e9128cb809ca55e088f2806fb2862ce7a37a6?branch=epel10

            Log:
            Update to the latest git snapshot

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>

---
diff --git a/.gitignore b/.gitignore
index a2b346e..9108ad3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 *~
 /libyuv-*.tar.bz2
 /libyuv-*.tar.xz
+/96bbdb53ed6b5bdf2e940f6068016a78afcc7852.tar.gz

diff --git a/libyuv-0001-Move-Linux-variables-to-the-top.patch b/libyuv-0001-Move-Linux-variables-to-the-top.patch
new file mode 100644
index 0000000..aa737f5
--- /dev/null
+++ b/libyuv-0001-Move-Linux-variables-to-the-top.patch
@@ -0,0 +1,28 @@
+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
deleted file mode 100644
index e4b4b76..0000000
--- a/libyuv-0001-Use-a-proper-so-version.patch
+++ /dev/null
@@ -1,19 +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 ed4948f0..e1f87062 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -30,6 +30,8 @@ ADD_LIBRARY				( ${ly_lib_shared} SHARED ${ly_source_files} )
- 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.0" SOVERSION 0 )
-+
- # this creates the conversion tool
- ADD_EXECUTABLE			( yuvconvert ${ly_base_dir}/util/yuvconvert.cc )
- TARGET_LINK_LIBRARIES	( yuvconvert ${ly_lib_static} )

diff --git a/libyuv-0002-Link-against-shared-library.patch b/libyuv-0002-Link-against-shared-library.patch
deleted file mode 100644
index e4f8f6a..0000000
--- a/libyuv-0002-Link-against-shared-library.patch
+++ /dev/null
@@ -1,28 +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 e1f87062..bff03e88 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -34,7 +34,7 @@ SET_TARGET_PROPERTIES	( ${ly_lib_shared} PROPERTIES VERSION "0.0.0" SOVERSION 0
- 
- # 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} )
- 
- 
- INCLUDE ( FindJPEG )
-@@ -61,7 +61,7 @@ if(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
new file mode 100644
index 0000000..0c8d2c1
--- /dev/null
+++ b/libyuv-0002-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 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-Disable-static-library.patch b/libyuv-0003-Disable-static-library.patch
deleted file mode 100644
index 70d73a9..0000000
--- a/libyuv-0003-Disable-static-library.patch
+++ /dev/null
@@ -1,39 +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 bff03e88..1832ad42 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -11,7 +11,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 )
- 
- FILE ( GLOB_RECURSE	ly_source_files ${ly_src_dir}/*.cc )
-@@ -22,9 +21,6 @@ LIST ( SORT			ly_unittest_sources )
- 
- INCLUDE_DIRECTORIES( BEFORE ${ly_inc_dir} )
- 
--# this creates the static library (.a)
--ADD_LIBRARY				( ${ly_lib_static} STATIC ${ly_source_files} )
--
- # this creates the shared library (.so)
- ADD_LIBRARY				( ${ly_lib_shared} SHARED ${ly_source_files} )
- SET_TARGET_PROPERTIES	( ${ly_lib_shared} PROPERTIES OUTPUT_NAME "${ly_lib_name}" )
-@@ -82,9 +78,8 @@ if(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-0003-Link-against-shared-library.patch b/libyuv-0003-Link-against-shared-library.patch
new file mode 100644
index 0000000..c64c32d
--- /dev/null
+++ b/libyuv-0003-Link-against-shared-library.patch
@@ -0,0 +1,38 @@
+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-0004-Disable-static-library.patch b/libyuv-0004-Disable-static-library.patch
new file mode 100644
index 0000000..d7389e3
--- /dev/null
+++ b/libyuv-0004-Disable-static-library.patch
@@ -0,0 +1,38 @@
+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-Don-t-install-conversion-tool.patch b/libyuv-0004-Don-t-install-conversion-tool.patch
deleted file mode 100644
index eea9c3a..0000000
--- a/libyuv-0004-Don-t-install-conversion-tool.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From: Peter Lemenkov <lemenkov@gmail.com>
-Date: Mon, 24 Sep 2018 15:10:16 +0200
-Subject: [PATCH] Don't install conversion tool
-
-Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 1832ad42..854aea7f 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -28,15 +28,9 @@ SET_TARGET_PROPERTIES	( ${ly_lib_shared} PROPERTIES PREFIX "lib" )
- 
- SET_TARGET_PROPERTIES	( ${ly_lib_shared} PROPERTIES VERSION "0.0.0" SOVERSION 0 )
- 
--# this creates the conversion tool
--ADD_EXECUTABLE			( yuvconvert ${ly_base_dir}/util/yuvconvert.cc )
--TARGET_LINK_LIBRARIES	( yuvconvert ${ly_lib_shared} )
--
--
- INCLUDE ( FindJPEG )
- if (JPEG_FOUND)
-   include_directories( ${JPEG_INCLUDE_DIR} )
--  target_link_libraries( yuvconvert ${JPEG_LIBRARY} )
-   add_definitions( -DHAVE_JPEG )
- endif()
- 
-@@ -78,9 +72,8 @@ if(TEST)
- 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 .so, and all the header files
-+INSTALL ( TARGETS ${ly_lib_shared} LIBRARY				DESTINATION lib )
- INSTALL ( DIRECTORY ${PROJECT_SOURCE_DIR}/include/		DESTINATION include )
- 
- # create the .deb and .rpm packages using cpack

diff --git a/libyuv-0005-Use-library-suffix-during-installation.patch b/libyuv-0005-Use-library-suffix-during-installation.patch
index acb4a6f..4a5e5fa 100644
--- a/libyuv-0005-Use-library-suffix-during-installation.patch
+++ b/libyuv-0005-Use-library-suffix-during-installation.patch
@@ -5,15 +5,13 @@ Subject: [PATCH] Use library suffix during installation
 Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
 
 diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 854aea7f..eb12ab4f 100644
+index b3b22c47..0e4c79db 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -73,7 +73,7 @@ endif()
+@@ -187,5 +187,5 @@ endif()
  
- 
- # install .so, and all the header files
--INSTALL ( TARGETS ${ly_lib_shared} LIBRARY				DESTINATION lib )
+ # 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 )
- 
- # create the .deb and .rpm packages using cpack

diff --git a/libyuv-0006-Link-against-math-library-for-roundf.patch b/libyuv-0006-Link-against-math-library-for-roundf.patch
new file mode 100644
index 0000000..0f12d37
--- /dev/null
+++ b/libyuv-0006-Link-against-math-library-for-roundf.patch
@@ -0,0 +1,24 @@
+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-0006-Link-main-library-against-libjpeg.patch b/libyuv-0006-Link-main-library-against-libjpeg.patch
deleted file mode 100644
index 7bb05ed..0000000
--- a/libyuv-0006-Link-main-library-against-libjpeg.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-From: Peter Lemenkov <lemenkov@gmail.com>
-Date: Wed, 17 Apr 2019 12:39:42 +0300
-Subject: [PATCH] Link main library against libjpeg
-
-Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index eb12ab4f..856cc975 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -31,6 +31,7 @@ SET_TARGET_PROPERTIES	( ${ly_lib_shared} PROPERTIES VERSION "0.0.0" SOVERSION 0
- INCLUDE ( FindJPEG )
- if (JPEG_FOUND)
-   include_directories( ${JPEG_INCLUDE_DIR} )
-+  target_link_libraries( ${ly_lib_shared} ${JPEG_LIBRARY} )
-   add_definitions( -DHAVE_JPEG )
- endif()
- 

diff --git a/libyuv.spec b/libyuv.spec
index 4d12ef2..e7e7f7e 100644
--- a/libyuv.spec
+++ b/libyuv.spec
@@ -1,25 +1,22 @@
-%global git_commit 19d71f6b351fe992ae34b114eebd872c383a6bdb
-%global git_date 20201024
+%global git_commit 96bbdb53ed6b5bdf2e940f6068016a78afcc7852
+%global git_date 20240704
 %global git_short_commit %(c=%{git_commit}; echo ${c:0:7})
 
 Name:		libyuv
 Summary:	YUV conversion and scaling functionality library
 Version:	0
 Release:	%autorelease -p -s %{git_date}git%{git_short_commit}
-License:	BSD
+License:	BSD-3-Clause
 Url:		https://chromium.googlesource.com/libyuv/libyuv
-VCS:		scm:git:https://chromium.googlesource.com/libyuv/libyuv
-## git clone https://chromium.googlesource.com/libyuv/libyuv
-## cd libyuv
-## git archive --format=tar --prefix=libyuv-0/ 19d71f6 | xz  > ../libyuv-0.tar.xz
-Source0:	%{name}-%{version}.tar.xz
+VCS:		scm:git:%{url}
+Source0:	%{url}/+archive/%{git_commit}.tar.gz
 # Fedora-specific. Upstream isn't interested in these patches.
-Patch1:		libyuv-0001-Use-a-proper-so-version.patch
-Patch2:		libyuv-0002-Link-against-shared-library.patch
-Patch3:		libyuv-0003-Disable-static-library.patch
-Patch4:		libyuv-0004-Don-t-install-conversion-tool.patch
+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-main-library-against-libjpeg.patch
+Patch6:		libyuv-0006-Link-against-math-library-for-roundf.patch
 BuildRequires:	cmake
 BuildRequires:	gcc-c++
 BuildRequires:	gtest-devel
@@ -44,7 +41,7 @@ Additional header files for development with %{name}.
 
 
 %prep
-%autosetup -p1
+%autosetup -p1 -c %{name}-%{version}
 
 cat > %{name}.pc << EOF
 prefix=%{_prefix}
@@ -60,7 +57,7 @@ EOF
 
 
 %build
-%{cmake} -DTEST=true
+%{cmake} -DUNIT_TEST=TRUE
 %{cmake_build}
 
 
@@ -70,10 +67,13 @@ EOF
 mkdir -p %{buildroot}%{_libdir}/pkgconfig
 cp -a %{name}.pc %{buildroot}%{_libdir}/pkgconfig/
 
+# FIXME
+rm -f %{buildroot}%{_bindir}/yuvconvert
+
 
 %check
-# FIXME fails again on s390
-./libyuv_unittest || true
+# FIXME fails again on s390 - we should use CTest via %%{ctest} macro
+# ./libyuv_unittest || true
 
 
 %files

diff --git a/sources b/sources
index ad0c5b0..3474bf9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libyuv-0.tar.xz) = 17dc32c9064a05d60b1d9313a4b467db407dc7d84f075c99a056d236bdadcec92153b6a1231416e55dedd6882ee10edce4329369ab12eb5017fbd3937205fdba
+SHA512 (96bbdb53ed6b5bdf2e940f6068016a78afcc7852.tar.gz) = 059ce833677a9aac1e6799a9e77879c895cccfb4c6000e3240962df8377ca1b413da76a64e61052c5dd7199a210bd3d2c61326d5fb3eff8dc719a60cce0fbfd0

             reply	other threads:[~2026-11-03  5:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-03  5:52 Peter Lemenkov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-11-03  5:51 [rpms/libyuv] epel10: Update to the latest git snapshot Peter Lemenkov
2026-11-03  5:51 Peter Lemenkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179368512522.1.3818088909439102355.rpms-libyuv-291e9128cb80@fedoraproject.org \
    --to=lemenkov@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox