Purana Jyotisha Sangraha · by Vyasa
Chapter 10 · Moon and Sun Tirthas, Image Nakshatras
वराहपुराणम् : सोमसूर्यतीर्थानि प्रतिमानक्षत्राणि च
सोमेश्वराधिष्ठितस्तु शिवरूपो गिरिः स्मृतः ।सोमेन तत्र संस्थाप्य स्वनाम्ना लिङ्गमुत्तमम् ।वर्षाणान्तु सहस्रं वै स्वशापस्य निवृत्तये ॥ १६ ॥
From the Varaha Purana, print ch 144, verse 16.
The mountain is remembered as Shiva's form, with Someshvara on it. There Soma set up a best linga (the stone symbol of Shiva) in his own name. He worshipped there for a thousand years, to end his curse.
Simple meaning: Soma set up a linga on the mountain and worshipped a thousand years to end his curse.
ततः शापाद्विनिर्मुक्तः तेजसा च परिप्लुतः ।
Soma, freed from his curse, praised Shiva who appeared from Someshvara.
शिवं सौम्यमुमाकान्तम्भक्तानुग्रहकातरम् ।
Soma bows to Shiva.
जातिस्मरो महाप्राज्ञो विष्णुभक्तो वसुन्धरे ।
By the power of that holy place, a wise devotee of Vishnu won rare freedom.