Move macros to _rpmconfigdir (RHBZ#1093528).

This commit is contained in:
Richard W.M. Jones 2014-05-02 09:22:32 +01:00
parent 76b6b81058
commit c8f37fabc6

View File

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