From 8fbeb92b396a47370c5c8769fa4a516e0be8037e Mon Sep 17 00:00:00 2001 From: Petr Stodulka Date: Fri, 27 Jan 2017 16:38:56 +0100 Subject: [PATCH] Fix requirements of packages - missing libcurl requirement for git-core - git-email & git-cvs should require 'perl(Git)' according to guidelines - perl-generators are required during build only for Fedora 21+ --- git.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/git.spec b/git.spec index 1d05651..c95a120 100644 --- a/git.spec +++ b/git.spec @@ -113,7 +113,9 @@ BuildRequires: libgnome-keyring-devel BuildRequires: libsecret-devel %endif BuildRequires: pcre-devel +%if 0%{?fedora} && 0%{?fedora} >= 21 BuildRequires: perl-generators +%endif BuildRequires: perl(Test) BuildRequires: openssl-devel BuildRequires: zlib-devel >= 1.2 @@ -189,6 +191,7 @@ Group: Development/Tools Requires: less Requires: openssh-clients Requires: zlib >= 1.2 +Requires: libcurl %description core Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations @@ -264,6 +267,7 @@ BuildArch: noarch Requires: git = %{version}-%{release}, cvs Requires: cvsps Requires: perl(DBD::SQLite) +Requires: perl(Git) %description cvs Git tools for importing CVS repositories. @@ -276,6 +280,7 @@ BuildArch: noarch Requires: git = %{version}-%{release}, perl-Git = %{version}-%{release} Requires: perl(Authen::SASL) Requires: perl(Net::SMTP::SSL) +Requires: perl(Git) %description email Git tools for sending email.