From cd265cb40c3d411fd4d970e6d04192599a45bfa9 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Sat, 30 Dec 2017 17:34:44 -0500 Subject: [PATCH] Fix perl requires filtering on EL-6 When building release candidates the path to the perl requires filter script is wrong. Correct it. It's tempting to use the output of `pwd` to avoid future changes to the build dir breaking it, but the call occurs prior to unpacking and thus `pwd` is not suitable. --- git.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/git.spec b/git.spec index 2b8bb20..9f7f201 100644 --- a/git.spec +++ b/git.spec @@ -430,7 +430,7 @@ cat << \EOF > %{name}-req sed -e '/perl(packed-refs)/d' EOF -%global __perl_requires %{_builddir}/%{name}-%{version}/%{name}-req +%global __perl_requires %{_builddir}/%{name}-%{version}%{?rcrev}/%{name}-req chmod +x %{__perl_requires} %endif @@ -786,6 +786,9 @@ rm -rf %{buildroot} # No files for you! %changelog +* Sat Dec 30 2017 Todd Zullinger +- Fix perl requires filtering on EL-6 + * Thu Nov 30 2017 Todd Zullinger - 2.15.1-3 - Include verbose logs in build output for 'make test' failures - Use %%autosetup macro to unpack and patch source