diff --git a/epel-rpm-macros.spec b/epel-rpm-macros.spec index f84fcc2..01f1312 100644 --- a/epel-rpm-macros.spec +++ b/epel-rpm-macros.spec @@ -1,6 +1,6 @@ Name: epel-rpm-macros Version: 7 -Release: 12 +Release: 13 Summary: Extra Packages for Enterprise Linux RPM macros Group: System Environment/Base @@ -47,6 +47,9 @@ install -Dpm 644 %{SOURCE1} \ %changelog +* Thu Dec 15 2016 Jason L Tibbitts III - 7-13 +- Backport vpath macros. + * Fri Dec 9 2016 Orion Poplawski 7-12 - Fix override macro file name diff --git a/macros.epel-rpm-macros b/macros.epel-rpm-macros index b4f2793..a8caf66 100644 --- a/macros.epel-rpm-macros +++ b/macros.epel-rpm-macros @@ -12,3 +12,10 @@ # Bash completions; not in bash to not intefere with install ordering %bash_completion_dir /usr/share/bash-completion/completions/ + +# vpath macros, backported from Fedora +# 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