diff --git a/ocaml-srpm-macros.spec b/ocaml-srpm-macros.spec index 7ef9ca7..f6df570 100644 --- a/ocaml-srpm-macros.spec +++ b/ocaml-srpm-macros.spec @@ -8,8 +8,10 @@ # # See also: https://bugzilla.redhat.com/show_bug.cgi?id=1087794 +%global macros_dir %{_rpmconfigdir}/macros.d + Name: ocaml-srpm-macros -Version: 1 +Version: 2 Release: 1%{?dist} Summary: OCaml architecture macros @@ -34,14 +36,17 @@ SRPMS. It does not pull in any other OCaml dependencies. %install -mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm -install -m 0644 %{SOURCE0} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.ocaml-srpm +mkdir -p $RPM_BUILD_ROOT%{macros_dir} +install -m 0644 %{SOURCE0} $RPM_BUILD_ROOT%{macros_dir}/macros.ocaml-srpm %files -%{_sysconfdir}/rpm/macros.ocaml-srpm +%{macros_dir}/macros.ocaml-srpm %changelog +* Fri May 2 2014 Richard W.M. Jones - 2-1 +- Move macros to _rpmconfigdir (RHBZ#1093528). + * Tue Apr 22 2014 Richard W.M. Jones - 1-1 - New package.