From 67bb557a8b1a48549c42dddca5cfc1153621361c Mon Sep 17 00:00:00 2001 From: Wang Quanxian Date: Mon, 13 Aug 2012 14:33:08 +0800 Subject: [PATCH] Define mesa libversion as 8.1.0 Signed-Off-By Quanxian Wang --- packaging/mesa.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/packaging/mesa.spec b/packaging/mesa.spec index 02aa16c..21c015e 100644 --- a/packaging/mesa.spec +++ b/packaging/mesa.spec @@ -1,3 +1,5 @@ +%define mesa_libversion 8.1.0 + Name: mesa Summary: Mesa graphics libraries Version: 8.1.0+1+5f3f6 @@ -257,13 +259,10 @@ rm -rf %{buildroot} %post libgbm -p /sbin/ldconfig rm -rf /usr/lib/libdricore.so -#rm -rf /usr/lib/libglsl.so -ln -sf /usr/lib/libdricore%{version}.so /usr/lib/libdricore.so -#ln -sf /usr/lib/libglsl%{version}.so /usr/lib/libglsl.so +ln -sf /usr/lib/libdricore%{mesa_libversion}.so /usr/lib/libdricore.so %postun libgbm -p /sbin/ldconfig rm -rf /usr/lib/libdricore.so -#rm -rf /usr/lib/libglsl.so %post libGLESv2 -p /sbin/ldconfig @@ -336,8 +335,7 @@ rm -rf /usr/lib/libdricore.so %{_libdir}/libgbm.so.* %{_libdir}/gbm/* /etc/drirc -%{_libdir}/libdricore%{version}.so* -#%{_libdir}/libglsl%{version}.so* +%{_libdir}/libdricore%{mesa_libversion}.so* %files libgbm-devel %defattr(-,root,root,-) -- 2.7.4