From 23b8004db0e13c45dd4167c82ea3f91830289e9b7e7b566cc36dd4bc37619990 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Fri, 4 Oct 2019 07:54:06 +0000 Subject: [PATCH] _rpmmacrodir OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=5 --- ocaml-rpm-macros.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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