Date: Monday, September 2, 2013 @ 22:31:46 Author: eric Revision: 96663
upgpkg: prelink 20130503-1 Upstream update, Remove obsolete patch, Update config file, Add check function Modified: prelink/trunk/PKGBUILD prelink/trunk/prelink.conf Deleted: prelink/trunk/arch-x86_64-dynamic_linker.patch ----------------------------------+ PKGBUILD | 24 +++++++++++------------- arch-x86_64-dynamic_linker.patch | 12 ------------ prelink.conf | 18 +----------------- 3 files changed, 12 insertions(+), 42 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-09-02 20:28:33 UTC (rev 96662) +++ PKGBUILD 2013-09-02 20:31:46 UTC (rev 96663) @@ -4,9 +4,9 @@ # Contributor: Rouslan Solomakhin <[email protected]> pkgname=prelink -pkgver=20111012 -pkgrel=2 -pkgdesc='ELF prelinking utility to speed up dynamic linking.' +pkgver=20130503 +pkgrel=1 +pkgdesc='ELF prelinking utility to speed up dynamic linking' arch=('i686' 'x86_64') url='http://people.redhat.com/jakub/prelink/' license=('GPL') @@ -13,17 +13,10 @@ depends=('elfutils') backup=('etc/prelink.conf') source=("http://people.redhat.com/jakub/prelink/${pkgname}-${pkgver}.tar.bz2" - 'prelink.conf' - 'arch-x86_64-dynamic_linker.patch') -md5sums=('f5aaf347432d677c293e5e3399ba4fdf' - '0793ed49e9b31c125cba4d936c333cf6' - 'b347580536e078b34c547742d36a3e9d') + 'prelink.conf') +sha1sums=('eff86cb26f0cc174486769527286cc388d5216b0' + 'b83bd2d3505076151aa13d40de3d5c08a04440c7') -prepare() { - cd ${pkgname} - patch -Np0 -i ../arch-x86_64-dynamic_linker.patch -} - build() { cd ${pkgname} ./configure --prefix=/usr --mandir=/usr/share/man --sbin=/usr/bin @@ -30,6 +23,11 @@ make } +check() { + cd ${pkgname} + make check +} + package() { cd ${pkgname} make DESTDIR="${pkgdir}" install Deleted: arch-x86_64-dynamic_linker.patch =================================================================== --- arch-x86_64-dynamic_linker.patch 2013-09-02 20:28:33 UTC (rev 96662) +++ arch-x86_64-dynamic_linker.patch 2013-09-02 20:31:46 UTC (rev 96663) @@ -1,12 +0,0 @@ -diff -rup ../prelink.orig/src/arch-x86_64.c ./src/arch-x86_64.c ---- ../prelink.orig/src/arch-x86_64.c 2010-12-22 12:03:06.725004002 +0100 -+++ ./src/arch-x86_64.c 2010-12-22 12:04:08.193712039 +0100 -@@ -532,7 +532,7 @@ PL_ARCH = { - .R_COPY = R_X86_64_COPY, - .R_RELATIVE = R_X86_64_RELATIVE, - .rtype_class_valid = RTYPE_CLASS_VALID, -- .dynamic_linker = "/lib64/ld-linux-x86-64.so.2", -+ .dynamic_linker = "/lib/ld-linux-x86-64.so.2", - .adjust_dyn = x86_64_adjust_dyn, - .adjust_rel = x86_64_adjust_rel, - .adjust_rela = x86_64_adjust_rela, Modified: prelink.conf =================================================================== --- prelink.conf 2013-09-02 20:28:33 UTC (rev 96662) +++ prelink.conf 2013-09-02 20:31:46 UTC (rev 96663) @@ -1,24 +1,8 @@ # System /usr/lib /usr/bin -/lib -/bin -/usr/sbin -# Gnome -/opt/gnome/lib -/opt/gnome/bin -/opt/gnome/share - -# KDE/Qt -/opt/qt/lib -/opt/qt/bin -/opt/qt/share +# KDE3 /opt/kde/lib /opt/kde/bin /opt/kde/share - -# XFCE -/opt/xfce4/lib -/opt/xfce4/bin -/opt/xfce4/share
