From f3fa41aae552a4230c8f0c434eb4ecead0efd2a5 Mon Sep 17 00:00:00 2001 From: Ed Marshall Date: Oct 08 2017 05:53:39 +0000 Subject: Update to latest upstream release (#1489421). --- diff --git a/.gitignore b/.gitignore index 3c84488..a18096e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /govalidator-4918b99.tar.gz +/govalidator-7.tar.gz diff --git a/golang-github-asaskevich-govalidator.spec b/golang-github-asaskevich-govalidator.spec index d8869d4..00ece9c 100644 --- a/golang-github-asaskevich-govalidator.spec +++ b/golang-github-asaskevich-govalidator.spec @@ -37,18 +37,16 @@ # https://github.com/asaskevich/govalidator %global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} %global import_path %{provider_prefix} -%global commit 4918b99a7cb949bb295f3c7bbaf24b577d806e35 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: golang-%{provider}-%{project}-%{repo} -Version: 6 -Release: 3%{?dist} +Version: 7 +Release: 1%{?dist} Summary: Validators and sanitizers for strings, numerics, slices and structs # Detected licences # - MIT/X11 (BSD like) at 'LICENSE' License: MIT URL: https://%{provider_prefix} -Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz +Source0: https://%{provider_prefix}/archive/v%{version}/%{repo}-%{version}.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 aarch64 %{arm}} @@ -102,7 +100,7 @@ providing packages with %{import_path} prefix. %endif %prep -%setup -q -n %{repo}-%{commit} +%setup -q -n %{repo}-%{version} %build %install @@ -180,6 +178,9 @@ export GOPATH=%{buildroot}/%{gopath}:%{gopath} %endif %changelog +* Sat Oct 07 2017 Ed Marshall - 7-1 +- Update to latest upstream release. + * Wed Aug 02 2017 Fedora Release Engineering - 6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild diff --git a/sources b/sources index 4ac9586..67d36e0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (govalidator-4918b99.tar.gz) = ee078d7c83cfcfb594230d3f10de3c2a22f6d7578ca91451efba6c35661cb6bec021202d7c4f8cc623708a560d6a940daaec480ef02f5c636ef3203dcbc97171 +SHA512 (govalidator-7.tar.gz) = 065f2409385a60e69ae62a3de19acb3b824d964eb6f4f1fb0cece6f8b3debbbdd412b72eb3050dbf9f7b132a1fef3021083ab0c2a44980dc3016cf191f5e53b1