[packages/xorg-lib-libXv] bring back autotools invocation with comment why it's needed

atler atler at pld-linux.org
Mon Nov 24 18:40:35 CET 2025


commit 9f0fe105fc662074b21f670dd970a1966d22036a
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Nov 24 18:39:43 2025 +0100

    bring back autotools invocation with comment why it's needed
    
    thanks qboosh

 xorg-lib-libXv.spec | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/xorg-lib-libXv.spec b/xorg-lib-libXv.spec
index a7646f4..b4fca49 100644
--- a/xorg-lib-libXv.spec
+++ b/xorg-lib-libXv.spec
@@ -12,6 +12,9 @@ Group:		X11/Libraries
 Source0:	https://xorg.freedesktop.org/releases/individual/lib/libXv-%{version}.tar.xz
 # Source0-md5:	8a26503185afcb1bbd2c65e43f775a67
 URL:		https://xorg.freedesktop.org/
+BuildRequires:	autoconf >= 2.60
+BuildRequires:	automake
+BuildRequires:	libtool >= 2:2
 BuildRequires:	pkgconfig >= 1:0.19
 BuildRequires:	rpmbuild(macros) >= 1.527
 BuildRequires:	sed >= 4.0
@@ -82,6 +85,12 @@ Pakiet zawiera statyczną bibliotekę libXv.
 %{__sed} -i -e 's,\.so man__libmansuffix__/,.so man3/,' man/*.man
 
 %build
+# regeneration required for proper --as-needed handling
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
 	--disable-silent-rules \
 	%{__enable_disable static_libs static}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xorg-lib-libXv.git/commitdiff/9f0fe105fc662074b21f670dd970a1966d22036a




More information about the pld-cvs-commit mailing list