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

Eli Schwartz eschwartz at archlinux.org
Mon Jan 28 20:56:32 UTC 2019


    Date: Monday, January 28, 2019 @ 20:56:31
  Author: eschwartz
Revision: 428338

upgpkg: glusterfs 1:5.3-2

migrate to python3 build
switch autogen.sh in build to autoreconf in prepare

Modified:
  glusterfs/trunk/PKGBUILD

----------+
 PKGBUILD |   29 +++++++++++++++--------------
 1 file changed, 15 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-28 20:08:40 UTC (rev 428337)
+++ PKGBUILD	2019-01-28 20:56:31 UTC (rev 428338)
@@ -6,38 +6,39 @@
 pkgname=glusterfs
 epoch=1
 pkgver=5.3
-pkgrel=1
-pkgdesc='Is a cluster file-system capable of scaling to several peta-bytes.'
+pkgrel=2
+pkgdesc='a cluster file-system capable of scaling to several peta-bytes.'
 arch=(x86_64)
 url='http://www.gluster.org/'
 license=(GPL2 LGPL3)
 install=glusterfs.install
 backup=('etc/glusterfs/glusterd.vol'
-	'etc/glusterfs/eventsconfig.json'
-	'etc/glusterfs/gluster-rsyslog-5.8.conf'
-	'etc/glusterfs/gluster-rsyslog-7.2.conf'
-	'etc/glusterfs/glusterd.vol'
-	'etc/glusterfs/glusterfs-georep-logrotate'
-	'etc/glusterfs/glusterfs-logrotate')
-depends=(fuse python2 libxml2 libaio liburcu attr which rpcbind)
+        'etc/glusterfs/eventsconfig.json'
+        'etc/glusterfs/gluster-rsyslog-5.8.conf'
+        'etc/glusterfs/gluster-rsyslog-7.2.conf'
+        'etc/glusterfs/glusterd.vol'
+        'etc/glusterfs/glusterfs-georep-logrotate'
+        'etc/glusterfs/glusterfs-logrotate')
+depends=(fuse python libxml2 libaio liburcu attr which rpcbind)
 makedepends=(rpcsvc-proto)
 optdepends=('glib2: qemu-block')
 #source=($pkgname-$pkgver.tar.gz::https://github.com/gluster/glusterfs/archive/v$pkgver.tar.gz)
 source=(https://bits.gluster.org/pub/gluster/glusterfs/src/glusterfs-$pkgver.tar.gz
+        https://github.com/gluster/glusterfs/commit/82987486a9c9145caa6ce9ff31506ba2563a4a97.patch
         glusterfs.sysusers)
 sha256sums=('293542b1f43e681741282d1ba2aefe9b501321c782e896f518cca36072414448'
+            '7d3793449105e3cbfef57b78b707f37a53430bb2caf16f4674ace1ab61be5acb'
             'a470d07aedb2674adfb295b4775e490b48816b87974946da4dcf62aa0d72108a')
 
 prepare() {
   cd "$srcdir"/$pkgname-$pkgver
-  find -type f -name '*.py' -exec sed -i \
-    -e 's:env\ python$:env\ python2:' \
-    -e 's:/usr/bin/python$:/usr/bin/python2:' {} +
+  # https://bugzilla.redhat.com/show_bug.cgi?id=1656100 make autoreconf work
+  patch -p1 -i ../82987486a9c9145caa6ce9ff31506ba2563a4a97.patch
+  autoreconf -fi
 }
 
 build() {
   cd "$srcdir"/$pkgname-$pkgver
-  ./autogen.sh
   ./configure \
     --prefix=/usr \
     --sbindir=/usr/bin \
@@ -49,7 +50,7 @@
     --with-systemddir=/usr/lib/systemd/system \
     --with-tmpfilesdir=/usr/lib/tmpfiles.d \
     --enable-gnfs \
-    PYTHON=python2 LEXLIB=
+    LEXLIB=
   make
 }
 



More information about the arch-commits mailing list