summaryrefslogtreecommitdiffstats
path: root/git-taskrepo.spec
blob: 8ca2e6b41dd9fadaa2513e84ba6875e867729681 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Name:		git-taskrepo
Version:	0
Release:	1%{?dist}
Summary:	Creates a taskrepo inside of an existing git repo.

Group:		Development/Libraries
License:	GPLv2+
URL:		http://beaker-project.org/git-taskrepo
Source0:	http://fedorahosted.org/releases/g/i/%{name}-%{version}.tar.gz

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
you to easily create xml jobs which can be run with the test harness restraint.

%prep
%setup -q -n %{name}-%{version}

%build
%{__python} setup.py build

%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

%files
%attr(0755, root, root)%{_bindir}/%{name}
%{python_sitelib}/git_taskrepo*

%changelog
* Wed May 06 2015 Bill Peck <bpeck@redhat.com> 0-1
- new package built with tito