From 1f30060d0c09b8de392beb643da3168b3c611cc8 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Oct 17 2018 16:13:32 +0000 Subject: use standard GitHub SourceURL again for consistency between releases --- diff --git a/.gitignore b/.gitignore index e4fca6e..d7766f4 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /kcp-go-v4.1.tar.gz /kcp-go-v4.3.tar.gz /kcp-go-v4.3.1.tar.gz +/kcp-go-4.3.1.tar.gz diff --git a/golang-github-xtaci-kcp-go.spec b/golang-github-xtaci-kcp-go.spec index ded846a..1b1f11a 100644 --- a/golang-github-xtaci-kcp-go.spec +++ b/golang-github-xtaci-kcp-go.spec @@ -1,17 +1,18 @@ Name: golang-github-xtaci-kcp-go Summary: Production-Grade Reliable-UDP Library for golang Version: 4.3.1 -Release: 1%{?dist} +Release: 2%{?dist} License: MIT # https://github.com/xtaci/kcp-go -%global goipath github.com/xtaci/kcp-go -%global tag v4.3.1 +%global repo kcp-go +%global goipath github.com/xtaci/%{repo} +%global tag v%{version} %gometa URL: %{gourl} -Source0: %{gosource} +Source0: %{gourl}/archive/%{tag}/%{repo}-%{version}.tar.gz # Add a patch to disable a failing test. # It tries to open more than 1024 sockets, which doesn't work on fedora. @@ -48,9 +49,7 @@ building other packages which use import path with %prep -%gosetup -q - -%patch0 -p1 +%autosetup -n %{repo}-%{version} -p1 %install @@ -67,6 +66,9 @@ building other packages which use import path with %changelog +* Wed Oct 17 2018 Fabio Valentini - 4.3.1-2 +- Use standard GitHub SourceURL again for consistency between releases. + * Mon Oct 08 2018 Fabio Valentini - 4.3.1-1 - Update to version 4.3.1. diff --git a/sources b/sources index 1994fba..034dfc1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (kcp-go-v4.3.1.tar.gz) = 6eee0c4ddf421382e49ac4ae352eb1b28d695266b97223c7a785ff8b669aa46c705ab4cba7a697ac5698bb22fcd75285a4bf3450df9ee668bed1bce0f52a4c6a +SHA512 (kcp-go-4.3.1.tar.gz) = 6eee0c4ddf421382e49ac4ae352eb1b28d695266b97223c7a785ff8b669aa46c705ab4cba7a697ac5698bb22fcd75285a4bf3450df9ee668bed1bce0f52a4c6a