cleanup rpmlint errors, oh the irony

This commit is contained in:
Tom Callaway 2016-07-08 11:09:06 -04:00
parent 72bfedf890
commit 34b6470a88

View File

@ -33,20 +33,20 @@ Source5: %{name}.config.el5
# https://github.com/rpm-software-management/rpmlint/commit/d2de79e1f855a6852be9e337314cdf5e0e594993 # https://github.com/rpm-software-management/rpmlint/commit/d2de79e1f855a6852be9e337314cdf5e0e594993
# https://github.com/rpm-software-management/rpmlint/commit/15e4ae11e498530f975574567fca0e65a9a0acb7 # https://github.com/rpm-software-management/rpmlint/commit/15e4ae11e498530f975574567fca0e65a9a0acb7
# https://github.com/rpm-software-management/rpmlint/commit/d08a7ce333355898dea05b1ed82c5884eccde5ff # https://github.com/rpm-software-management/rpmlint/commit/d08a7ce333355898dea05b1ed82c5884eccde5ff
Patch0: rpmlint-1.9-unicodefix.patch Patch0: rpmlint-1.9-unicodefix.patch
BuildArch: noarch BuildArch: noarch
%if %{with python3} %if %{with python3}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: rpm-python3 >= 4.4.2.2 BuildRequires: rpm-python3 >= 4.4.2.2
BuildRequires: python3-pytest BuildRequires: python3-pytest
BuildRequires: python3-flake8 BuildRequires: python3-flake8
Requires: python3 Requires: python3
Requires: rpm-python3 >= 4.4.2.2 Requires: rpm-python3 >= 4.4.2.2
%else %else
BuildRequires: python >= 2.6 BuildRequires: python >= 2.6
BuildRequires: rpm-python >= 4.4.2.2 BuildRequires: rpm-python >= 4.4.2.2
BuildRequires: pytest BuildRequires: pytest
BuildRequires: python2-flake8 BuildRequires: python2-flake8
Requires: python >= 2.6 Requires: python >= 2.6
Requires: rpm-python >= 4.4.2.2 Requires: rpm-python >= 4.4.2.2
%endif %endif
@ -55,7 +55,7 @@ BuildRequires: sed >= 3.95
# no bash-completion for RHEL # no bash-completion for RHEL
BuildRequires: bash-completion BuildRequires: bash-completion
%endif %endif
Requires: perl Requires: perl
%if ! 0%{?rhel} %if ! 0%{?rhel}
# python-magic and python-enchant are actually optional dependencies, but # python-magic and python-enchant are actually optional dependencies, but
# they bring quite desirable features. They're not available in RHEL/EPEL 5 # they bring quite desirable features. They're not available in RHEL/EPEL 5
@ -75,7 +75,7 @@ Requires: gzip
Requires: bzip2 Requires: bzip2
Requires: xz Requires: xz
# Needed for man page check in FilesCheck.py # Needed for man page check in FilesCheck.py
Requires: %{_bindir}/groff Requires: %{_bindir}/groff
%description %description
rpmlint is a tool for checking common errors in RPM packages. Binary rpmlint is a tool for checking common errors in RPM packages. Binary
@ -226,7 +226,7 @@ make check PYTHON=%{python} PYTEST=%{pytest} FLAKE8=%{flake8}
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Tue Nov 6 2012 Tom Callaway <spot@fedoraproject.org> - 1.4-11 * Tue Nov 6 2012 Tom Callaway <spot@fedoraproject.org> - 1.4-11
- add Requires: %{_bindir}/groff for man page checks (bz 873448) - add Requires: %%{_bindir}/groff for man page checks (bz 873448)
* Thu Sep 6 2012 Tom Callaway <spot@fedoraproject.org> - 1.4-10 * Thu Sep 6 2012 Tom Callaway <spot@fedoraproject.org> - 1.4-10
- fix handling of ruby RI files as text files (they are binary files) - fix handling of ruby RI files as text files (they are binary files)