Support for SERIES and BUILDDEP_SERIES tags

Change-Id: Ia576ad58ddb0295550e8e1c2f4fc41f612f899c4
(cherry picked from commit 7623964f10d13d9be175cbf0ab58b02df351e9dd)