From 9b59ba965ce7a7146d8d94eed82073b3c8ac23de Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Wed, 16 Feb 2022 13:58:57 -0500 Subject: use %copr_username to pull Source0 from gitlab --- extra/stackbin.spec | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit