The package rpms/golang-github-spf13-viper.git has added or updated architecture specific
content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/golang-github-spf13-viper.git/com....
Change:
-%ifarch %{ix86} || %{arm}
Thanks.
Full change:
============
commit 64cd6bee6cd6ce8b00cbb675d7dccd4088605fae
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Wed Apr 10 00:20:10 2019 -0400
Release 1.4.0
Signed-off-by: Robert-Andr Mauchin <zebob.m(a)gmail.com>
diff --git a/.gitignore b/.gitignore
index 0309822..4cd3ad2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/viper-1.0.0.tar.gz
/viper-1.3.1.tar.gz
/viper-1.3.2.tar.gz
+/viper-1.4.0.tar.gz
diff --git a/golang-github-spf13-viper.spec b/golang-github-spf13-viper.spec
index 8e7bcdb..b99b598 100644
--- a/golang-github-spf13-viper.spec
+++ b/golang-github-spf13-viper.spec
@@ -1,68 +1,95 @@
-#
http://github.com/spf13/viper
+# Generated by go2rpm
+%bcond_without check
+%bcond_without bootstrap
+
+#
https://github.com/spf13/viper
%global goipath
github.com/spf13/viper
-Version: 1.3.2
+Version: 1.4.0
%gometa
+%global goipaths0
github.com/spf13/viper
+%global goipathsex0
github.com/spf13/viper/remote
+
+%if %{without bootstrap}
+%global goipaths1
github.com/spf13/viper/remote
+%endif
+
+%global common_description %{expand:
+Viper is a complete configuration solution for Go applications including
+12-Factor apps. It is designed to work within an application, and can handle all
+types of configuration needs and formats. It supports:
+
+ - setting defaults
+ - reading from JSON, TOML, YAML, HCL, and Java properties config files
+ - live watching and re-reading of config files (optional)
+ - reading from environment variables
+ - reading from remote config systems (etcd or Consul), and watching changes
+ - reading from command line flags
+ - reading from buffer
+ - setting explicit values
+
+Viper can be thought of as a registry for all of your applications configuration
+needs.}
+
+%global golicenses LICENSE
+%global godocs README.md
+
Name: %{goname}
Release: 1%{?dist}
Summary: Go configuration with fangs
+
License: MIT
URL: %{gourl}
Source0: %{gosource}
+BuildRequires:
golang(github.com/fsnotify/fsnotify)
+BuildRequires:
golang(github.com/hashicorp/hcl)
+BuildRequires:
golang(github.com/hashicorp/hcl/hcl/printer)
+BuildRequires:
golang(github.com/magiconair/properties)
+BuildRequires:
golang(github.com/mitchellh/mapstructure)
+BuildRequires:
golang(github.com/pelletier/go-toml)
+BuildRequires:
golang(github.com/spf13/afero)
+BuildRequires:
golang(github.com/spf13/cast)
+BuildRequires:
golang(github.com/spf13/jwalterweatherman)
+BuildRequires:
golang(github.com/spf13/pflag)
+%if %{without bootstrap}
+BuildRequires:
golang(github.com/xordataexchange/crypt/config)
+%endif
+BuildRequires: golang(gopkg.in/yaml.v2)
+
+%if %{with check}
+# Tests
+BuildRequires:
golang(github.com/stretchr/testify/assert)
+BuildRequires:
golang(github.com/stretchr/testify/require)
+%endif
+
%description
-%{summary}
-
-%package devel
-Summary: %{summary}
-BuildArch: noarch
-
-BuildRequires:
golang(github.com/fsnotify/fsnotify)
-BuildRequires:
golang(github.com/hashicorp/hcl)
-BuildRequires:
golang(github.com/magiconair/properties)
-BuildRequires:
golang(github.com/mitchellh/mapstructure)
-BuildRequires:
golang(github.com/pelletier/go-toml)
-BuildRequires:
golang(github.com/spf13/afero)
-BuildRequires:
golang(github.com/spf13/cast)
-BuildRequires:
golang(github.com/spf13/jwalterweatherman)
-BuildRequires:
golang(github.com/spf13/pflag)
-BuildRequires: golang(gopkg.in/yaml.v2)
-# tests
-BuildRequires:
golang(github.com/stretchr/testify/assert)
-BuildRequires:
golang(github.com/stretchr/testify/require)
-
-%description devel
-%{summary}
-
-This package contains library source intended for
-building other packages which use import path with
-%{goipath} prefix.
+%{common_description}
+
+%gopkg
%prep
-%forgesetup
+%goprep
%install
-rm -rf remote
-# source codes for building projects
-%goinstall
+%gopkginstall
+%if %{with check}
%check
-#constant 765432101234567 overflows int
-%ifarch %{ix86} || %{arm}
-%gochecks -d .
+%if %{with bootstrap}
+%gocheck -d remote
%else
-%gochecks
+%gocheck
+%endif
%endif
-#define license tag if not already defined
-%{!?_licensedir:%global license %doc}
-
-%files devel -f devel.file-list
-%license LICENSE
-%doc README.md
+%gopkgfiles
%changelog
+* Thu Apr 25 23:21:08 CEST 2019 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 1.4.0-1
+- Release 1.4.0
+
* Tue Apr 09 2019 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 1.3.2-1
- Update to latest version
diff --git a/sources b/sources
index 8f51e6c..b1f4d9b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (viper-1.3.2.tar.gz) =
7e70ac39d36ca9917984388977fcb95488b2b977a633c1adaa29ff342b1b5a1a7bb21b23e75e4ccbb624143712e6fa4028a47800ed5879d27355fbd61f9b8b1b
+SHA512 (viper-1.4.0.tar.gz) =
59d1ac2d84c4e72687df631fcdad723a5ad96e362a851a56fcf2f2dc57b5a9ac03f01f47fd24f5d3b027ffbd011b3981ce3abc21f3b98fcbe04c7f34752d4b01