[svn] r3495 - trunk/rpms/x264

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Mon Aug 15 19:51:20 CEST 2005


Author: thias
Date: 2005-08-15 19:51:20 +0200 (Mon, 15 Aug 2005)
New Revision: 3495

Modified:
   trunk/rpms/x264/x264.spec
Log:
Fix x264 build for x86_64.


Modified: trunk/rpms/x264/x264.spec
===================================================================
--- trunk/rpms/x264/x264.spec	2005-08-15 17:38:29 UTC (rev 3494)
+++ trunk/rpms/x264/x264.spec	2005-08-15 17:51:20 UTC (rev 3495)
@@ -12,7 +12,7 @@
 # find x264 -name .svn | xargs rm -rf
 Source: %{name}-%{version}.tar.bz2
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-BuildRequires: xorg-x11-devel, nasm
+BuildRequires: xorg-x11-devel, nasm, yasm
 # version.sh requires svnversion
 BuildRequires: subversion
 
@@ -37,6 +37,8 @@
 # AUTHORS file is in iso-8859-1
 iconv -f iso-8859-1 -t utf-8 -o AUTHORS.utf8 AUTHORS
 mv -f AUTHORS.utf8 AUTHORS
+# configure hardcodes X11 lib path
+%{__perl} -pi -e 's|/usr/X11R6/lib |/usr/X11R6/%{_lib} |g' configure
 
 
 %build
@@ -77,6 +79,10 @@
 
 
 %changelog
+* Mon Aug 15 2005 Matthias Saou <http://freshrpms.net/> 0.0.281-1
+- Add yasm build requirement (needed on x86_64).
+- Replace X11 lib with lib/lib64 to fix x86_64 build.
+
 * Tue Aug  2 2005 Matthias Saou <http://freshrpms.net/> 0.0.281-1
 - Update to svn 281.
 




More information about the commits mailing list