[python-gerrit/el6] initial import

Federico Simoncelli fsimonce at fedoraproject.org
Fri Oct 12 16:37:18 UTC 2012


commit 5b45f6e6358ea113f1f397032799a6e15298640e
Author: Federico Simoncelli <fsimonce at redhat.com>
Date:   Fri Oct 12 18:01:15 2012 +0200

    initial import

 .gitignore         |    1 +
 python-gerrit.spec |   43 +++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 45 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..674cbda 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/python-gerrit-a7ffd76.tar.gz
diff --git a/python-gerrit.spec b/python-gerrit.spec
new file mode 100644
index 0000000..9bfb9e4
--- /dev/null
+++ b/python-gerrit.spec
@@ -0,0 +1,43 @@
+%global githash a7ffd76
+
+Name:           python-gerrit
+Version:        0.0.1
+Release:        2.git%{githash}%{?dist}
+Summary:        Python interface to Gerrit
+
+Group:          Development/Languages
+License:        ASL 2.0
+URL:            http://github.com/bcwaldon/python-gerrit
+Source0:        http://github.com/bcwaldon/python-gerrit/tarball/%{githash}/python-gerrit-%{githash}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+
+%description
+python-gerrit is a Python interface to Gerrit, a code review system
+for Git.
+
+%prep
+%setup -q -n bcwaldon-python-gerrit-%{githash}
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+
+%files
+%doc README LICENSE
+%{python_sitelib}/*
+
+
+%changelog
+* Fri Oct 12 2012 Federico Simoncelli <fsimonce at redhat.com> - 0.0.1-2.gita7ffd76
+- use the python_sitelib macro instead of python2_sitelib
+
+* Fri Oct 12 2012 Federico Simoncelli <fsimonce at redhat.com> - 0.0.1-1.gita7ffd76
+- initial release
diff --git a/sources b/sources
index e69de29..731dd96 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7906a179ecb3182543f4fc84f6a7af9c  python-gerrit-a7ffd76.tar.gz


More information about the scm-commits mailing list