aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-02-16 14:49:10 -0500
committerB. Stack <bgstack15@gmail.com>2022-02-16 14:49:10 -0500
commite3c7402d57737467c5194eb2f05250d08f308f37 (patch)
tree0102dc8f4efb6caa3a4dca1cf9ada69801b4172b
parentfix if copr_username (diff)
downloadstackbin-e3c7402d57737467c5194eb2f05250d08f308f37.tar.gz
stackbin-e3c7402d57737467c5194eb2f05250d08f308f37.tar.bz2
stackbin-e3c7402d57737467c5194eb2f05250d08f308f37.zip
try another expression for copr_username
-rw-r--r--extra/stackbin.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/stackbin.spec b/extra/stackbin.spec
index 9310c07..01aba8b 100644
--- a/extra/stackbin.spec
+++ b/extra/stackbin.spec
@@ -37,7 +37,7 @@ Name: stackbin
Version: 0.0.1
Release: 1
License: GPL 3.0
-%if "%{?copr_username}" != ""
+%if 0%{?copr_username:1}
Source0: https://gitlab.com/bgstack15/%{name}/-/archive/master/%{name}-master.tar.gz
%else
Source0: %{name}_%{version}.orig.tar.gz
bgstack15