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 }