diff --git a/golang-github-eapache-xerial-snappy.spec b/golang-github-eapache-xerial-snappy.spec index c7f3adc..c804756 100644 --- a/golang-github-eapache-xerial-snappy.spec +++ b/golang-github-eapache-xerial-snappy.spec @@ -1,66 +1,50 @@ -# Run tests in check section +# Generated by go2rpm %bcond_without check # https://github.com/eapache/go-xerial-snappy %global goipath github.com/eapache/go-xerial-snappy %global commit 776d5712da21bc4762676d614db1d8a64f4238b0 -%global common_description %{expand: -Xerial-compatible Snappy framing support for golang. +%gometa -Packages using Xerial for snappy encoding use a framing format incompatible -with basically everything else in existence. This package wraps Go's built-in -snappy package to support it.} +%global common_description %{expand: +Xerial-compatible Snappy framing support for Go.} -%gometa +%global golicenses LICENSE +%global godocs README.md Name: %{goname} Version: 0 -Release: 0.1%{?dist} -Summary: Xerial-compatible Snappy framing support for golang -# Detected licences -# - Expat License at 'LICENSE' +Release: 0.2%{?dist} +Summary: Xerial-compatible Snappy framing support for Go + License: MIT URL: %{gourl} Source0: %{gosource} -BuildRequires: golang(github.com/golang/snappy) +BuildRequires: golang(github.com/golang/snappy) %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 - +%goprep %install -%goinstall - +%gopkginstall %if %{with check} %check -%gochecks +%gocheck %endif - -%files devel -f devel.file-list -%license LICENSE -%doc README.md - +%gopkgfiles %changelog +* Tue Apr 23 18:54:21 CEST 2019 Robert-André Mauchin - 0-0.2.20190408git776d571 +- Update to new macros + * Mon Apr 08 19:47:08 CET 2019 Robert-André Mauchin - 0-0.1.20190408git776d571 - First package for Fedora