Removing the Spec Depot (permanently)
To remove the spec depot and all of its contents, first obliterate all of the specs by entering the following command:
p4 obliterate //spec/...
Note: Without the -y flag, obliterate runs in the default report mode. Do not add the -y flag to confirm the obliterate until you confirm the obliterate command output is as intended.
After the spec depot archive files are successfully obliterated, delete the spec depot with the command:
p4 depot -d spec