aboutsummaryrefslogtreecommitdiff
path: root/extra/stackbin.spec
diff options
context:
space:
mode:
Diffstat (limited to 'extra/stackbin.spec')
-rw-r--r--extra/stackbin.spec7
1 files changed, 3 insertions, 4 deletions
diff --git a/extra/stackbin.spec b/extra/stackbin.spec
index de8ff28..53fadee 100644
--- a/extra/stackbin.spec
+++ b/extra/stackbin.spec
@@ -72,20 +72,19 @@ Stackbin is a flask-based pastebin implementation.
%prep
%setup -q -c %{name}
-test -d "%{name}" && cd "%{name}"
-test -d "%{name}-master" && cd "%{name}-master"
+test -d "%{name}" && cd "%{name}" ; test -d "%{name}-"* && cd "%{name}-"* ;
#%%if ! 0%%{?fedora}
#%%patch1 -p1
#%%endif
%build
export srcdir="extra"
-test -d "%{name}" && cd "%{name}"
+test -d "%{name}" && cd "%{name}" ; test -d "%{name}-"* && cd "%{name}-"* ;
%make_build -C "${srcdir}"
%install
export srcdir="extra"
-test -d "%{name}" && cd "%{name}"
+test -d "%{name}" && cd "%{name}" ; test -d "%{name}-"* && cd "%{name}-"* ;
%make_install -C "${srcdir}" \
with_systemd=YES \
with_nginx=YES \
bgstack15