From f0946b65f2d74d48b213ae8dd433bc4be8cd7cd0 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Fri, 12 Jan 2018 00:18:21 -0500 Subject: [PATCH] Update BuildRequires for tests The acl and perl(HTTP::Date) requirements are pulled in by other packages on Fedora so they were not noticed when the test requirements were updated in 6dc6285 ("Improve test suite coverage", 2017-11-10). The highlight package is available in EPEL for EL-6 (on all supported architectures). Extend the conditional to only exclude it on ppc64 for EL-7. --- git.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/git.spec b/git.spec index e46f095..59f53b9 100644 --- a/git.spec +++ b/git.spec @@ -122,6 +122,7 @@ BuildRequires: systemd %endif # Test suite requirements +BuildRequires: acl %if 0%{?fedora} && 0%{?fedora} >= 27 # Needed by t5540-http-push-webdav.sh BuildRequires: apr-util-bdb @@ -129,7 +130,7 @@ BuildRequires: apr-util-bdb BuildRequires: cvs BuildRequires: cvsps BuildRequires: gnupg -%if 0%{?fedora} || ( 0%{?rhel} && 0%{?rhel} == 7 && %{_arch} != ppc64 ) +%if 0%{?fedora} || ( 0%{?rhel} && ( 0%{?rhel} == 6 || 0%{?rhel} == 7 && %{_arch} != ppc64 )) BuildRequires: highlight %endif BuildRequires: httpd @@ -143,6 +144,7 @@ BuildRequires: perl(CGI::Carp) BuildRequires: perl(CGI::Util) BuildRequires: perl(DBD::SQLite) BuildRequires: perl(Digest::MD5) +BuildRequires: perl(HTTP::Date) BuildRequires: perl(IO::Pty) BuildRequires: perl(Mail::Address) BuildRequires: perl(Memoize) @@ -768,6 +770,9 @@ rm -rf %{buildroot} # No files for you! %changelog +* Thu Jan 11 2018 Todd Zullinger +- Update BuildRequires for tests + * Mon Jan 08 2018 Todd Zullinger - Avoid excluding non-existent .py[co] files in %%doc - Remove obsolete gnome-keyring credential helper