1 |
Name: rpmlint |
2 |
Version: 1.4 |
3 |
Release: %mkrel 2 |
4 |
Summary: RPM correctness checker |
5 |
License: GPLv2+ |
6 |
Group: Development/Other |
7 |
URL: http://rpmlint.zarb.org/ |
8 |
Source0: http://rpmlint.zarb.org/download/%{name}-%{version}.tar.xz |
9 |
Source1: %{name}.config |
10 |
BuildRequires: python-rpm |
11 |
BuildRequires: bash-completion |
12 |
Requires: python-rpm python-magic desktop-file-utils |
13 |
Suggests: python-enchant hunspell-en |
14 |
BuildArch: noarch |
15 |
|
16 |
%description |
17 |
Rpmlint is a tool to check common errors on rpm packages. |
18 |
Binary and source packages can be checked. |
19 |
|
20 |
|
21 |
%prep |
22 |
%setup -q |
23 |
|
24 |
%build |
25 |
export COMPILE_PYC=1 |
26 |
%make |
27 |
|
28 |
%install |
29 |
%makeinstall_std |
30 |
cp -a %{_sourcedir}/%{name}.config %{buildroot}/%{_datadir}/%{name}/config |
31 |
|
32 |
mkdir -p %{buildroot}/%{_datadir}/%{name}/config.d/ |
33 |
|
34 |
%files |
35 |
%doc ChangeLog README* |
36 |
%{_bindir}/* |
37 |
%{_datadir}/%{name} |
38 |
%{_mandir}/man1/* |
39 |
%config(noreplace) %{_sysconfdir}/%{name}/config |
40 |
%dir %{_sysconfdir}/%{name}/ |
41 |
%{_datadir}/bash-completion/completions/%{name} |
42 |
%{_datadir}/bash-completion/completions/rpmdiff |