diff --git a/.gitignore b/.gitignore index 4631e55..242db49 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /zstd-1.3.5.tar.gz +/zstd-1.4.0.tar.gz diff --git a/golang-github-datadog-zstd.spec b/golang-github-datadog-zstd.spec index 5732f54..6482907 100644 --- a/golang-github-datadog-zstd.spec +++ b/golang-github-datadog-zstd.spec @@ -1,64 +1,51 @@ -# Run tests in check section +# Generated by go2rpm %bcond_without check # https://github.com/DataDog/zstd %global goipath github.com/DataDog/zstd -Version: 1.3.5 +Version: 1.4.0 + +%gometa %global common_description %{expand: -Zstd wrapper for Go.} +Zstd wrapper for go.} -%gometa +%global golicenses LICENSE ZSTD_LICENSE +%global godocs README.md update.txt Name: %{goname} Release: 1%{?dist} -Summary: Zstd wrapper for Go -# Detected licences -# - BSD 3-clause "New" or "Revised" License at 'LICENSE' -# - MIT: divsufsort.c -License: BSD and MIT +Summary: Zstd wrapper for go + +# Upstream license specification: BSD-3-Clause +License: BSD URL: %{gourl} Source0: %{gosource} -Provides: bundled(zstd) = 1.3.4 BuildRequires: gcc +Provides: bundled(zstd) = 1.4.0 %description %{common_description} - -%package devel -Summary: %{summary} -BuildArch: noarch - -%description devel -%{common_description} - -This package contains library source intended for -building other packages which use import path with -%{goipath} prefix. - +%gopkg %prep -%forgeautosetup -p1 - +%goprep %install -%goinstall - +%gopkginstall %if %{with check} %check -%gochecks +%gocheck %endif - -%files devel -f devel.file-list -%license LICENSE ZSTD_LICENSE -%doc README.md - +%gopkgfiles %changelog +* Tue Apr 23 18:33:18 CEST 2019 Robert-André Mauchin - 1.4.0-1 +- Release 1.4.0 + * Sun Mar 17 2019 Robert-André Mauchin - 1.3.5-1 - First package for Fedora - diff --git a/sources b/sources index 782ed11..4983758 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zstd-1.3.5.tar.gz) = c6d3f03770ce58d0c1682482ba807c2f98e9e188cc3f370ddfd56a47bfd3b2d7e58700df26c8e743d4f4fd195d68ce109cd2f9a80d9987d0d0f075e1b1e13b6f +SHA512 (zstd-1.4.0.tar.gz) = 87f89969685b27c53126c3eee0920b88404e6cba2d95320dfe6a6e9eac9786d7e4fc990f182c92ee071c235e9c78951149ad83d2ca27ff8faa40ea4e116ae046