Blob Blame Raw
# Generated by go2rpm
%bcond_without check

# https://github.com/rasky/go-xdr
%global goipath         github.com/rasky/go-xdr
%global commit          1a41d1a06c93bf8a0e0385be3847a277bb793187

%gometa

# Remove in F33:
%global godevelheader %{expand:
Obsoletes:      golang-github-rasky-go-xdr-devel < 0-0.4
}

%global common_description %{expand:
Go-xdr implements the data representation portion of the External Data
Representation (XDR) standard protocol as specified in RFC 4506 (obsoletes RFC
1832 and RFC 1014) in Pure Go (Golang). A comprehensive suite of tests are
provided to ensure proper functionality. It is licensed under the liberal ISC
license, so it may be used in open source or commercial projects.}

%global golicenses      LICENSE
%global godocs          README.md

Name:           %{goname}
Version:        0
Release:        0.6%{?dist}
Summary:        Implements the XDR standard as specified in RFC 4506 in pure Go
License:        ISC
URL:            %{gourl}
Source0:        %{gosource}

%description
%{common_description}

%gopkg

%prep
%goprep
find . -name "*.go" -exec sed -i "s|github.com/davecgh/go-xdr|github.com/rasky/go-xdr|" "{}" +;

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Tue Jul 09 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0-0.5.20190702git1a41d1a
- Add Obsoletes for old name

* Thu May 23 22:04:27 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.4.20190702git1a41d1a
- Update to new macros

* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.3.20150914git1a41d1a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

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

* Tue Feb 13 2018 Kaushal <kshlmster@gmail.com> - 0-0.1.20150914git1a41d1a
- First package for Fedora