Taoism
In Taoism, Hanshi and the spring Hanshi festival were when fires were not used and then relit. Since fire, like the cock a yang symbol and symbol of the sun, was temporarily extinguished and then relit. In a Tao religious aspect, to have a rooster fight another rooster, was the same in substance as a fire-renewal custom, where the rooster and the cockfight then takes its place as an indispensable spring ritual, and “Taoism, which assessed it positively in this form, can be thought to have guaranteed its continued existence”. The Hanshi festival was eventually moved to coincide with the Qingming Festival or the Pure Brightness Festival which still includes the rooster and cockfight.
Read more about this topic: Rooster, Religion and Spiritual Belief Systems