[arch-commits] Commit in fakechroot/trunk (PKGBUILD fakechroot.install)

Allan McRae allan at nymeria.archlinux.org
Tue Apr 16 04:49:57 UTC 2013


    Date: Tuesday, April 16, 2013 @ 06:49:57
  Author: allan
Revision: 182908

upgpkg: fakechroot 2.16-2

rebuild of old package, fix testsuite issue

Modified:
  fakechroot/trunk/PKGBUILD
  fakechroot/trunk/fakechroot.install

--------------------+
 PKGBUILD           |   10 +++++++++-
 fakechroot.install |    3 ---
 2 files changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-04-16 04:37:12 UTC (rev 182907)
+++ PKGBUILD	2013-04-16 04:49:57 UTC (rev 182908)
@@ -4,7 +4,7 @@
 
 pkgname=fakechroot
 pkgver=2.16
-pkgrel=1
+pkgrel=2
 pkgdesc="Gives a fake chroot environment"
 arch=('i686' 'x86_64')
 url="https://github.com/fakechroot/fakechroot/wiki"
@@ -14,6 +14,14 @@
 source=(https://github.com/downloads/fakechroot/fakechroot/fakechroot-${pkgver}.tar.gz)
 md5sums=('3ea5efb76664e787450e0cfcefc1b807')
 
+
+prepare() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  
+  # https://github.com/fakechroot/fakechroot/issues/10
+  sed -i "s#usr/sbin/chroot#usr/bin/chroot#" test/testtree.sh test/t/chroot.t
+}
+
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
   ./configure --prefix=/usr --libdir=/usr/lib/libfakeroot --sysconfdir=/etc

Modified: fakechroot.install
===================================================================
--- fakechroot.install	2013-04-16 04:37:12 UTC (rev 182907)
+++ fakechroot.install	2013-04-16 04:49:57 UTC (rev 182908)
@@ -3,9 +3,6 @@
 }
 
 post_upgrade() {
-  if [ "$(vercmp $2 2.9-2)" -lt 0 ]; then
-    sed -i -e '/\/usr\/lib\/libfakechroot/d' etc/ld.so.conf
-  fi
   sbin/ldconfig -r .
 }
 




More information about the arch-commits mailing list