aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-02-16 13:58:57 -0500
committerB. Stack <bgstack15@gmail.com>2022-02-16 13:58:57 -0500
commit9b59ba965ce7a7146d8d94eed82073b3c8ac23de (patch)
treec977b7d2a0229a62c284f4098f7abfe37031841c
parentimprove dpkg recipe (diff)
downloadstackbin-9b59ba965ce7a7146d8d94eed82073b3c8ac23de.tar.gz
stackbin-9b59ba965ce7a7146d8d94eed82073b3c8ac23de.tar.bz2
stackbin-9b59ba965ce7a7146d8d94eed82073b3c8ac23de.zip
use %copr_username to pull Source0 from gitlab
-rw-r--r--extra/stackbin.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/extra/stackbin.spec b/extra/stackbin.spec
index 41bad2a..8f7087b 100644
--- a/extra/stackbin.spec
+++ b/extra/stackbin.spec
@@ -37,7 +37,11 @@ Name: stackbin
Version: 0.0.1
Release: 1
License: GPL 3.0
+%if 0%{copr_username}
+Source0: https://gitlab.com/bgstack15/%{name}/-/archive/master/%{name}-master.tar.gz
+%else
Source0: %{name}_%{version}.orig.tar.gz
+%endif
%if 0%{?with_systemd_usercreate}
Source1: extra/%{name}.sysusers
%endif
bgstack15