Blob Blame History Raw
# Generated by go2rpm
%bcond_without check

# https://github.com/fatih/structs
%global goipath         github.com/fatih/structs
Version:                1.1.0

%gometa

%global common_description %{expand:
Structs contains various utilities to work with Go (Golang) structs. It was initially used by me to convert a struct
into a map[string]interface{}. With time I've added other utilities for structs. It's basically a high level package
based on primitives from the reflect package. Feel free to add new functions or improve the existing code.}

Name:           %{goname}
Release:        1%{?dist}
Summary:        Utilities for go structs

License:        MIT
URL:            %{gourl}
Source0:        %{gosource}

%description
%{common_description}

%package devel
Summary:       %{summary}
BuildArch:     noarch

%description devel
%{common_description}

This package contains library source intended for
building other packages which use import path with
%{goipath} prefix.

%prep
%forgeautosetup -p1

%install
%goinstall

%if %{with check}
%check
%gochecks
%endif

%files devel -f devel.file-list
%license LICENSE
%doc README.md

%changelog
* Sat Apr 06 01:49:37 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.1.0-1
- Release 1.1.0 (#1695257)

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

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

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

* Wed Oct 04 2017 Ed Marshall <esm@logic.net> - 0-0.1.20170612git7e5a8ee
- First package for Fedora