[docker] fetch docker-selinux only for f23+

Lokesh Mandvekar lsm5 at fedoraproject.org
Mon Mar 23 14:49:13 UTC 2015


commit e5221513dd5f128a90d874045fdd6b74c5a041dc
Author: Lokesh Mandvekar <lsm5 at fedoraproject.org>
Date:   Mon Mar 23 00:48:51 2015 -0500

    fetch docker-selinux only for f23+
    
    NVR: docker-1.5.0-23.git5ebfacd
    
    Signed-off-by: Lokesh Mandvekar <lsm5 at fedoraproject.org>

 docker.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/docker.spec b/docker.spec
index a8f02d5..3735b5a 100644
--- a/docker.spec
+++ b/docker.spec
@@ -66,7 +66,9 @@ Source3: %{name}-storage.sysconfig
 Source4: %{name}-logrotate.sh
 Source5: README.%{name}-logrotate
 Source6: %{name}-network.sysconfig
-Source7: https://github.com/wrabcak/%{name}-selinux/archive/%{ds_commit}/%{name}-selinux-%{ds_shortcommit}.tar.gz
+%if 0%{?fedora} >= 23
+Source7: https://github.com/fedora-cloud/%{name}-selinux/archive/%{ds_commit}/%{name}-selinux-%{ds_shortcommit}.tar.gz
+%endif
 BuildRequires: glibc-static
 BuildRequires: golang >= 1.3.3
 BuildRequires: go-md2man
@@ -481,6 +483,7 @@ fi
 * Sun Mar 22 2015 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 1.5.0-23.git5ebfacd
 - increment release tag as -22 was already built without conditionals for f23
 and docker-selinux
+- Source7 only for f23+
 
 * Sun Mar 22 2015 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 1.5.0-22.git5ebfacd
 - Rename package to 'docker', metaprovide: docker-io*


More information about the scm-commits mailing list