Ensure there is not forgotten any certificate.

This commit is contained in:
Vít Ondruch 2016-11-18 17:22:30 +01:00
parent 0a64e4b921
commit 324c2d071e

View File

@ -542,6 +542,8 @@ for cert in \
do
rm %{buildroot}%{rubygems_dir}/rubygems/ssl_certs/$cert
done
# Ensure there is not forgotten any certificate.
test ! "$(ls -A %{buildroot}%{rubygems_dir}/rubygems/ssl_certs/ 2>/dev/null)"
# Move macros file into proper place and replace the %%{name} macro, since it
# would be wrongly evaluated during build of other packages.