[arch-commits] Commit in ceph/trunk (PKGBUILD)

Sébastien Luttringer seblu at archlinux.org
Sun Jul 5 23:19:18 UTC 2015


    Date: Monday, July 6, 2015 @ 01:19:17
  Author: seblu
Revision: 241836

upgpkg: ceph 0.94.2-1

Modified:
  ceph/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-07-05 22:28:08 UTC (rev 241835)
+++ PKGBUILD	2015-07-05 23:19:17 UTC (rev 241836)
@@ -2,7 +2,7 @@
 # Maintainer: Sébastien "Seblu" Luttringer <seblu at archlinux.org>
 
 pkgname=ceph
-pkgver=0.94.1
+pkgver=0.94.2
 pkgrel=1
 pkgdesc='Distributed, fault-tolerant storage platform delivering object, block, and file system'
 arch=('x86_64' 'i686')
@@ -35,7 +35,7 @@
         'ceph-mon at .service'
         'ceph-mds at .service'
         '01-boost-158.patch')
-md5sums=('e4a625aa2c91fe5d3f0c62faa4716ca2'
+md5sums=('249648d35e634adaaeec727408ca6092'
          '9104b5b90349d2aa7802eb89158456e8'
          '63a584aa2a4e2b0efbee4e8fd32593f0'
          'd2411c41208d95743baa6d899cc1e0b0'
@@ -43,12 +43,6 @@
 
 prepare() {
   patch -p1 -d $pkgname-$pkgver < 01-boost-158.patch
-  # fix python2 shebang
-  find $pkgname-$pkgver -type f -exec \
-    sed -i '1s,^#! \?/usr/bin/\(env \|\)python$,#!/usr/bin/python2,' {} \;
-  # substitue buggy shebang in src/Makefile.in
-  sed -i 's,"#!/usr/bin/env python","#!/usr/bin/python2",' \
-    $pkgname-$pkgver/src/Makefile.in
 }
 
 build() {
@@ -78,6 +72,11 @@
   mv sbin/* usr/bin
   mv etc/bash_completion.d usr/share/bash-completion
   rmdir sbin
+
+  # fix python2 shebang, did not do it in prepare() anymore because it
+  # confuse automake
+  find . -type f -exec \
+    sed -i '1s,^#! \?/usr/bin/\(env \|\)python$,#!/usr/bin/python2,' {} \;
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list