Should cost of mandatory earthquake retrofitting for business property in SF, CA, be considered capital improvement or repair? Where do I take the deduction?

I own an office in a small condo and had to pay a share of the mandatory retrofitting of the entire building. Structural repairs were required by the city and as far as I know they do not increase the value of the property.  How do I deduct this expense?