[arch-commits] Commit in s3fs-fuse/trunk (PKGBUILD notest.patch)

Jelle van der Waa jelle at archlinux.org
Sat Aug 1 18:30:56 UTC 2015


    Date: Saturday, August 1, 2015 @ 20:30:55
  Author: jelle
Revision: 137666

Do not install /test/rename_before_close

Make install installs the file rename_before_close
to /test/. Apply a patch to the Makefile.am to fix
this by adding a dummy install:

Fixes: FS#45804

Added:
  s3fs-fuse/trunk/notest.patch
Modified:
  s3fs-fuse/trunk/PKGBUILD

--------------+
 PKGBUILD     |   12 +++++++++---
 notest.patch |   12 ++++++++++++
 2 files changed, 21 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-08-01 15:32:26 UTC (rev 137665)
+++ PKGBUILD	2015-08-01 18:30:55 UTC (rev 137666)
@@ -6,7 +6,7 @@
 
 pkgname=s3fs-fuse
 pkgver=1.79
-pkgrel=1
+pkgrel=2
 pkgdesc="FUSE-based file system backed by Amazon S3"
 arch=('i686' 'x86_64')
 url="https://github.com/s3fs-fuse/s3fs-fuse/wiki"
@@ -15,11 +15,17 @@
 conflicts=('s3fs')
 provides=('s3fs')
 replaces=('s3fs')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/s3fs-fuse/s3fs-fuse/archive/v$pkgver.tar.gz")
-sha256sums=('61c179f958ce236c6612bf6ffc7bdb6478393ac6e5ec0b04788000fc9f9dbf66')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/s3fs-fuse/s3fs-fuse/archive/v$pkgver.tar.gz" "notest.patch")
+sha256sums=('61c179f958ce236c6612bf6ffc7bdb6478393ac6e5ec0b04788000fc9f9dbf66'
+            '4d7ba997dfd3a3fa083def4fcfc88edc77e0aee0db03ceb2c2b2314feb88f6d6')
 
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  patch -Np1 -i $srcdir/notest.patch
+}
 build() {
   cd "$srcdir/$pkgname-$pkgver"
+
   ./autogen.sh
   ./configure --prefix=/usr
   make

Added: notest.patch
===================================================================
--- notest.patch	                        (rev 0)
+++ notest.patch	2015-08-01 18:30:55 UTC (rev 137666)
@@ -0,0 +1,12 @@
+diff --git a/test/Makefile.am b/test/Makefile.am
+index 61e7460..e308585 100644
+--- a/test/Makefile.am
++++ b/test/Makefile.am
+@@ -33,3 +33,6 @@ test_PROGRAMS=rename_before_close
+ 
+ rename_before_close_SOURCES = rename_before_close.c
+ 
++install:
++
++
+



More information about the arch-commits mailing list