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)