diff --git a/obs-service-tar_scm.spec b/obs-service-tar_scm.spec index 6302e6d..74d2a7a 100644 --- a/obs-service-tar_scm.spec +++ b/obs-service-tar_scm.spec @@ -57,10 +57,6 @@ BuildRequires: python-unittest2 BuildRequires: python >= 2.6 Requires: git-core -%if (0%{?fedora_version} && 0%{?fedora_version} < 26) || 0%{?centos} == 6 || 0%{?centos} == 7 -BuildRequires: python-argparse -Requires: python-argparse -%endif %if 0%{?suse_version} >= 1315 Recommends: bzr Recommends: mercurial @@ -80,6 +76,10 @@ It supports downloading from svn, git, hg and bzr repositories. Summary: Common parts of SCM handling services Group: Development/Tools/Building Requires: python-dateutil +%if (0%{?fedora_version} && 0%{?fedora_version} < 26) || 0%{?centos} == 6 || 0%{?centos} == 7 +BuildRequires: python-argparse +Requires: python-argparse +%endif %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} Requires: PyYAML %else