Blame SOURCES/redhat-rpm-config-9.1.0-python-hardlink-spaces-in-filenames.patch

eaaa62
diff --git a/brp-python-hardlink b/brp-python-hardlink
eaaa62
index a937529..210d69c 100755
eaaa62
--- a/brp-python-hardlink
eaaa62
+++ b/brp-python-hardlink
eaaa62
@@ -10,8 +10,8 @@ fi
eaaa62
 find "$RPM_BUILD_ROOT" -type f -name "*.pyc" | while read pyc ; do
eaaa62
        pyo="$(echo $pyc | sed -e 's/.pyc$/.pyo/')"
eaaa62
        if [ -f "$pyo" ] ; then
eaaa62
-               csha="$(sha1sum -b $pyc | cut -d' ' -f 1)" && \
eaaa62
-               osha="$(sha1sum -b $pyo | cut -d' ' -f 1)" && \
eaaa62
+               csha="$(sha1sum -b "$pyc" | cut -d' ' -f 1)" && \
eaaa62
+               osha="$(sha1sum -b "$pyo" | cut -d' ' -f 1)" && \
eaaa62
                if [ "$csha" = "$osha" ] ; then
eaaa62
                        ln -f "$pyc" "$pyo"
eaaa62
                fi