From 49cc5862a1437169430d437a7b086908a84f389c Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Fri, 31 Jan 2014 21:48:09 -0700 Subject: [PATCH] Fix rpm macros install dir --- hdf5.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/hdf5.spec b/hdf5.spec index 1c4cfbb..ad10879 100644 --- a/hdf5.spec +++ b/hdf5.spec @@ -1,3 +1,5 @@ +%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d) + # Patch version? %global snaprel %{nil} @@ -247,8 +249,8 @@ do done %endif # rpm macro for version checking -mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/rpm -cat > ${RPM_BUILD_ROOT}%{_sysconfdir}/rpm/macros.hdf5 < ${RPM_BUILD_ROOT}%{macrosdir}/macros.hdf5 < 1.8.12-4 +- Fix rpm macros install dir + * Wed Jan 29 2014 Orion Poplawski 1.8.12-3 - Fix rpm/macros.hdf5 generation (bug #1059161)