Blame SPECS/golang-github-burntsushi-toml.spec

5e2f63
# Generated by go2rpm
5e2f63
%bcond_without check
5e2f63
5e2f63
# https://github.com/BurntSushi/toml
5e2f63
%global goipath         github.com/BurntSushi/toml
5e2f63
Version:                0.3.1
5e2f63
5e2f63
%gometa
5e2f63
5e2f63
# Remove in F33:
5e2f63
%global godevelheader %{expand:
5e2f63
Obsoletes:      golang-github-BurntSushi-toml-devel < 0.3.1-3
5e2f63
}
5e2f63
5e2f63
%global common_description %{expand:
5e2f63
TOML stands for Tom's Obvious, Minimal Language. This Go package provides a
5e2f63
reflection interface similar to Go's standard library json and xml packages.
5e2f63
This package also supports the encoding.TextUnmarshaler and
5e2f63
encoding.TextMarshaler interfaces so that you can define custom data
5e2f63
representations.}
5e2f63
5e2f63
%global golicenses      COPYING
5e2f63
%global godocs          _examples README.md COMPATIBLE
5e2f63
5e2f63
%global gosupfiles glide.lock glide.yaml
5e2f63
5e2f63
Name:           %{goname}
5e2f63
Release:        9%{?dist}
5e2f63
Summary:        Toml parser with reflection for Golang
5e2f63
5e2f63
License:        MIT
5e2f63
URL:            %{gourl}
5e2f63
Source0:        %{gosource}
5e2f63
Source1:        glide.lock
5e2f63
Source2:        glide.yaml
5e2f63
5e2f63
# Remove in F33:
5e2f63
Obsoletes:      golang-github-BurntSushi-toml < 0.3.1-3
5e2f63
5e2f63
%description
5e2f63
%{common_description}
5e2f63
5e2f63
%gopkg
5e2f63
5e2f63
%prep
5e2f63
%goprep
5e2f63
cp %{S:1} %{S:2} .
5e2f63
5e2f63
%build
5e2f63
for cmd in cmd/* ; do
5e2f63
  %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
5e2f63
done
5e2f63
5e2f63
%install
5e2f63
%gopkginstall
5e2f63
install -m 0755 -vd                     %{buildroot}%{_bindir}
5e2f63
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
5e2f63
5e2f63
%if %{with check}
5e2f63
%check
5e2f63
%gocheck
5e2f63
%endif
5e2f63
5e2f63
%files
5e2f63
%license %{golicenses}
5e2f63
%doc %{godocs}
5e2f63
%{_bindir}/*
5e2f63
5e2f63
%gopkgfiles
5e2f63
5e2f63
%changelog
5e2f63
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-9
5e2f63
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
5e2f63
5e2f63
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-8
5e2f63
- Second attempt - Rebuilt for
5e2f63
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5e2f63
5e2f63
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-7
5e2f63
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5e2f63
5e2f63
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-6
5e2f63
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
5e2f63
5e2f63
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-5
5e2f63
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
5e2f63
5e2f63
* Fri Jul 05 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.1-4
5e2f63
- Add Obsoletes for old name
5e2f63
5e2f63
* Wed Apr 24 21:30:18 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.3.1-3
5e2f63
- Update to new macros
5e2f63
5e2f63
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-2
5e2f63
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5e2f63
5e2f63
* Wed Oct 31 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0.3.1-1
5e2f63
- Release 0.3.1
5e2f63
5e2f63
* Tue Oct 23 2018 Nicolas Mailhot <nim@fedoraproject.org> - 0.3.0-4
5e2f63
- redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias
5e2f63
- https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/
5e2f63
5e2f63
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - Forge-specific packaging variables
5e2f63
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
5e2f63
5e2f63
* Fri Jun 08 2018 Jan Chaloupka <jchaloup@redhat.com> - 0.3.0-2
5e2f63
- Upload glide.lock and glide.yaml
5e2f63
5e2f63
* Sun Mar 18 2018 Jan Chaloupka <jchaloup@redhat.com> - 0.3.0-1
5e2f63
- Update to 0.3.0
5e2f63
  resolves: #1423641
5e2f63
5e2f63
* Wed Feb 28 2018 Jan Chaloupka <jchaloup@redhat.com> - 0-0.15.20140718git2ceedfe
5e2f63
- Autogenerate some parts using the new macros
5e2f63
5e2f63
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.14.git2ceedfe
5e2f63
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5e2f63
5e2f63
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.13.git2ceedfe
5e2f63
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5e2f63
5e2f63
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.12.git2ceedfe
5e2f63
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
5e2f63
5e2f63
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.11.git2ceedfe
5e2f63
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
5e2f63
5e2f63
* Tue Jan 17 2017 Jan Chaloupka <jchaloup@redhat.com> - 0-0.10.git2ceedfe
5e2f63
- Polish the spec file
5e2f63
  related: #1247656
5e2f63
5e2f63
* Tue Aug 09 2016 jchaloup <jchaloup@redhat.com> - 0-0.9.git2ceedfe
5e2f63
- Enable devel and unit-test for epel7
5e2f63
  related: #1247656
5e2f63
5e2f63
* Thu Jul 21 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.8.git2ceedfe
5e2f63
- https://fedoraproject.org/wiki/Changes/golang1.7
5e2f63
5e2f63
* Mon Feb 22 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.7.git2ceedfe
5e2f63
- https://fedoraproject.org/wiki/Changes/golang1.6
5e2f63
5e2f63
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.6.git2ceedfe
5e2f63
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
5e2f63
5e2f63
* Sat Sep 12 2015 jchaloup <jchaloup@redhat.com> - 0-0.5.git2ceedfe
5e2f63
- Update to spec-2.1
5e2f63
  related: #1247656
5e2f63
5e2f63
* Tue Jul 28 2015 Fridolin Pokorny <fpokorny@redhat.com> - 0-0.4.git2ceedfe
5e2f63
- Update of spec file to spec-2.0
5e2f63
  resolves: #1247656
5e2f63
5e2f63
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.4.git2ceedfe
5e2f63
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5e2f63
5e2f63
* Thu Oct 23 2014 jchaloup <jchaloup@redhat.com> - 0-0.3.git2ceedfe
5e2f63
- Bump to upstream 2ceedfee35ad3848e49308ab0c9a4f640cfb5fb2
5e2f63
- spec file polishing to follow go draft
5e2f63
  related: #1120865
5e2f63
5e2f63
* Mon Sep 22 2014 jchaloup <jchaloup@redhat.com> - 0-0.2.gitbd2bdf7
5e2f63
- do not own golang directories
5e2f63
- defattr and attr not needed
5e2f63
5e2f63
* Mon Sep 22 2014 jchaloup <jchaloup@redhat.com> - 0-0.1.gitbd2bdf7
5e2f63
- accomodated changes from Vincent Batts
5e2f63
- gopath is in the rpm macros, and set exclusive arch too, to prevent s390 builds
5e2f63
- move the buildarch noarch to the devel, since it is source only
5e2f63
- preserve timestamps of source copied and as an added perk
5e2f63
- the tomlv command provided in this project is useful for validating *.toml files
5e2f63
- go test
5e2f63
5e2f63
* Thu Jul 17 2014 Colin Walters <walters@verbum.org>
5e2f63
- Initial package