summaryrefslogtreecommitdiffstats
path: root/rpmci-spec-vcs
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-10-05 16:08:18 -0400
committerColin Walters <walters@verbum.org>2010-10-05 16:08:18 -0400
commitd85946d3e787ce675f9d485ac8d966e3763c9a13 (patch)
tree9703a9ddd8545a77a345a1c8612bd3f52a4cef11 /rpmci-spec-vcs
parent1c907887574b423485b2df0e130673dc09c6aca5 (diff)
downloadrpmci-d85946d3e787ce675f9d485ac8d966e3763c9a13.tar.gz
rpmci-d85946d3e787ce675f9d485ac8d966e3763c9a13.tar.xz
rpmci-d85946d3e787ce675f9d485ac8d966e3763c9a13.zip
rpmci-spec-vcs: initial work
Diffstat (limited to 'rpmci-spec-vcs')
-rwxr-xr-xrpmci-spec-vcs20
1 files changed, 20 insertions, 0 deletions
diff --git a/rpmci-spec-vcs b/rpmci-spec-vcs
new file mode 100755
index 0000000..338e121
--- /dev/null
+++ b/rpmci-spec-vcs
@@ -0,0 +1,20 @@
+#!/usr/bin/python
+
+# rpmci-spec-vcs:
+# Operations on spec files
+#
+# Licensed under the new-BSD license (http://www.opensource.org/licenses/bsd-license.php)
+# Copyright (C) 2010 Red Hat, Inc.
+# Written by Colin Walters <walters@verbum.org>
+
+import os
+import sys
+
+if os.path.isdir('.git'):
+ sys.path.insert(0, os.getcwd())
+
+import rpmci
+from rpmci.rpmci_spec_vcs_main import main
+
+if __name__ == '__main__':
+ main()