summaryrefslogtreecommitdiffstats
path: root/pkgconfig.py
diff options
context:
space:
mode:
authorLuis Pabon <lpabon@redhat.com>2013-05-14 15:50:49 -0400
committerPeter Portante <pportant@redhat.com>2013-05-17 04:36:41 -0700
commit952a240852c2e8d528a0d73c3fd5a229d396282c (patch)
tree5856daa1169969252f772a4093c339e3db813361 /pkgconfig.py
parent99d0250a571f30cfb40e6657cb0cfa5eccf71a25 (diff)
rpm: Enable creation of RPMs
This is the first step. I have confirmed that I can install, update, and remove. I have also setup the ability for Jenkins to pass the BuildNumber and use that value as the release number for the RPM. The RPM depends on Grizzly(1.8.0) Swift from OpenStack. To verify you may need to add the appropiate repo file to your Fedora/RHEL system: http://repos.fedorapeople.org/repos/openstack/openstack-grizzly I have not had the opportunity to test that G4S itself works once installed, but I plan on doing that as the next phase. Change-Id: Ib90f335f5e1e4fc552c32e00ff29b6e8a680c42a Signed-off-by: Luis Pabon <lpabon@redhat.com> Reviewed-on: http://review.gluster.org/5006 Reviewed-by: Peter Portante <pportant@redhat.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Tested-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'pkgconfig.py')
-rw-r--r--pkgconfig.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgconfig.py b/pkgconfig.py
new file mode 100644
index 0000000..2895ceb
--- /dev/null
+++ b/pkgconfig.py
@@ -0,0 +1,8 @@
+# Simple program to save all package information
+# into a file which can be sourced by a bash script
+
+from gluster.swift import _pkginfo as pkginfo
+
+PKGCONFIG='pkgconfig.in'
+
+pkginfo.save_config(PKGCONFIG)