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.
This commit is contained in:
parent
ebf9643f6d
commit
cd265cb40c
5
git.spec
5
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 <tmz@pobox.com>
|
||||
- Fix perl requires filtering on EL-6
|
||||
|
||||
* Thu Nov 30 2017 Todd Zullinger <tmz@pobox.com> - 2.15.1-3
|
||||
- Include verbose logs in build output for 'make test' failures
|
||||
- Use %%autosetup macro to unpack and patch source
|
||||
|
Loading…
Reference in New Issue
Block a user