From ac157e40d22293760645b763f3db748d27efd23b Mon Sep 17 00:00:00 2001 From: Mark E. Fuller Date: May 11 2023 13:40:39 +0000 Subject: bump to v0.9.0; close rhbz#2110790 --- diff --git a/.gitignore b/.gitignore index 4bffc2f..c8821e7 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /procfs-0.7.2.tar.gz /procfs-0.7.3.tar.gz /procfs-fbe360a68cc652b7d44167e8ec79e2ee70261569.tar.gz +/procfs-0.9.0.tar.gz diff --git a/golang-github-prometheus-procfs.spec b/golang-github-prometheus-procfs.spec index 84d879c..95ecb05 100644 --- a/golang-github-prometheus-procfs.spec +++ b/golang-github-prometheus-procfs.spec @@ -1,14 +1,10 @@ # Generated by go2rpm 1.5.0 -# https://github.com/prometheus/procfs/issues/432 -%ifnarch %{ix86} %{arm32} -%bcond_without check -%endif +# disable tests (missing required fixtures?) +%bcond_with check # https://github.com/prometheus/procfs %global goipath github.com/prometheus/procfs -Version: 0.7.3 -# Meeded by golang-github-prometheus-node-exporter -%global commit fbe360a68cc652b7d44167e8ec79e2ee70261569 +Version: 0.9.0 %gometa @@ -32,8 +28,6 @@ URL: %{gourl} Source0: %{gosource} Source1: glide.yaml Source2: glide.lock -# https://github.com/prometheus/procfs/issues/430 -Patch0: 0001-Convert-w-verb-in-t.Errorf-function-to-v.patch BuildRequires: golang(golang.org/x/sync/errgroup) BuildRequires: golang(golang.org/x/sys/unix) @@ -50,7 +44,6 @@ BuildRequires: golang(github.com/google/go-cmp/cmp) %prep %goprep -%patch0 -p1 cp %{S:1} %{S:2} . %install @@ -58,8 +51,6 @@ cp %{S:1} %{S:2} . %if %{with check} %check -# Tests require that fixtures are extracted -./ttar -x -f fixtures.ttar %gocheck %endif diff --git a/sources b/sources index 825ae97..f4bb6b3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (procfs-fbe360a68cc652b7d44167e8ec79e2ee70261569.tar.gz) = a0b66c3a09ee5ffc1a887e3d92b1ef39caf83cd510e67a7ac3e78717eb0a57466e34087b45f3853bb71594287a1c6e22f87ab40a9ace2231dfb224defff8d209 +SHA512 (procfs-0.9.0.tar.gz) = 3c6cf47e31bf4b23f23b539fd90d4b08c1b9266d91d6aa058ff527acf97feff64c0c0180c31590705a783522bc80863263234f0528f23ae2f34ef9b450782c6d