rpm: move makerpm clean logic
rpm: move makerpm clean logic

Former-commit-id: 86eeef33b456fa742b95c348f79af10f6a4d6843 [formerly 7b0d1d939a6d577a7ee9b14f7e4085226a3e5749] [formerly 7b0d1d939a6d577a7ee9b14f7e4085226a3e5749 [formerly b362c237b4fa8ccd4c1cdd6517ef571b7a6c61d0]]
Former-commit-id: c50ec5a6298a028919d6e18088edc342286b071a
Former-commit-id: e5ba5a36426a8246740d29d1be534648d2355a46
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine