For all taxable years beginning on or after January 1, 1975, subject to such terms and conditions as may be prescribed by the Secretary, an amount set aside for a specific project which comes within one or more purposes described in section
170
(c)(2)(B) may be treated as a qualifying distribution if it meets the requirements of subparagraph (B).