Use the dist tag for the hard link instead of a wider fc* tag

More generic for other dist-tags
This commit is contained in:
Laura Abbott 2019-10-22 11:00:32 -04:00
parent 5a0c912794
commit dd53be813b

View File

@ -1907,7 +1907,7 @@ if [ "$HARDLINK" != "no" -a -x /usr/sbin/hardlink ]\
then\
(cd /usr/src/kernels/%{KVERREL}%{?1:+%{1}} &&\
/usr/bin/find . -type f | while read f; do\
hardlink -c /usr/src/kernels/*.fc*.*/$f $f\
hardlink -c /usr/src/kernels/*%{?dist}.*/$f $f\
done)\
fi\
%{nil}