From 34b6470a8818cbee66b9e6a43c1ce01398cbf05e Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Jul 08 2016 15:09:06 +0000 Subject: cleanup rpmlint errors, oh the irony --- diff --git a/rpmlint.spec b/rpmlint.spec index 40ddc06..05e884c 100644 --- a/rpmlint.spec +++ b/rpmlint.spec @@ -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/15e4ae11e498530f975574567fca0e65a9a0acb7 # https://github.com/rpm-software-management/rpmlint/commit/d08a7ce333355898dea05b1ed82c5884eccde5ff -Patch0: rpmlint-1.9-unicodefix.patch +Patch0: rpmlint-1.9-unicodefix.patch BuildArch: noarch %if %{with python3} BuildRequires: python3-devel BuildRequires: rpm-python3 >= 4.4.2.2 BuildRequires: python3-pytest -BuildRequires: python3-flake8 -Requires: python3 +BuildRequires: python3-flake8 +Requires: python3 Requires: rpm-python3 >= 4.4.2.2 %else BuildRequires: python >= 2.6 BuildRequires: rpm-python >= 4.4.2.2 -BuildRequires: pytest -BuildRequires: python2-flake8 +BuildRequires: pytest +BuildRequires: python2-flake8 Requires: python >= 2.6 Requires: rpm-python >= 4.4.2.2 %endif @@ -55,7 +55,7 @@ BuildRequires: sed >= 3.95 # no bash-completion for RHEL BuildRequires: bash-completion %endif -Requires: perl +Requires: perl %if ! 0%{?rhel} # python-magic and python-enchant are actually optional dependencies, but # they bring quite desirable features. They're not available in RHEL/EPEL 5 @@ -75,7 +75,7 @@ Requires: gzip Requires: bzip2 Requires: xz # Needed for man page check in FilesCheck.py -Requires: %{_bindir}/groff +Requires: %{_bindir}/groff %description 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 * Tue Nov 6 2012 Tom Callaway - 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 - 1.4-10 - fix handling of ruby RI files as text files (they are binary files)