Yes, it applies to any citizen entering (except diplomats, military and doctors). The decree also maintains the borders closed to anyone that is not a Spanish citizen, holder of a residency permit or Schengen national in transit to their country of residency (or diplomats, military and doctors).