diff --git a/ocaml-rpm-macros.spec b/ocaml-rpm-macros.spec index b1099f2..e769dac 100644 --- a/ocaml-rpm-macros.spec +++ b/ocaml-rpm-macros.spec @@ -61,8 +61,8 @@ in ocaml spec files. %install # install OCaml macros -mkdir -vp %{buildroot}%{_rpmconfigdir}/macros.d -tee %{buildroot}%{_rpmconfigdir}/macros.d/macros.%{name} <<'_EOF_' +mkdir -vp %{buildroot}%{_rpmmacrodir} +tee %{buildroot}%{_rpmmacrodir/macros.%{name} <<'_EOF_' # get rid of %{_rpmconfigdir}/find-debuginfo.sh # strip kills the bytecode part of ELF binaries # @@ -221,6 +221,6 @@ ocaml setup.ml -configure \\\ _EOF_ %files -%config %{_rpmconfigdir}/macros.d +%config %{_rpmmacrodir}/* %changelog