Blame SOURCES/redhat-rpm-config-9.1.0-fix-group-owners-in-jars.patch

76c1b9
--- redhat-rpm-config-9.1.0/brp-java-repack-jars.old	2018-04-23 11:17:21.121577268 +0200
76c1b9
+++ redhat-rpm-config-9.1.0/brp-java-repack-jars	2018-05-09 12:54:52.018083468 +0200
76c1b9
@@ -29,7 +29,7 @@
76c1b9
 	IFS=$(printf '\n\t')
76c1b9
 	for j in $JARS ; do
76c1b9
 		JAROWN=`ls -l $j | cut -d' ' -f3`
76c1b9
-		JARGRP=`ls -l $j | cut -d' ' -f4`
76c1b9
+		JARGRP=`stat $j --printf="%G"`
76c1b9
 		JARNAME=`basename "$j"`
76c1b9
 		JTMPDIR=`mktemp -d -p $RPM_BUILD_ROOT/tmp "$JARNAME.tmpdir.XXXXXXXXXX"` || exit 1
76c1b9
 		JARDIR=`mktemp -d -p $RPM_BUILD_ROOT/tmp "$JARNAME.jardir.XXXXXXXXXX"` || exit 1