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:
Todd Zullinger 2017-12-30 17:34:44 -05:00
parent ebf9643f6d
commit cd265cb40c

View File

@ -430,7 +430,7 @@ cat << \EOF > %{name}-req
sed -e '/perl(packed-refs)/d' sed -e '/perl(packed-refs)/d'
EOF EOF
%global __perl_requires %{_builddir}/%{name}-%{version}/%{name}-req %global __perl_requires %{_builddir}/%{name}-%{version}%{?rcrev}/%{name}-req
chmod +x %{__perl_requires} chmod +x %{__perl_requires}
%endif %endif
@ -786,6 +786,9 @@ rm -rf %{buildroot}
# No files for you! # No files for you!
%changelog %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 * Thu Nov 30 2017 Todd Zullinger <tmz@pobox.com> - 2.15.1-3
- Include verbose logs in build output for 'make test' failures - Include verbose logs in build output for 'make test' failures
- Use %%autosetup macro to unpack and patch source - Use %%autosetup macro to unpack and patch source