diff options
author | Remi Collet <remi@remirepo.net> | 2019-05-16 07:41:38 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-05-16 07:41:38 +0200 |
commit | cd92064a4bd8c3751ad3a56d3c9fb083d40bd293 (patch) | |
tree | a9a4bd9b743dc32d368d6117f73f0ea02ae1039f | |
parent | 0c45e237e2901a242cd1875207738013d303f79d (diff) |
fix macro path
-rw-r--r-- | redis.spec | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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}} |