From 1ac07421c51df50ac72e42316fc64693bf0808b0 Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: May 23 2019 14:35:56 +0000 Subject: Bump to commit 4cdc5dab577ca87055f659bb0065ee223105eb1e Signed-off-by: Robert-André Mauchin --- diff --git a/.gitignore b/.gitignore index 07ea34c..87c5bf5 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /genetlink-76fecce4c787fb8eaa21a8755f722d67c53038e1.tar.gz +/genetlink-4cdc5dab577ca87055f659bb0065ee223105eb1e.tar.gz diff --git a/golang-github-mdlayher-genetlink.spec b/golang-github-mdlayher-genetlink.spec index 339320f..5c947b6 100644 --- a/golang-github-mdlayher-genetlink.spec +++ b/golang-github-mdlayher-genetlink.spec @@ -1,69 +1,63 @@ -%bcond_without check -%global goipath github.com/mdlayher/genetlink -%global commit 76fecce4c787fb8eaa21a8755f722d67c53038e1 +# Generated by go2rpm +# Needs netlink +%bcond_with check -Version: 0 - -%global common_description %{expand: -Package genetlink implements generic netlink interactions and data types. -} +# https://github.com/mdlayher/genetlink +%global goipath github.com/mdlayher/genetlink +%global commit 4cdc5dab577ca87055f659bb0065ee223105eb1e %gometa -Name: %{goname} -Release: 0.4%{?dist} -Summary: Generic netlink interactions and data types -License: MIT -URL: %{gourl} -Source: %{gosource} -Patch0: 0001-skip-arch-dependent-test-on-s390x.patch +%global common_description %{expand: +Package genetlink implements generic netlink interactions and data types.} -BuildRequires: golang(github.com/mdlayher/netlink) -BuildRequires: golang(github.com/mdlayher/netlink/nlenc) -BuildRequires: golang(golang.org/x/net/bpf) -BuildRequires: golang(golang.org/x/sys/unix) +%global golicenses LICENSE.md +%global godocs README.md -%if %{with check} -BuildRequires: golang(github.com/google/go-cmp/cmp) -BuildRequires: golang(github.com/mdlayher/netlink/nltest) -%endif +Name: %{goname} +Version: 0 +Release: 0.5%{?dist} +Summary: Generic netlink interactions and data types -%description -%{common_description} +License: MIT +URL: %{gourl} +Source0: %{gosource} +Patch0: 0001-skip-arch-dependent-test-on-s390x.patch -%package devel -Summary: %{summary} -BuildArch: noarch +BuildRequires: golang(github.com/google/go-cmp/cmp) +BuildRequires: golang(github.com/mdlayher/netlink) +BuildRequires: golang(github.com/mdlayher/netlink/nlenc) +BuildRequires: golang(github.com/mdlayher/netlink/nltest) +BuildRequires: golang(golang.org/x/net/bpf) +BuildRequires: golang(golang.org/x/sys/unix) -%description devel +%description %{common_description} -This package contains the source code needed for building packages that import -the %{goipath} Go namespace. +%gopkg %prep -%forgesetup +%goprep %patch0 -p1 -rm -rf vendor %install -%goinstall +%gopkginstall -%check %if %{with check} - %gochecks +%check +%gocheck %endif -%files devel -f devel.file-list -%license LICENSE.md -%doc *\.md +%gopkgfiles %changelog +* Thu May 23 14:28:04 CEST 2019 Robert-André Mauchin - 0-0.5.20190523git4cdc5da +- Bump to commit 4cdc5dab577ca87055f659bb0065ee223105eb1e + * Fri Feb 01 2019 Fedora Release Engineering - 0-0.4.git76fecce - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild -* Tue Oct 23 2018 Nicolas Mailhot -- 0-0.3 +* Tue Oct 23 2018 Nicolas Mailhot - 0-0.3.git76fecce - 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/ diff --git a/sources b/sources index 2a4e6e7..499e560 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (genetlink-76fecce4c787fb8eaa21a8755f722d67c53038e1.tar.gz) = b771549cd0c191d1946c3829f52cb5cd302935e3a2c06c6661313485e1a09b015e3da3546594e16c5b2cedc7c2b769fd287db0d5a5772e6088315e6cf91d649e +SHA512 (genetlink-4cdc5dab577ca87055f659bb0065ee223105eb1e.tar.gz) = 66dd6d0df4e9aa03460250038f5c337508f46971ce1f56a5cd14659f36eeee885018f9225ec87e62e359be6b8148b1068a71c739e58ac62ce7ea93aaafca317d