From c14e846c995fa333a29abc5f0e295ffef815e45c Mon Sep 17 00:00:00 2001 From: Vít Ondruch Date: Nov 18 2016 20:58:30 +0000 Subject: Ensure there is not forgotten any certificate. --- diff --git a/ruby.spec b/ruby.spec index f820811..9d7ddd8 100644 --- a/ruby.spec +++ b/ruby.spec @@ -480,6 +480,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.