From 72fab075ecf98edaeebac50f3f1730f4b9d47932 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Mon, 12 Sep 2011 10:54:27 +0200 Subject: [PATCH] fix build on generic targets --- libvpx.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libvpx.spec b/libvpx.spec index c4d0d09..404f04b 100644 --- a/libvpx.spec +++ b/libvpx.spec @@ -1,7 +1,7 @@ Name: libvpx Summary: VP8 Video Codec SDK Version: 0.9.7.1 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD Group: System Environment/Libraries # sigh, non-canonical version strings. clean up in 0.9.8 plz. @@ -96,7 +96,7 @@ mv libvpx_g.a libNOTvpx_g.a # ln -sf libvpx.so.%{version} libvpx.so ln -sf libvpx.so.0.9.7 libvpx.so -make %{?_smp_mflags} verbose=true target=examples +make %{?_smp_mflags} verbose=true target=examples CONFIG_SHARED=1 make %{?_smp_mflags} verbose=true target=docs # Put them back so the install doesn't fail @@ -118,7 +118,8 @@ sed -i "s|@INCLUDEDIR@|%{_includedir}|g" %{buildroot}%{_libdir}/pkgconfig/libvpx mv %{buildroot}/usr/docs doc/ %if %{generic_target} -install -p libvpx.so.%{version} %{buildroot}%{_libdir} +#install -p libvpx.so.%{version} %{buildroot}%{_libdir} +install -p libvpx.so.0.9.7 %{buildroot}%{_libdir} pushd %{buildroot}%{_libdir} ln -sf libvpx.so.%{version} libvpx.so ln -sf libvpx.so.%{version} libvpx.so.0 @@ -163,6 +164,9 @@ rm -rf %{buildroot} %{_bindir}/* %changelog +* Mon Sep 12 2011 Dan HorĂ¡k - 0.9.7.1-2 +- fix build on generic targets + * Tue Aug 16 2011 Adam Jackson 0.9.7.1-1 - libvpx 0.9.7-p1