Name: rpmlint Version: 1.4 Release: %mkrel 1 Summary: RPM correctness checker License: GPLv2+ Group: Development/Other URL: http://rpmlint.zarb.org/ Source0: http://rpmlint.zarb.org/download/%{name}-%{version}.tar.xz Source1: rpmlint.config BuildRequires: python-rpm BuildRequires: bash-completion Requires: python-rpm python-magic desktop-file-utils Suggests: python-enchant BuildArch: noarch %description Rpmlint is a tool to check common errors on rpm packages. Binary and source packages can be checked. %prep %setup -q %build export COMPILE_PYC=1 %{make} %install %{makeinstall_std} cp -a %{SOURCE1} %{buildroot}/%{_datadir}/%{name}/config mkdir -p %{buildroot}/%{_datadir}/%{name}/config.d/ %files %defattr(-,root,root,0755) %doc ChangeLog README* %{_bindir}/* %{_datadir}/%{name} %{_mandir}/man1/* %config(noreplace) %{_sysconfdir}/%{name}/config %dir %{_sysconfdir}/%{name}/ %{_datadir}/bash-completion/completions/rpmlint %{_datadir}/bash-completion/completions/rpmdiff