Sophie

Sophie

distrib > Mageia > 7 > armv7hl > by-pkgid > af009e9541605ce90aaec8efc1702ac6 > files > 3

golang-github-garyburd-redigo-0-0.1.mga7.src.rpm

# http://github.com/garyburd/redigo

%global goipath         github.com/garyburd/redigo
%global commit          3e4727f0ef5938d3a846cdb57e560dba4419e854


%gometa -i

Name:           %{goname}
Version:        0
Release:        0.1%{?dist}
Summary:        Go client for Redis
Group:          Development/Other
License:        ASL 2.0
URL:            %{gourl}
Source0:        %{gosource}
Source1:        glide.yaml
Source2:        glide.yaml
Patch0:         add-license.patch
BuildArch:      noarch

%description
%{summary}

%package devel
Summary:       %{summary}

%description devel
%{summary}

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

%prep
%gosetup
cp %{SOURCE1} %{SOURCE2} .
%patch0 -p1

%install
%goinstall glide.lock glide.yaml

%check
%gochecks -d redis

#define license tag if not already defined
%{!?_licensedir:%global license %doc}

%files devel -f devel.file-list
%license ASL-2.0.txt
%doc README.markdown



%changelog
* Mon Nov 26 2018 pterjan <pterjan> 0-0.1.mga7
+ Revision: 1334788
- imported package golang-github-garyburd-redigo