summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRon Olson <tachoknight@gmail.com>2018-07-10 16:46:49 -0500
committerRon Olson <tachoknight@gmail.com>2018-07-10 16:46:49 -0500
commit843e35cd11d53664934690bd6b9fc7a42ced6fbc (patch)
treee5d2a02c697a37cf82795c45c1843b24c23d6517
parentb4458120023cc1878baec8abaf8653e2a7de6e5a (diff)
downloadswift-lang-843e35cd11d53664934690bd6b9fc7a42ced6fbc.tar.gz
swift-lang-843e35cd11d53664934690bd6b9fc7a42ced6fbc.tar.xz
swift-lang-843e35cd11d53664934690bd6b9fc7a42ced6fbc.zip
Limit use of python-unversioned-command to versions after Fedora 28
-rw-r--r--swift-lang.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/swift-lang.spec b/swift-lang.spec
index b35c97d..6361e05 100644
--- a/swift-lang.spec
+++ b/swift-lang.spec
@@ -38,7 +38,9 @@ BuildRequires: swig
BuildRequires: pkgconfig
BuildRequires: perl-podlators
BuildRequires: rsync
+%if 0%{?fedora} > 28
BuildRequires: python-unversioned-command
+%endif
BuildRequires: python2
BuildRequires: python2-devel
BuildRequires: libbsd-devel