summaryrefslogtreecommitdiffstats
path: root/redis.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-05-16 07:41:38 +0200
committerRemi Collet <remi@remirepo.net>2019-05-16 07:41:38 +0200
commitcd92064a4bd8c3751ad3a56d3c9fb083d40bd293 (patch)
treea9a4bd9b743dc32d368d6117f73f0ea02ae1039f /redis.spec
parent0c45e237e2901a242cd1875207738013d303f79d (diff)
fix macro path
Diffstat (limited to 'redis.spec')
-rw-r--r--redis.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/redis.spec b/redis.spec
index 2f361da..ffb98a0 100644
--- a/redis.spec
+++ b/redis.spec
@@ -44,8 +44,8 @@
%global doc_commit 8c322492b0ad14067bd4cebce20f3509d989370d
%global short_doc_commit %(c=%{doc_commit}; echo ${c:0:7})
-# %%{rpmmacrodir} not usable on EL-6
-%global macrosdir %(d=%{_rpmmacrodir}; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
+# %%{_rpmmacrodir} not usable on EL-6 - EL-7 (without epel-rpm)s-macros)
+%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
Name: redis
Version: %{upstream_ver}%{?upstream_pre:~%{upstream_pre}}