no %files section only say what should be included to rpm, but you need to create such dir somewhere. so it should be below this https://github.com/vmoravec/yast-yast2/blob/dfeccb3496218a32971a2b86dc07be4c4766dc40/package/yast2.spec#L165