Revert "rpmbuild: use strict."

This reverts commit 37f1176bd9765551024fe5bba3de28d8131db725.
Revert "rpmbuild: remove unnecessary codes."

This reverts commit 8e5336b46975cc5ecd39804364708a6574c7b09b.
Revert "update code layout."

This reverts commit d01e8c284d83ec026889a6917229b865467aee5b.