summaryrefslogtreecommitdiffstats
path: root/kernel.spec
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2019-10-22 11:00:32 -0400
committerLaura Abbott <labbott@redhat.com>2019-10-29 15:28:51 -0400
commitdd53be813be3f4c8367e3c3e202c8911b94402b3 (patch)
tree449d36e9fae0a7530c9390c371ae712f3bf0a473 /kernel.spec
parent5a0c912794dda84feb84b495adede3df75d0620b (diff)
downloadkernel-dd53be813be3f4c8367e3c3e202c8911b94402b3.tar.gz
kernel-dd53be813be3f4c8367e3c3e202c8911b94402b3.tar.xz
kernel-dd53be813be3f4c8367e3c3e202c8911b94402b3.zip
Use the dist tag for the hard link instead of a wider fc* tag
More generic for other dist-tags
Diffstat (limited to 'kernel.spec')
-rw-r--r--kernel.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel.spec b/kernel.spec
index ac0c125ed..acb41159b 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -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}