The pension adjustment number will reduce your contribution room for next year. RRSP contribution is based on your previous year earnings, and previous year pension adjustment if you have one.
Your contribution room is used whether you contribute to your own RRSP or to a spousal one.