diff --git a/kf5-ktexteditor.spec b/kf5-ktexteditor.spec index 45c0177..857937e 100644 --- a/kf5-ktexteditor.spec +++ b/kf5-ktexteditor.spec @@ -51,10 +51,12 @@ BuildRequires: pkgconfig(Qt5Qml) BuildRequires: pkgconfig(Qt5Xml) BuildRequires: pkgconfig(Qt5XmlPatterns) +BuildRequires: pkgconfig(libgit2) >= 0.22.0 + %if 0%{?fedora} BuildRequires: pkgconfig(editorconfig) -BuildRequires: pkgconfig(libgit2) >= 0.22.0 %endif + %if 0%{?tests} BuildRequires: pkgconfig(Qt5Script) BuildRequires: dbus-x11