From 60c5e015f8d98b2efe072b5eb1cec1cb1b2ea383 Mon Sep 17 00:00:00 2001 From: Jan Chaloupka Date: Jan 12 2017 11:33:25 +0000 Subject: Bump to upstream 6e4869b434bd001f6983749881c7ead3545887d8 - resolves: #1412590 --- diff --git a/.gitignore b/.gitignore index b0dbe4c..a3ae081 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/ini-193d1ec.tar.gz +/ini-6e4869b.tar.gz diff --git a/golang-github-go-ini-ini.spec b/golang-github-go-ini-ini.spec index 0fa5339..091bd21 100644 --- a/golang-github-go-ini-ini.spec +++ b/golang-github-go-ini-ini.spec @@ -1,16 +1,27 @@ -%if 0%{?fedora} || 0%{?rhel} == 6 +# If any of the following macros should be set otherwise, +# you can wrap any of them with the following conditions: +# - %%if 0%%{centos} == 7 +# - %%if 0%%{?rhel} == 7 +# - %%if 0%%{?fedora} == 23 +# Or just test for particular distribution: +# - %%if 0%%{centos} +# - %%if 0%%{?rhel} +# - %%if 0%%{?fedora} +# +# Be aware, on centos, both %%rhel and %%centos are set. If you want to test +# rhel specific macros, you can use %%if 0%%{?rhel} && 0%%{?centos} == 0 condition. +# (Don't forget to replace double percentage symbol with single one in order to apply a condition) + +# Generate devel rpm %global with_devel 1 +# Build project from bundled dependencies %global with_bundled 0 +# Build with debug info rpm %global with_debug 0 +# Run tests in check section %global with_check 1 +# Generate unit-test rpm %global with_unit_test 1 -%else -%global with_devel 0 -%global with_bundled 0 -%global with_debug 0 -%global with_check 0 -%global with_unit_test 0 -%endif %if 0%{?with_debug} %global _dwz_low_mem_die_limit 0 @@ -25,15 +36,15 @@ # https://github.com/go-ini/ini %global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} %global import_path %{provider_prefix} -%global commit 193d1ecb466bf97aae8b454a5cfc192941c64809 +%global commit 6e4869b434bd001f6983749881c7ead3545887d8 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global v1_import_path gopkg.in/v1/ini %global v1_import_path_sec gopkg.in/ini.v1 Name: golang-%{provider}-%{project}-%{repo} -Version: 1.9.0 -Release: 0.2.git%{shortcommit}%{?dist} +Version: 1.21.1 +Release: 0.1.git%{shortcommit}%{?dist} Summary: Package ini provides INI file read and write functionality in Go # Detected licences # - *No copyright* UNKNOWN at 'LICENSE' @@ -42,7 +53,7 @@ URL: https://%{provider_prefix} Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz # e.g. el6 has ppc64 arch without gcc-go, so EA tag is required -ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}} +ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}} # If go_compiler is not set to 1, there is no virtual provide. Use golang instead. BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} @@ -179,6 +190,10 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath} %endif %changelog +* Thu Jan 12 2017 Jan Chaloupka - 1.21.1-0.1.git6e4869b +- Bump to upstream 6e4869b434bd001f6983749881c7ead3545887d8 + resolves: #1412590 + * Thu Jul 21 2016 Fedora Release Engineering - 1.9.0-0.2.git193d1ec - https://fedoraproject.org/wiki/Changes/golang1.7 diff --git a/sources b/sources index fd3ba91..001e39c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9d4455801913247441153da9c69cada5 ini-193d1ec.tar.gz +SHA512 (ini-6e4869b.tar.gz) = 100ad4b3daea260077bfde4d9a0a2c103f967c771c4f87dc04046a390c3c61fd0edb0e17f04e0cef7a5aa1da8f122a33d541268cefc65ab4f585f7e759066ca2