And to continue the spam, I see that in 2016 rpm gained support for section end markers ("%end") which also conveniently solves the problem. I know I had asked about that years ago but I had no idea that it had been implemented. As far as I can tell, though, you need rpm 4.14. - J<