From f0d90fedc52a1563485a69fc8b9708f35227a74d Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Fri, 19 Apr 2024 16:59:02 +0300 Subject: [PATCH] import golang-mvdan-xurls-2.2.0-10.el9 --- .gitignore | 1 + .golang-mvdan-xurls.metadata | 1 + SOURCES/README.md | 3 + SPECS/golang-mvdan-xurls.spec | 112 ++++++++++++++++++++++++++++++++++ 4 files changed, 117 insertions(+) create mode 100644 .gitignore create mode 100644 .golang-mvdan-xurls.metadata create mode 100644 SOURCES/README.md create mode 100644 SPECS/golang-mvdan-xurls.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dbd48c3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/xurls-2.2.0.tar.gz diff --git a/.golang-mvdan-xurls.metadata b/.golang-mvdan-xurls.metadata new file mode 100644 index 0000000..e355fac --- /dev/null +++ b/.golang-mvdan-xurls.metadata @@ -0,0 +1 @@ +61f43617f3a9d829d7cd3d3a00c97dbc5c22aac1 SOURCES/xurls-2.2.0.tar.gz diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..b756495 --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# golang-mvdan-xurls + +The golang-mvdan-xurls package \ No newline at end of file diff --git a/SPECS/golang-mvdan-xurls.spec b/SPECS/golang-mvdan-xurls.spec new file mode 100644 index 0000000..9afb3de --- /dev/null +++ b/SPECS/golang-mvdan-xurls.spec @@ -0,0 +1,112 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/mvdan/xurls +%global goipath mvdan.cc/xurls +%global forgeurl https://github.com/mvdan/xurls +Version: 2.2.0 + +%gometa + +%global goaltipaths github.com/mvdan/xurls mvdan.cc/xurls/v2 + +%global common_description %{expand: +Extract urls from text using regular expressions. Requires Go 1.10.3 or later.} + +%global golicenses LICENSE +%global godocs README.md + +Name: %{goname} +Release: 10%{?dist} +Summary: Extract urls from text + +# Upstream license specification: BSD-3-Clause +License: BSD +URL: %{gourl} +Source0: %{gosource} + +%if %{with check} +# Tests +BuildRequires: golang(github.com/rogpeppe/go-internal/testscript) +%endif + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%build +for cmd in cmd/* ; do + %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd +done + +%install +%gopkginstall +install -m 0755 -vd %{buildroot}%{_bindir} +install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ + +%if %{with check} +%check +%gocheck -d cmd/xurls +%endif + +%files +%license LICENSE +%doc README.md +%{_bindir}/* + +%gopkgfiles + +%changelog +* Fri Apr 19 2024 Sergey Cherevko - 2.2.0-10 +- Rebuilt for MSVSphere 9.4 + +* Thu Jul 20 2023 Fedora Release Engineering - 2.2.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jan 19 2023 Fedora Release Engineering - 2.2.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Jul 21 2022 Fedora Release Engineering - 2.2.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Jul 19 2022 Maxwell G - 2.2.0-7 +- Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in + golang + +* Sat Jun 18 2022 Robert-André Mauchin - 2.2.0-6 +- Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, + CVE-2022-29526, CVE-2022-30629 + +* Thu Jan 20 2022 Fedora Release Engineering - 2.2.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 2.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 2.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Aug 07 21:26:12 CEST 2020 Robert-André Mauchin - 2.2.0-2 +- Add alternate import path + +* 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 + +* Sun Feb 16 2020 Elliott Sales de Andrade - 2.1.0-1 +- Update to latest version + +* Wed Jan 29 2020 Fedora Release Engineering - 2.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 2.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat May 18 21:32:37 CEST 2019 Robert-André Mauchin - 2.0.0-1 +- Initial package