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:
parent
5a0c912794
commit
dd53be813b
@ -1907,7 +1907,7 @@ if [ "$HARDLINK" != "no" -a -x /usr/sbin/hardlink ]\
|
|||||||
then\
|
then\
|
||||||
(cd /usr/src/kernels/%{KVERREL}%{?1:+%{1}} &&\
|
(cd /usr/src/kernels/%{KVERREL}%{?1:+%{1}} &&\
|
||||||
/usr/bin/find . -type f | while read f; do\
|
/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)\
|
done)\
|
||||||
fi\
|
fi\
|
||||||
%{nil}
|
%{nil}
|
||||||
|
Loading…
Reference in New Issue
Block a user