summaryrefslogtreecommitdiffstats
path: root/git-taskrepo.spec
diff options
context:
space:
mode:
Diffstat (limited to 'git-taskrepo.spec')
-rw-r--r--git-taskrepo.spec9
1 files changed, 9 insertions, 0 deletions
diff --git a/git-taskrepo.spec b/git-taskrepo.spec
index 77d18c2..8ca2e6b 100644
--- a/git-taskrepo.spec
+++ b/git-taskrepo.spec
@@ -12,6 +12,14 @@ BuildArch: noarch
BuildRequires: python-devel
BuildRequires: python-setuptools
Requires: python-setuptools
+Requires: GitPython >= 1.0.1
+
+%if 0%{?rhel}%{?fedora} <= 6
+BuildRequires: python-ordereddict
+BuildRequires: python-argparse
+Requires: python-ordereddict
+Requires: python-argparse
+%endif
%description
This creates and maintains a taskrepo inside of an existing git repo. Allows
@@ -24,6 +32,7 @@ you to easily create xml jobs which can be run with the test harness restraint.
%{__python} setup.py build
%install
+rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%files