Sophie

Sophie

distrib > Mageia > cauldron > x86_64 > by-pkgid > 8b9b4ee16296eac2069036c092f54e10 > files > 4

golang-github-prometheus-procfs-0.7.3-1.mga9.src.rpm

# Generated by go2rpm 1.5.0
# https://github.com/prometheus/procfs/issues/432
%ifnarch %{ix86} %{arm32}
%bcond_without check
%endif

# https://github.com/prometheus/procfs
%global goipath         github.com/prometheus/procfs
Version:                0.7.3
# Needed by golang-github-prometheus-node-exporter
%global commit          fbe360a68cc652b7d44167e8ec79e2ee70261569

%gometa

%global common_description %{expand:
Procfs provides functions to retrieve system, kernel and process metrics from
the pseudo-filesystem proc.}

%global golicenses      LICENSE NOTICE
%global godocs          CONTRIBUTING.md MAINTAINERS.md README.md

%global gosupfiles glide.lock glide.yaml

Name:           %{goname}
Release:        %mkrel 1
Summary:        Retrieve system, kernel and process metrics from proc
Group:          Development/Other

# Upstream license specification: Apache-2.0
License:        ASL 2.0
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)

%if %{with check}
# Tests
BuildRequires:  golang(github.com/google/go-cmp/cmp)
%endif

%description
%{common_description}

%gopkg

%prep
%goprep
%patch0 -p 1
cp %{S:1} %{S:2} .

%install
%gopkginstall

%if %{with check}
%check
# Tests require that fixtures are extracted
./ttar -x -f fixtures.ttar
%gocheck
%endif

%gopkgfiles



%changelog
* Mon Aug 22 2022 guillomovitch <guillomovitch> 0.7.3-1.mga9
+ Revision: 1879410
- new version 0.7.3

* Wed Mar 23 2022 umeabot <umeabot> 0.7.2-2.mga9
+ Revision: 1821518
- Mageia 9 Mass Rebuild

* Sun Nov 14 2021 guillomovitch <guillomovitch> 0.7.2-1.mga9
+ Revision: 1756548
- new version 0.7.2

* Sun Aug 30 2020 joequant <joequant> 0-0.1.mga8
+ Revision: 1619998
- fix build

* Sat Nov 24 2018 pterjan <pterjan> 0-0.1.mga7
+ Revision: 1333843
- imported package golang-github-prometheus-procfs


* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.24.gitfe93d37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

* Tue Jun 26 2018 Jan Chaloupka <jchaloup@redhat.com> - 0-0.23.gitfe93d37
- Upload glide files

* Fri May 25 2018 Paul Gier <pgier@redhat.com> - 0-0.22.20180525gita6e9df8
- Update to new snapshot a6e9df898b1336106c743392c48ee0b71f5c4efa
- Update spec file to new format

* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.21.gita1dba9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

* Fri Sep 22 2017 Jan Chaloupka <jchaloup@redhat.com> - 0-0.20.gita1dba9c
- Bump to upstream a1dba9ce8baed984a2495b658c82687f8157b98f
  related: #1326057

* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.19.gitfcdb11c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.18.gitfcdb11c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Thu Mar 16 2017 Jan Chaloupka <jchaloup@redhat.com> - 0-0.17.gitfcdb11c
- Bump to upstream fcdb11ccb4389efb1b210b7ffb623ab71c5fdd60
  related: #1326057

* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.16.git406e5b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Thu Jul 21 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.15.git406e5b7
- https://fedoraproject.org/wiki/Changes/golang1.7

* Mon Apr 11 2016 jchaloup <jchaloup@redhat.com> - 0-0.14.git406e5b7
- Polish the spec file
  resolves: #1326057

* Mon Apr 11 2016 Than Ngo <than@redhat.com> - 0-0.13.git406e5b7
- use os.Getpagesize instead syscall.Getpagesize

* Mon Apr 11 2016 Than Ngo <than@redhat.com> 0-0.12.git406e5b7
- fix build issue on ppc64, use the syscall.Getpagesize to get correct pagesize

* Sun Apr 10 2016 Peter Robinson <pbrobinson@fedoraproject.org> 0-0.10.git406e5b7
- Bump to upstream 406e5b7bfd8201a36e2bb5f7bdae0b03380c2ce8
- Spec cleanups

* Sun Mar 06 2016 jchaloup <jchaloup@redhat.com> - 0-0.10.gitb1afdc2
- Bump to upstream b1afdc266f54247f5dc725544f5d351a8661f502
  related: #1214778

* Mon Feb 22 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.9.git454a56f
- https://fedoraproject.org/wiki/Changes/golang1.6

* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.8.git454a56f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Mon Oct 19 2015 jchaloup <jchaloup@redhat.com> - 0-0.7.git454a56f
- Bump to upstream 454a56f35412459b5e684fd5ec0f9211b94f002a
  related: #1214778

* Fri Aug 07 2015 Fridolin Pokorny <fpokorny@redhat.com> - 0-0.6.gitc91d8ee
- Update spec file to spec-2.0
  resolves: #1214778

* Thu Jul 23 2015 jchaloup <jchaloup@redhat.com> - 0-0.5.gitc91d8ee
- Bump to upstream c91d8eefde16bd047416409eb56353ea84a186e4
  resolves: #1214778

* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.4.git490cc6e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Thu Apr 23 2015 jchaloup <jchaloup@redhat.com> - 0-0.3.git490cc6e
- Bump to upstream 490cc6eb5fa45bf8a8b7b73c8bc82a8160e8531d
  resolves: #1214778

* Wed Mar 04 2015 jchaloup <jchaloup@redhat.com> - 0-0.2.git6c34ef8
- Bump to upstream 6c34ef819e19b4e16f410100ace4aa006f0e3bf8
  related: #1190413

* Sat Feb 07 2015 jchaloup <jchaloup@redhat.com> - 0-0.1.git92faa30
- First package for Fedora
  resolves: #1190413