]> www.infradead.org Git - users/dwmw2/openconnect.git/commitdiff
Fix COPR release builds for mingw-openconnect
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 14 May 2020 18:51:07 +0000 (19:51 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Thu, 14 May 2020 18:51:07 +0000 (19:51 +0100)
For release builds, the tarball contents still don't have the default
name; we need to explicitly state that it's openconnect-%{version}

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
mingw-openconnect.spec.in

index f12d9b7aadbfba24da84b965ce8a16dc63b1f0af..92aa834443584f64af19d61f47a8fd277fed90ad 100644 (file)
@@ -83,7 +83,7 @@ The OpenConnect multiprotocol VPN client library, cross-compiled for MinGW.
 NOCONFIGURE=x ./autogen.sh
 %else
 %gpg_verify
-%setup -q
+%setup -q -n openconnect-%{version}
 if [ ! -x configure ]; then
     NOCONFIGURE=x ./autogen.sh
 fi