From 45cbf9194b5c4cd44db2ee950523aaab78a0cb8c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 6 May 2009 01:19:24 +0200 Subject: [PATCH] attr-devel: fix libattr.so broken symlink. Bump revision. --HG-- extra : convert_revision : b54343476557d704c9fcefa797c77bb17dfbc486 --- templates/attr/devel.template | 1 + templates/attr/template | 2 ++ 2 files changed, 3 insertions(+) diff --git a/templates/attr/devel.template b/templates/attr/devel.template index afdfb48a479..845fe0cbcbc 100644 --- a/templates/attr/devel.template +++ b/templates/attr/devel.template @@ -5,6 +5,7 @@ long_desc="${long_desc} This package contains files for development, headers, static libs, etc." +revision=1 Add_dependency run attr do_install() diff --git a/templates/attr/template b/templates/attr/template index ba88d1a05ff..8033cdb536b 100644 --- a/templates/attr/template +++ b/templates/attr/template @@ -28,4 +28,6 @@ post_install() mv ${DESTDIR}/usr/lib/libattr.so.* ${DESTDIR}/lib mv ${DESTDIR}/usr/libexec/libattr.* ${DESTDIR}/usr/lib rm -rf ${DESTDIR}/usr/libexec + rm -f ${DESTDIR}/usr/lib/libattr.so + cd ${DESTDIR}/usr/lib && ln -sf ../../lib/libattr.so.1 libattr.so }