phosphor-networkd: move SRCREV to common bbclass

Change-Id: I692f8b97a23728630ac2e5595a26c6a82cca90ad
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/meta-phosphor/classes/phosphor-networkd-rev.bbclass b/meta-phosphor/classes/phosphor-networkd-rev.bbclass
new file mode 100644
index 0000000..c434468
--- /dev/null
+++ b/meta-phosphor/classes/phosphor-networkd-rev.bbclass
@@ -0,0 +1,2 @@
+SRC_URI += "git://github.com/openbmc/phosphor-networkd"
+SRCREV = "65e5abefd6b73c8f383a335291c32111ae787be0"
diff --git a/meta-phosphor/common/recipes-phosphor/network/network.bb b/meta-phosphor/common/recipes-phosphor/network/network.bb
index a77ce01..92dacb9 100644
--- a/meta-phosphor/common/recipes-phosphor/network/network.bb
+++ b/meta-phosphor/common/recipes-phosphor/network/network.bb
@@ -7,6 +7,7 @@
 inherit pythonnative
 inherit obmc-phosphor-license
 inherit obmc-phosphor-dbus-service
+inherit phosphor-networkd-rev
 
 DBUS_SERVICE_${PN} += "org.openbmc.NetworkManager.service"
 SYSTEMD_SERVICE_${PN} += "network-update-dns.service"
@@ -22,9 +23,6 @@
 RDEPENDS_${PN} += "sdbusplus phosphor-dbus-interfaces"
 RDEPENDS_${PN} += "phosphor-logging"
 
-SRC_URI += "git://github.com/openbmc/phosphor-networkd"
-SRCREV = "65e5abefd6b73c8f383a335291c32111ae787be0"
-
 S = "${WORKDIR}/git"
 
 do_install_append() {
diff --git a/meta-phosphor/common/recipes-phosphor/users/obmc-phosphor-user.bb b/meta-phosphor/common/recipes-phosphor/users/obmc-phosphor-user.bb
index b526842..83b7024 100644
--- a/meta-phosphor/common/recipes-phosphor/users/obmc-phosphor-user.bb
+++ b/meta-phosphor/common/recipes-phosphor/users/obmc-phosphor-user.bb
@@ -6,6 +6,7 @@
 inherit allarch
 inherit obmc-phosphor-license
 inherit obmc-phosphor-dbus-service
+inherit phosphor-networkd-rev
 
 PROVIDES += "virtual/obmc-user-mgmt"
 RPROVIDES_${PN} += "virtual-obmc-user-mgmt"
@@ -16,10 +17,6 @@
         python-subprocess \
         python-pexpect"
 
-SRC_URI += "git://github.com/openbmc/phosphor-networkd"
-
-SRCREV = "65e5abefd6b73c8f383a335291c32111ae787be0"
-
 S = "${WORKDIR}/git"
 INSTALL_NAME = "userman.py"