From e714c5792747e59b1eaf49f93b9acf3ac3b145e6 Mon Sep 17 00:00:00 2001 From: Robbie Harwood Date: Wed, 6 Dec 2017 18:10:36 +0000 Subject: [PATCH] Fix copr rule sop that the spec file builds --- krb5.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/krb5.spec b/krb5.spec index f1fbfa8..253453d 100644 --- a/krb5.spec +++ b/krb5.spec @@ -365,7 +365,7 @@ export SOCKET_WRAPPER_DIR="$PWD/sockets" ; mkdir -p $SOCKET_WRAPPER_DIR export LD_PRELOAD="$PWD/noport.so:libnss_wrapper.so:libsocket_wrapper.so" # ugh. COPR doesn't expose the keyring, so try to cope. -%if 0%{copr_username}%{copr_projectname} +%if 0%{?copr_username:1} %global keyctl : %else %global keyctl keyctl