From b37594a1fa9817f6a126c348a5add90a792c9603 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Thu, 15 Dec 2016 14:03:57 -0600 Subject: [PATCH] Add macros.vpath. https://fedorahosted.org/fpc/attachment/ticket/655 --- macros.vpath | 7 +++++++ redhat-rpm-config.spec | 7 ++++++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 macros.vpath diff --git a/macros.vpath b/macros.vpath new file mode 100644 index 0000000..a37f1f9 --- /dev/null +++ b/macros.vpath @@ -0,0 +1,7 @@ +# ---- VPATH default settings + +# directory where CMakeLists.txt/meson.build/etc. are placed +%_vpath_srcdir . + +# directory (doesn't need to exist) where all generated build files will be placed +%_vpath_builddir %_target_platform diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index 823efc1..98dcb62 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -6,7 +6,7 @@ Summary: Red Hat specific rpm configuration files Name: redhat-rpm-config -Version: 44 +Version: 45 Release: 1%{?dist} # No version specified. License: GPL+ @@ -34,6 +34,7 @@ Source104: macros.ldc-srpm # Other misc macros Source150: macros.dwz Source151: macros.kmp +Source152: macros.vpath # Build policy scripts Source201: brp-implant-ident-static @@ -131,6 +132,7 @@ install -p -m 755 -t %{buildroot}%{_rpmconfigdir} kmod.prov %{_rpmconfigdir}/kmod.prov %{_rpmconfigdir}/macros.d/macros.*-srpm %{_rpmconfigdir}/macros.d/macros.dwz +%{_rpmconfigdir}/macros.d/macros.vpath %files -n kernel-rpm-macros %dir %{rrcdir}/find-provides.d @@ -144,6 +146,9 @@ install -p -m 755 -t %{buildroot}%{_rpmconfigdir} kmod.prov %{_rpmconfigdir}/macros.d/macros.kmp %changelog +* Thu Dec 15 2016 Jason L Tibbitts III - 45-1 +- Add macros.vpath (https://fedorahosted.org/fpc/attachment/ticket/655) + * Mon Oct 31 2016 Kalev Lember - 44-1 - Add ldc_arches macro