forked from avocado-framework/inspektor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinspektor.spec
58 lines (51 loc) · 1.91 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
%global inspektorversion %(%{getenv:PWD}/inspektor/version.py)
Summary: Inspektor python project checker
Name: inspektor
Version: %{inspektorversion}
Release: 5%{?dist}
License: GPLv2
Group: Development/Tools
URL: https://github.com/autotest/inspektor
Source: inspektor-%{inspektorversion}.tar.gz
BuildRequires: python2-devel
BuildRequires: pylint > 1.0
BuildRequires: python-autopep8
BuildArch: noarch
Requires: python, python-autopep8, pylint > 1.0
%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
* 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