From e5c475bdcb31e7d943afad9c122c30295128eefd Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Apr 21 2019 14:26:31 +0000 Subject: Release 1.2.0 Signed-off-by: Robert-André Mauchin --- diff --git a/.gitignore b/.gitignore index edc1abf..69d796e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /httprouter-adbc77eec0d91467376ca515bc3a14b8434d0f18.tar.gz +/httprouter-1.2.0.tar.gz diff --git a/golang-github-julienschmidt-httprouter.spec b/golang-github-julienschmidt-httprouter.spec index 4818346..8ebef3d 100644 --- a/golang-github-julienschmidt-httprouter.spec +++ b/golang-github-julienschmidt-httprouter.spec @@ -1,60 +1,68 @@ -%bcond_without check -%global goipath github.com/julienschmidt/httprouter -%global commit adbc77eec0d91467376ca515bc3a14b8434d0f18 +# Generated by go2rpm +# Fails: https://github.com/julienschmidt/httprouter/issues/263 +%bcond_with check -%global common_description %{expand: -A high performance HTTP request router that scales well} +# https://github.com/julienschmidt/httprouter +%global goipath github.com/julienschmidt/httprouter +Version: 1.2.0 %gometa +%global common_description %{expand: +HttpRouter is a lightweight high performance HTTP request router (also called +multiplexer or just mux for short) for Go. + +In contrast to the default mux of Go's net/http package, this router supports +variables in the routing pattern and matches against the request method. It also +scales better. + +The router is optimized for high performance and a small memory footprint. It +scales well even with very long paths and a large number of routes. A +compressing dynamic trie (radix tree) structure is used for efficient matching.} + +%global golicenses LICENSE +%global godocs README.md + +%global gosupfiles glide.lock glide.yaml + Name: %{goname} -Version: 1.1 -Release: 16%{?dist} -Summary: A high performance HTTP request router that scales well +Release: 1%{?dist} +Summary: High performance http request router that scales well + +# Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} -Source1: glide.lock -Source2: glide.yaml +Source1: glide.yaml +Source2: glide.lock %description %{common_description} -%package devel -Summary: %{summary} -BuildArch: noarch - -%description devel -%{summary} - -This package contains library source intended for -building other packages which use import path with -%{gobaseipath} prefix. +%gopkg %prep -%forgesetup -cp %{SOURCE1} %{SOURCE2} . +%goprep +cp %{S:1} %{S:2} . + %install -%goinstall glide.lock glide.yaml +%gopkginstall -%check %if %{with check} - %gochecks +%check +%gocheck %endif -#define license tag if not already defined -%{!?_licensedir:%global license %doc} - -%files devel -f devel.file-list -%license LICENSE -%doc README.md +%gopkgfiles %changelog +* Sat Apr 20 20:20:51 CEST 2019 Robert-André Mauchin - 1.2.0-1 +- Release 1.2.0 + * Fri Feb 01 2019 Fedora Release Engineering - 1.1-16.gitadbc77e - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild -* Tue Oct 23 2018 Nicolas Mailhot -- 1.1-15 +* Tue Oct 23 2018 Nicolas Mailhot - 1.1-15.gitadbc77e - redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias - https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/ @@ -103,4 +111,3 @@ cp %{SOURCE1} %{SOURCE2} . * Thu Aug 27 2015 jchaloup - 1.1-1 - First package for Fedora resolves: #1257619 - diff --git a/sources b/sources index 4195fe8..82cbaf4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (httprouter-adbc77eec0d91467376ca515bc3a14b8434d0f18.tar.gz) = eef597e437fdedd3872ae2ca2e6e03665f2d2a0842c2f5ba4bbceb7f1ad10aeb139800ea307289561b1c87dd98e1962ada3d1975b3c8066ee11d090faf676e80 +SHA512 (httprouter-1.2.0.tar.gz) = 9431926765ce70b14d73a300f248944da5b297504a9529ba39c4ee6b372d3de2575368bc8b9fe2a732c82764422255aed8ceab30ba3711c3165238294cceefac