forked from avocado-framework/inspektor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinspektor.spec
74 lines (66 loc) · 2.62 KB
/
inspektor.spec
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
%global inspektorversion 0.3.0
Summary: Inspektor python project checker
Name: inspektor
Version: %{inspektorversion}
Release: 0%{?dist}
License: GPLv2
Group: Development/Tools
URL: https://github.com/autotest/inspektor
Source: inspektor-%{inspektorversion}.tar.gz
BuildArch: noarch
%if "%{?dist}" == ".el6"
Requires: python, pylint < 1.4, python-pep8, python-logutils
BuildRequires: python2-devel, pylint < 1.4, python-pep8, python-logutils
%else
Requires: python, pylint >= 1.3, python-pep8, python-logutils
BuildRequires: python2-devel, pylint >= 1.3, python-pep8
%endif
%description
Inspektor is a checker tool, that tries to automate a number of checks in a
python project code:
* Syntax
* Indentation
* PEP8 compliance
It also helps you to batch add license header files, and analyze github pull
requests, in case your project uses github. Inspektor was developed to ease
patch review for programs developed by the autotest project team.
%prep
%setup -q
%build
%{__python} setup.py build
%install
%{__python} setup.py install --root %{buildroot} --skip-build
%files
%defattr(-,root,root,-)
%doc README.rst LICENSE
%{_bindir}/inspekt
%{python_sitelib}/inspektor*
%changelog
* Fri May 5 2017 Lucas Meneghel Rodrigues <[email protected]> - 0.3.0-0
- New upstream version 0.3.0
* Mon Jan 18 2016 Lucas Meneghel Rodrigues <[email protected]> - 0.2.1-0
- New upstream version 0.2.1
* Tue Dec 2 2015 Lucas Meneghel Rodrigues <[email protected]> - 0.2.0-0
- New upstream version 0.2.0
* Thu Mar 19 2015 Lucas Meneghel Rodrigues <[email protected]> - 0.1.15-3
- Add conditional build dependencies
* Wed Mar 11 2015 Lucas Meneghel Rodrigues <[email protected]> - 0.1.15-2
- Fix build on COPR
* Wed Mar 11 2015 Lucas Meneghel Rodrigues <[email protected]> - 0.1.15-1
- New upstream version 0.1.15
* Tue Apr 29 2014 Lucas Meneghel Rodrigues <[email protected]> - 0.1.9-5
- Moved macro definitions to rpm spec file, fix build on COPR
* Tue Apr 29 2014 Lucas Meneghel Rodrigues <[email protected]> - 0.1.9-4
- Fix error in pkg spec that was preventing build on COPR
* Tue Apr 29 2014 Lucas Meneghel Rodrigues <[email protected]> - 0.1.9-3
- Fix error in pkg spec that was preventing build on COPR
* Tue Apr 29 2014 Lucas Meneghel Rodrigues <[email protected]> - 0.1.9-2
- Fix error in pkg spec that was preventing build on COPR
* Tue Apr 29 2014 Lucas Meneghel Rodrigues <[email protected]> - 0.1.9-1
- New upstream version
* Thu Apr 10 2014 Lucas Meneghel Rodrigues <[email protected]> - 0.1.5-3
- Fix autopep8 build dep
* Thu Apr 10 2014 Lucas Meneghel Rodrigues <[email protected]> - 0.1.5-2
- Fix pylint build dep
* Thu Apr 10 2014 Lucas Meneghel Rodrigues <[email protected]> - 0.1.5-1
- Created initial spec file