Blame SOURCES/redhat-rpm-config-9.1.0-jar-repack-perms.patch

76c1b9
diff -up redhat-rpm-config-9.1.0/brp-java-repack-jars.jar-repack-perms redhat-rpm-config-9.1.0/brp-java-repack-jars
76c1b9
--- redhat-rpm-config-9.1.0/brp-java-repack-jars.jar-repack-perms	2013-07-05 13:21:56.548998671 +0300
76c1b9
+++ redhat-rpm-config-9.1.0/brp-java-repack-jars	2013-07-05 13:22:50.962398381 +0300
76c1b9
@@ -35,8 +35,8 @@ if [ ! -z "$JARS" ]; then
76c1b9
 		
76c1b9
 		pushd "$JTMPDIR" > /dev/null
76c1b9
 		/usr/bin/unzip -qq -o "$j"
76c1b9
-		find -type d -exec chmod a+rx {} \;
76c1b9
-		find -type f -exec chmod a+r {} \;
76c1b9
+		find -type d -exec chmod a+rx,u+w {} \;
76c1b9
+		find -type f -exec chmod a+r,u+w {} \;
76c1b9
 		rm -f "$j"
76c1b9
 		
76c1b9
 		# Create the directories first.