aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-02-16 14:33:41 -0500
committerB. Stack <bgstack15@gmail.com>2022-02-16 14:33:41 -0500
commit6903060591e59ea0dd55104fbc10bb4f7fce3cd1 (patch)
tree11d749bd4e93f1f1c4fccf6cbecc6eab3c45d972
parentuse %copr_username to pull Source0 from gitlab (diff)
downloadstackbin-6903060591e59ea0dd55104fbc10bb4f7fce3cd1.tar.gz
stackbin-6903060591e59ea0dd55104fbc10bb4f7fce3cd1.tar.bz2
stackbin-6903060591e59ea0dd55104fbc10bb4f7fce3cd1.zip
fix if 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 8f7087b..9310c07 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 0%{copr_username}
+%if "%{?copr_username}" != ""
Source0: https://gitlab.com/bgstack15/%{name}/-/archive/master/%{name}-master.tar.gz
%else
Source0: %{name}_%{version}.orig.tar.gz
bgstack15