Hello community,

here is the log from the commit of package fakeroot for openSUSE:Factory 
checked in at 2020-09-23 18:48:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fakeroot (Old)
 and      /work/SRC/openSUSE:Factory/.fakeroot.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fakeroot"

Wed Sep 23 18:48:12 2020 rev:7 rq:836310 version:1.24

Changes:
--------
--- /work/SRC/openSUSE:Factory/fakeroot/fakeroot.changes        2020-01-30 
09:37:03.833350850 +0100
+++ /work/SRC/openSUSE:Factory/.fakeroot.new.4249/fakeroot.changes      
2020-09-23 18:48:55.253791640 +0200
@@ -1,0 +2,7 @@
+Tue Jun  9 11:54:31 UTC 2020 - Dirk Mueller <[email protected]>
+
+- add fakeroot-1.24-fix-chown.patch:
+  taken from 
https://salsa.debian.org/clint/fakeroot/-/commit/55e12cb8b02d65b9fc9c3e607794db5e01e2f94f.diff
+- skip testsuite on Tumbleweed until underlying issue has been fixed
+
+-------------------------------------------------------------------

New:
----
  fakeroot-1.24-fix-chown.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ fakeroot.spec ++++++
--- /var/tmp/diff_new_pack.Zf8Hdy/_old  2020-09-23 18:48:56.465792756 +0200
+++ /var/tmp/diff_new_pack.Zf8Hdy/_new  2020-09-23 18:48:56.469792760 +0200
@@ -32,6 +32,8 @@
 # PATCH-FIX-UPSTREAM fakeroot-1.21-fix-shell-in-fakeroot.patch (deb#828810)
 Patch4:         %{name}-1.21-fix-shell-in-fakeroot
 Patch5:         fakeroot-drop-tartest.patch
+# PATCH-FIX-UPSTREAM 
https://salsa.debian.org/clint/fakeroot/-/commit/55e12cb8b02d65b9fc9c3e607794db5e01e2f94f.diff
+Patch6:         fakeroot-1.24-fix-chown.patch
 BuildRequires:  automake
 BuildRequires:  fdupes
 # user(daemon)/group(sys) is required for t.tar testsuite
@@ -108,9 +110,11 @@
 touch %{buildroot}%{_sysconfdir}/alternatives/{faked,fakeroot}{,.1%{ext_man}}
 
 %check
+%if %{suse_version} < 1315
 for type in sysv tcp; do
   make %{?_smp_mflags} -C obj-$type check
 done
+%endif
 
 %post
 %{_sbindir}/update-alternatives --install %{_bindir}/fakeroot fakeroot 
%{_bindir}/fakeroot-sysv 20 \

++++++ fakeroot-1.24-fix-chown.patch ++++++
diff --git a/libfakeroot.c b/libfakeroot.c
index 
f867758febd679370e70b493f1003fd3c9450573..977a4d933fa590fc1faefbe63a25e4fad6ebfcf6
 100644
--- a/libfakeroot.c
+++ b/libfakeroot.c
@@ -880,7 +880,7 @@ int fchownat(int dir_fd, const char *path, uid_t owner, 
gid_t group, int flags)
   /* If AT_SYMLINK_NOFOLLOW is set in the fchownat call it should
      be when we stat it. */
   INT_STRUCT_STAT st;
-  r=INT_NEXT_FSTATAT(dir_fd, path, &st, (flags & AT_SYMLINK_NOFOLLOW));
+  r=INT_NEXT_FSTATAT(dir_fd, path, &st, (flags & (AT_SYMLINK_NOFOLLOW | 
AT_EMPTY_PATH | AT_NO_AUTOMOUNT)));
 
   if(r)
     return(r);
@@ -1017,7 +1017,7 @@ int fchmodat(int dir_fd, const char *path, mode_t mode, 
int flags) {
 
   /* If AT_SYMLINK_NOFOLLOW is set in the fchownat call it should
      be when we stat it. */
-  r=INT_NEXT_FSTATAT(dir_fd, path, &st, flags & AT_SYMLINK_NOFOLLOW);
+  r=INT_NEXT_FSTATAT(dir_fd, path, &st, flags & (AT_SYMLINK_NOFOLLOW | 
AT_EMPTY_PATH | AT_NO_AUTOMOUNT));
 
   if(r)
     return(r);

Reply via email to