From 4400a1a2e4524e9ff014633d1fef91d787f12703 Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Jun 25 2019 13:37:43 +0000 Subject: Initial import Signed-off-by: Robert-André Mauchin --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..977d438 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/go-diff-1.0.0.tar.gz diff --git a/golang-github-sergi-diff.spec b/golang-github-sergi-diff.spec new file mode 100644 index 0000000..e3474b8 --- /dev/null +++ b/golang-github-sergi-diff.spec @@ -0,0 +1,75 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/sergi/go-diff +%global goipath github.com/sergi/go-diff +Version: 1.0.0 + +%gometa + +%global common_description %{expand: +Go-diff offers algorithms to perform operations required for synchronizing plain +text: + - Compare two texts and return their differences. + - Perform fuzzy matching of text. + - Apply patches onto text.} + +%global golicenses APACHE-LICENSE-2.0 LICENSE +%global godocs AUTHORS CONTRIBUTORS README.md + +Name: %{goname} +Release: 2%{?dist} +Summary: Diff, match and patch text in Go + +# Upstream license specification: Apache-2.0 and MIT +License: ASL 2.0 and MIT +URL: %{gourl} +Source0: %{gosource} + +%if %{with check} +# Tests +BuildRequires: golang(github.com/stretchr/testify/assert) +%endif + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Sat Apr 27 21:33:47 CEST 2019 Robert-André Mauchin - 1.0.0-2 +- Update to new macros + +* Wed Mar 06 2019 Robert-André Mauchin - 1.0.0-1 +- Release 1.0.0 + +* Fri Feb 01 2019 Fedora Release Engineering - 0-0.6.gitda64554 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sun Nov 4 2018 mosquito - 0-0.5.20181104gitda64554 +- Update to da64554 + +* Fri Jul 13 2018 Fedora Release Engineering - 0-0.4.gitfeef008 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 0-0.3.gitfeef008 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Aug 11 2017 mosquito - 0-0.2.gitfeef008 +- Add golang(%%{import_path}) provide + +* Fri Aug 11 2017 mosquito - 0-0.1.gitfeef008 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..ff17abf --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (go-diff-1.0.0.tar.gz) = aed012908610c75dbf7141ee5652d6b1b21ebf6e6a72ed88cbe32213ad8ca6ccdbfe1d42815eb8cbd98276acf75306aef21b729237746d30e24ac6dbc36552b0