1 |
Name: rpmlint |
2 |
Version: 1.4 |
3 |
Release: %mkrel 1 |
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: rpmlint.config |
10 |
BuildRequires: python-rpm |
11 |
BuildRequires: bash-completion |
12 |
Requires: python-rpm python-magic desktop-file-utils |
13 |
Suggests: python-enchant |
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 |
%prep |
21 |
%setup -q |
22 |
|
23 |
%build |
24 |
export COMPILE_PYC=1 |
25 |
%{make} |
26 |
|
27 |
%install |
28 |
%{makeinstall_std} |
29 |
cp -a %{SOURCE1} %{buildroot}/%{_datadir}/%{name}/config |
30 |
|
31 |
mkdir -p %{buildroot}/%{_datadir}/%{name}/config.d/ |
32 |
|
33 |
%files |
34 |
%defattr(-,root,root,0755) |
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/rpmlint |
42 |
%{_datadir}/bash-completion/completions/rpmdiff |
43 |
|