Pertains to the construction, alteration, moving, demolition, repair, maintenance and use of any building or structure within this jurisdiction, except work located primarily in a public way, public utility towers and poles, mechanical equipment not specifically regulated in this code, and hydraulic flood control structures.