From 610325112e93e35582ad0e6e7a64ff40b14eaf1e Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Aug 06 2020 20:59:08 +0000 Subject: Update to 2.2.0 Signed-off-by: Robert-André Mauchin --- diff --git a/.gitignore b/.gitignore index ec8cd5a..702f0eb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /xurls-2.0.0.tar.gz /xurls-2.1.0.tar.gz +/xurls-2.2.0.tar.gz diff --git a/golang-mvdan-xurls.spec b/golang-mvdan-xurls.spec index 47ab8ed..425c8b0 100644 --- a/golang-mvdan-xurls.spec +++ b/golang-mvdan-xurls.spec @@ -4,7 +4,7 @@ # https://github.com/mvdan/xurls %global goipath mvdan.cc/xurls %global forgeurl https://github.com/mvdan/xurls -Version: 2.1.0 +Version: 2.2.0 %gometa @@ -17,7 +17,7 @@ Extract urls from text using regular expressions. Requires Go 1.10.3 or later.} %global godocs README.md Name: %{goname} -Release: 2%{?dist} +Release: 1%{?dist} Summary: Extract urls from text # Upstream license specification: BSD-3-Clause @@ -25,6 +25,11 @@ License: BSD URL: %{gourl} Source0: %{gosource} +%if %{with check} +# Tests +BuildRequires: golang(github.com/rogpeppe/go-internal/testscript) +%endif + %description %{common_description} @@ -45,7 +50,7 @@ install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check -%gocheck +%gocheck -d cmd/xurls %endif %files @@ -56,6 +61,9 @@ install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %gopkgfiles %changelog +* Thu Aug 06 22:43:35 CEST 2020 Robert-André Mauchin - 2.2.0-1 +- Update to 2.2.0 + * Mon Jul 27 2020 Fedora Release Engineering - 2.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 8cdf318..0189ea4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xurls-2.1.0.tar.gz) = 867bb16309010d8035050f580b1e4d43b89e5a9bd7ee6311472225af3380e4515f49232469f7d6fb981392ea85d75d27f34e794f90566378f2a4433b2327515f +SHA512 (xurls-2.2.0.tar.gz) = a3b6787b30f1dabe9a7690712f5e41121eea9f2b06a55dc2b27c9b2eed02685f03b9effcb2c2774a1086d44f4ae7a9c807d2c284782374f49c002e137f004d96