The package rpms/glusterfs-coreutils.git has added or updated architecture specific
content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/glusterfs-coreutils.git/commit/?i...
https://src.fedoraproject.org/cgit/rpms/glusterfs-coreutils.git/commit/?i....
Change:
-ExcludeArch: i686
+ExcludeArch: i686
Thanks.
Full change:
============
commit c062bf5b95e987091156386a083987cbe3de8b90
Author: Kaleb S. KEITHLEY <kkeithle(a)redhat.com>
Date: Thu Aug 1 08:18:48 2019 -0400
glusterfs-coreutils 0.3.1 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle(a)redhat.com>
diff --git a/glusterfs-coreutils.spec b/glusterfs-coreutils.spec
index 77ffcb9..5cf0a9c 100644
--- a/glusterfs-coreutils.spec
+++ b/glusterfs-coreutils.spec
@@ -8,7 +8,6 @@ URL:
https://github.com/gluster/glusterfs-coreutils
# The source for this package was created from upstream source using the
# following command:
# make dist
-ExcludeArch: i686
Source0:
https://github.com/gluster/glusterfs-coreutils/archive/v%{version}/%{name...
Provides: bundled(gnulib)
commit d62c9157b182da353e9d4cb019937bd8ac670f72
Author: Kaleb S. KEITHLEY <kkeithle(a)redhat.com>
Date: Thu Aug 1 08:05:50 2019 -0400
glusterfs-coreutils 0.3.1 GA
Signed-off-by: Kaleb S. KEITHLEY <kkeithle(a)redhat.com>
diff --git a/.gitignore b/.gitignore
index 3de3edc..f6a3a77 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1 @@
-/glusterfs-coreutils-60d57d8.tar.gz
-/glusterfs-coreutils-259f269.tar.gz
-/glusterfs-coreutils-c155815.tar.gz
-/glusterfs-coreutils-v0.3.0.tar.gz
+/*.tar.gz
diff --git a/adapting-to-ftruncate-signature-change.patch
b/adapting-to-ftruncate-signature-change.patch
deleted file mode 100644
index f146e59..0000000
--- a/adapting-to-ftruncate-signature-change.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-From 1b5a326d48b3e2837d6952a8c710ef9c25a14c14 Mon Sep 17 00:00:00 2001
-From: Anoop C S <anoopcs(a)cryptolab.net>
-Date: Thu, 1 Aug 2019 16:42:24 +0530
-Subject: [PATCH] Adapt to change in ftruncate API signature changes (#37)
-
-Signed-off-by: Anoop C S <anoopcs(a)redhat.com>
----
- configure.ac | 3 ++-
- src/glfs-cp.c | 5 ++++-
- src/glfs-mv.c | 4 ++++
- src/glfs-put.c | 4 ++++
- 4 files changed, 14 insertions(+), 2 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 5c4978e..ce38fe4 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -35,7 +35,8 @@ AC_PROG_EGREP
-
- # Dependencies
- AC_CHECK_HEADERS([readline/readline.h readline/history.h],,[AC_MSG_ERROR([cannot find
readline headers])])
--PKG_CHECK_MODULES([GLFS], [glusterfs-api >= 3],,[AC_MSG_ERROR([cannot find glusterfs
api headers])])
-+PKG_CHECK_MODULES([GLFS], [glusterfs-api >= 3],[],[AC_MSG_ERROR([cannot find
glusterfs api headers])])
-+PKG_CHECK_MODULES([GLFS_7_6],[glusterfs-api >= 7.6],[AC_DEFINE(HAVE_GLFS_7_6,1,[found
glusterfs api version >= 7.6])], [no])
-
- AC_CHECK_PROG([HAVE_HELP2MAN],[help2man],[yes],[no])
- AM_CONDITIONAL([HAVE_HELP2MAN], [test "x$HAVE_HELP2MAN" = xyes])
-diff --git a/src/glfs-cp.c b/src/glfs-cp.c
-index 3edfcce..b778425 100644
---- a/src/glfs-cp.c
-+++ b/src/glfs-cp.c
-@@ -566,8 +566,11 @@ local_to_remote (const char *local_path, const char *remote_path,
glfs_t *fs)
- error (0, errno, "failed to lock %s", full_path);
- goto out;
- }
--
-+#ifdef HAVE_GLFS_7_6
-+ ret = glfs_ftruncate (remote_fd, 0, NULL, NULL);
-+#else
- ret = glfs_ftruncate (remote_fd, 0);
-+#endif
- if (ret == -1) {
- error (0, errno, "failed to truncate %s", full_path);
- goto out;
-diff --git a/src/glfs-mv.c b/src/glfs-mv.c
-index dfe1d91..cacd66d 100644
---- a/src/glfs-mv.c
-+++ b/src/glfs-mv.c
-@@ -567,7 +567,11 @@ local_to_remote (const char *local_path, const char *remote_path,
glfs_t *fs)
- goto out;
- }
-
-+#ifdef HAVE_GLFS_7_6
-+ ret = glfs_ftruncate (remote_fd, 0, NULL, NULL);
-+#else
- ret = glfs_ftruncate (remote_fd, 0);
-+#endif
- if (ret == -1) {
- error (0, errno, "failed to truncate %s", full_path);
- goto out;
-diff --git a/src/glfs-put.c b/src/glfs-put.c
-index c253d81..e7be636 100644
---- a/src/glfs-put.c
-+++ b/src/glfs-put.c
-@@ -256,7 +256,11 @@ gluster_put (glfs_t *fs, struct state *state)
- goto out;
- }
- } else {
-+#ifdef HAVE_GLFS_7_6
-+ ret = glfs_ftruncate (fd, 0, NULL, NULL);
-+#else
- ret = glfs_ftruncate (fd, 0);
-+#endif
- if (ret == -1) {
- error (0, errno, "truncate error: %s", filename);
- goto out;
---
-2.21.0
-
diff --git a/glusterfs-coreutils.spec b/glusterfs-coreutils.spec
index 0f8d188..77ffcb9 100644
--- a/glusterfs-coreutils.spec
+++ b/glusterfs-coreutils.spec
@@ -1,15 +1,15 @@
Summary: Core Utilities for the Gluster Distributed File System
Name: glusterfs-coreutils
-Version: 0.3.0
-Release: 7%{?dist}
+Version: 0.3.1
+Release: 1%{?dist}
License: GPLv3
URL:
https://github.com/gluster/glusterfs-coreutils
# The source for this package was created from upstream source using the
# following command:
# make dist
+ExcludeArch: i686
Source0:
https://github.com/gluster/glusterfs-coreutils/archive/v%{version}/%{name...
-Patch0001: adapting-to-ftruncate-signature-change.patch
Provides: bundled(gnulib)
@@ -27,7 +27,6 @@ stat, rm and tail that are implemented specifically using the GlusterFS
API.
%prep
%setup -q -n %{name}-%{version}%{?prereltag}
-%patch0001 -p1
%build
sed -i 's|m4_esyscmd.*|0.3.0,|' configure.ac
@@ -43,6 +42,9 @@ make
%{_mandir}/man1/*
%changelog
+* Thu Aug 1 2019 Kaleb S. KEITHLEY <kkeithle [at] redhat.com> - 0.3.1-1
+- glusterfs-coreutils 0.3.1 GA
+
* Thu Aug 1 2019 Anoop C S <anoopcs(a)redhat.com> - 0.3.0-7
- Adapt to ftruncate api changes
diff --git a/sources b/sources
index 7b5f382..ed4ae9e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (glusterfs-coreutils-v0.3.0.tar.gz) =
1a0fa450a7f3d26214a8ce37c0381dbae23b35110479dd56c205583fe0b74becb71f1c6194f9a7d114ba005aa2fa28132c066b766af26f204fa1bb2ccd6a9aa8
+SHA512 (glusterfs-coreutils-v0.3.1.tar.gz) =
0b94160f20d7d687c2dfeac6773dc8392b4b33f72aef111c9a2a3832793b19d86a1bda5d217d3f107dfcf066a139cc551ab3ce75206e230dc2b6b65b9d6c7d90
commit 1953d38c270dcdb0a74d9d5d63dd40d34048374c
Author: Anoop C S <anoopcs(a)redhat.com>
Date: Thu Aug 1 17:21:39 2019 +0530
Adapt to ftruncate API signature changes
Signed-off-by: Anoop C S <anoopcs(a)redhat.com>
diff --git a/adapting-to-ftruncate-signature-change.patch
b/adapting-to-ftruncate-signature-change.patch
new file mode 100644
index 0000000..f146e59
--- /dev/null
+++ b/adapting-to-ftruncate-signature-change.patch
@@ -0,0 +1,79 @@
+From 1b5a326d48b3e2837d6952a8c710ef9c25a14c14 Mon Sep 17 00:00:00 2001
+From: Anoop C S <anoopcs(a)cryptolab.net>
+Date: Thu, 1 Aug 2019 16:42:24 +0530
+Subject: [PATCH] Adapt to change in ftruncate API signature changes (#37)
+
+Signed-off-by: Anoop C S <anoopcs(a)redhat.com>
+---
+ configure.ac | 3 ++-
+ src/glfs-cp.c | 5 ++++-
+ src/glfs-mv.c | 4 ++++
+ src/glfs-put.c | 4 ++++
+ 4 files changed, 14 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 5c4978e..ce38fe4 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -35,7 +35,8 @@ AC_PROG_EGREP
+
+ # Dependencies
+ AC_CHECK_HEADERS([readline/readline.h readline/history.h],,[AC_MSG_ERROR([cannot find
readline headers])])
+-PKG_CHECK_MODULES([GLFS], [glusterfs-api >= 3],,[AC_MSG_ERROR([cannot find glusterfs
api headers])])
++PKG_CHECK_MODULES([GLFS], [glusterfs-api >= 3],[],[AC_MSG_ERROR([cannot find
glusterfs api headers])])
++PKG_CHECK_MODULES([GLFS_7_6],[glusterfs-api >= 7.6],[AC_DEFINE(HAVE_GLFS_7_6,1,[found
glusterfs api version >= 7.6])], [no])
+
+ AC_CHECK_PROG([HAVE_HELP2MAN],[help2man],[yes],[no])
+ AM_CONDITIONAL([HAVE_HELP2MAN], [test "x$HAVE_HELP2MAN" = xyes])
+diff --git a/src/glfs-cp.c b/src/glfs-cp.c
+index 3edfcce..b778425 100644
+--- a/src/glfs-cp.c
++++ b/src/glfs-cp.c
+@@ -566,8 +566,11 @@ local_to_remote (const char *local_path, const char *remote_path,
glfs_t *fs)
+ error (0, errno, "failed to lock %s", full_path);
+ goto out;
+ }
+-
++#ifdef HAVE_GLFS_7_6
++ ret = glfs_ftruncate (remote_fd, 0, NULL, NULL);
++#else
+ ret = glfs_ftruncate (remote_fd, 0);
++#endif
+ if (ret == -1) {
+ error (0, errno, "failed to truncate %s", full_path);
+ goto out;
+diff --git a/src/glfs-mv.c b/src/glfs-mv.c
+index dfe1d91..cacd66d 100644
+--- a/src/glfs-mv.c
++++ b/src/glfs-mv.c
+@@ -567,7 +567,11 @@ local_to_remote (const char *local_path, const char *remote_path,
glfs_t *fs)
+ goto out;
+ }
+
++#ifdef HAVE_GLFS_7_6
++ ret = glfs_ftruncate (remote_fd, 0, NULL, NULL);
++#else
+ ret = glfs_ftruncate (remote_fd, 0);
++#endif
+ if (ret == -1) {
+ error (0, errno, "failed to truncate %s", full_path);
+ goto out;
+diff --git a/src/glfs-put.c b/src/glfs-put.c
+index c253d81..e7be636 100644
+--- a/src/glfs-put.c
++++ b/src/glfs-put.c
+@@ -256,7 +256,11 @@ gluster_put (glfs_t *fs, struct state *state)
+ goto out;
+ }
+ } else {
++#ifdef HAVE_GLFS_7_6
++ ret = glfs_ftruncate (fd, 0, NULL, NULL);
++#else
+ ret = glfs_ftruncate (fd, 0);
++#endif
+ if (ret == -1) {
+ error (0, errno, "truncate error: %s", filename);
+ goto out;
+--
+2.21.0
+
diff --git a/glusterfs-coreutils.spec b/glusterfs-coreutils.spec
index 4e2f552..0f8d188 100644
--- a/glusterfs-coreutils.spec
+++ b/glusterfs-coreutils.spec
@@ -2,13 +2,14 @@
Summary: Core Utilities for the Gluster Distributed File System
Name: glusterfs-coreutils
Version: 0.3.0
-Release: 6%{?dist}
+Release: 7%{?dist}
License: GPLv3
URL:
https://github.com/gluster/glusterfs-coreutils
# The source for this package was created from upstream source using the
# following command:
# make dist
Source0:
https://github.com/gluster/glusterfs-coreutils/archive/v%{version}/%{name...
+Patch0001: adapting-to-ftruncate-signature-change.patch
Provides: bundled(gnulib)
@@ -26,6 +27,7 @@ stat, rm and tail that are implemented specifically using the GlusterFS
API.
%prep
%setup -q -n %{name}-%{version}%{?prereltag}
+%patch0001 -p1
%build
sed -i 's|m4_esyscmd.*|0.3.0,|' configure.ac
@@ -41,6 +43,9 @@ make
%{_mandir}/man1/*
%changelog
+* Thu Aug 1 2019 Anoop C S <anoopcs(a)redhat.com> - 0.3.0-7
+- Adapt to ftruncate api changes
+
* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.0-6
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
commit 251508295d45103448949170cda8ca02a3304e8a
Author: Anoop C S <anoopcs(a)redhat.com>
Date: Thu Aug 1 13:34:02 2019 +0530
Remove an old patch
Signed-off-by: Anoop C S <anoopcs(a)redhat.com>
diff --git a/0001-uninitialized.patch b/0001-uninitialized.patch
deleted file mode 100644
index 22f3b48..0000000
--- a/0001-uninitialized.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- glusterfs-coreutils-c155815/src/glfs-ls.c.orig 2018-03-20 07:31:33.552119109 -0400
-+++ glusterfs-coreutils-c155815/src/glfs-ls.c 2018-03-20 07:32:50.294119109 -0400
-@@ -432,7 +432,7 @@
- {
- char *pattern = NULL;
- char *real_path = NULL;
-- int ret;
-+ int ret = -1;
- struct stat statbuf;
-
- /**
-@@ -459,7 +459,6 @@
- if (pattern && strchr (pattern, '*') == NULL) {
- if (glfs_stat (fs, path, &statbuf)) {
- error (0, errno, "failed to access %s",
state->url);
-- ret = -1;
- goto out;
- }
-
---- glusterfs-coreutils-c155815/src/glfs-tail.c.orig 2018-03-20 07:33:02.133119109 -0400
-+++ glusterfs-coreutils-c155815/src/glfs-tail.c 2018-03-20 07:33:46.237119109 -0400
-@@ -567,7 +567,7 @@
- {
- int argc = ctx->argc;
- char **argv = ctx->argv;
-- int ret;
-+ int ret = -1;
-
- state = init_state ();
- if (state == NULL) {
commit cfdbbad70c9dbe6554a0cf46e14b750b7baab397
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Thu Jul 25 03:58:27 2019 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/glusterfs-coreutils.spec b/glusterfs-coreutils.spec
index c3d0c70..4e2f552 100644
--- a/glusterfs-coreutils.spec
+++ b/glusterfs-coreutils.spec
@@ -2,7 +2,7 @@
Summary: Core Utilities for the Gluster Distributed File System
Name: glusterfs-coreutils
Version: 0.3.0
-Release: 5%{?dist}
+Release: 6%{?dist}
License: GPLv3
URL:
https://github.com/gluster/glusterfs-coreutils
# The source for this package was created from upstream source using the
@@ -41,6 +41,9 @@ make
%{_mandir}/man1/*
%changelog
+* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.0-6
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
* Wed Feb 20 2019 Kaleb S. KEITHLEY <kkeithle [at] redhat.com> - 0.3.0-5
- rebuild for f31/rawhide
commit 874a79eba3d18cd9688cdc7266fe06a90f60ad6c
Author: Kaleb S. KEITHLEY <kkeithle(a)redhat.com>
Date: Wed Feb 20 14:19:41 2019 -0500
rebuild for f31/rawhide
Signed-off-by: Kaleb S. KEITHLEY <kkeithle(a)redhat.com>
diff --git a/glusterfs-coreutils.spec b/glusterfs-coreutils.spec
index 1437ae0..c3d0c70 100644
--- a/glusterfs-coreutils.spec
+++ b/glusterfs-coreutils.spec
@@ -2,7 +2,7 @@
Summary: Core Utilities for the Gluster Distributed File System
Name: glusterfs-coreutils
Version: 0.3.0
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPLv3
URL:
https://github.com/gluster/glusterfs-coreutils
# The source for this package was created from upstream source using the
@@ -30,7 +30,7 @@ stat, rm and tail that are implemented specifically using the GlusterFS
API.
%build
sed -i 's|m4_esyscmd.*|0.3.0,|' configure.ac
./autogen.sh && %configure
-make %{?_smp_mflags}
+make
%install
%make_install
@@ -41,6 +41,9 @@ make %{?_smp_mflags}
%{_mandir}/man1/*
%changelog
+* Wed Feb 20 2019 Kaleb S. KEITHLEY <kkeithle [at] redhat.com> - 0.3.0-5
+- rebuild for f31/rawhide
+
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.0-4
- Rebuild for readline 8.0