]> Nutra Git (v2) - gamesguru/git-remote-gcrypt.git/commitdiff
rpm: use full URL for source
authorDusty Mabe <dusty@dustymabe.com>
Mon, 30 Sep 2019 02:54:50 +0000 (22:54 -0400)
committerDusty Mabe <dusty@dustymabe.com>
Thu, 10 Oct 2019 00:41:08 +0000 (20:41 -0400)
Also update the setup line to %{name}-%{version} to
match the folder setup from the tar.gz file downloaded
from https://git.spwhitton.name/%{name}/snapshot/%{name}-%{version}.tar.gz

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
redhat/git-remote-gcrypt.spec

index a2d2788c56bdd05193d433d548af4f76458101b2..7ea0388b200f85f777f8d62ec9ae99cf62111357 100644 (file)
@@ -8,7 +8,7 @@ Summary:    GNU Privacy Guard-encrypted git remote
 Group:      Development Tools
 License:    GPLv3
 URL:        https://git.spwhitton.name/%{name}
-Source0:    %{name}-%{version}.tar.gz
+Source0:    https://git.spwhitton.name/%{name}/snapshot/%{name}-%{version}.tar.gz
 
 BuildRequires:  python3-docutils
 Requires:   gnupg2 git-core
@@ -24,7 +24,7 @@ The aim is to provide confidential, authenticated git storage and
 collaboration using typical untrusted file hosts or services.
 
 %prep
-%setup -q -n %{name}
+%setup -q -n %{name}-%{version}
 
 %build
 :