|
|
4400a1a |
# Generated by go2rpm
|
|
|
4400a1a |
%bcond_without check
|
|
|
4400a1a |
|
|
|
4400a1a |
# https://github.com/sergi/go-diff
|
|
|
4400a1a |
%global goipath github.com/sergi/go-diff
|
|
|
55e0124 |
Version: 1.1.0
|
|
|
4400a1a |
|
|
|
4400a1a |
%gometa
|
|
|
4400a1a |
|
|
|
d531622 |
# Remove in F33:
|
|
|
d531622 |
%global godevelheader %{expand:
|
|
|
d531622 |
Obsoletes: golang-github-sergi-go-diff-devel < 1.0.0-2
|
|
|
d531622 |
}
|
|
|
d531622 |
|
|
|
4400a1a |
%global common_description %{expand:
|
|
|
4400a1a |
Go-diff offers algorithms to perform operations required for synchronizing plain
|
|
|
4400a1a |
text:
|
|
|
4400a1a |
- Compare two texts and return their differences.
|
|
|
4400a1a |
- Perform fuzzy matching of text.
|
|
|
4400a1a |
- Apply patches onto text.}
|
|
|
4400a1a |
|
|
|
4400a1a |
%global golicenses APACHE-LICENSE-2.0 LICENSE
|
|
|
4400a1a |
%global godocs AUTHORS CONTRIBUTORS README.md
|
|
|
4400a1a |
|
|
|
4400a1a |
Name: %{goname}
|
|
|
64f1423 |
Release: 3%{?dist}
|
|
|
4400a1a |
Summary: Diff, match and patch text in Go
|
|
|
4400a1a |
|
|
|
4400a1a |
# Upstream license specification: Apache-2.0 and MIT
|
|
|
4400a1a |
License: ASL 2.0 and MIT
|
|
|
4400a1a |
URL: %{gourl}
|
|
|
4400a1a |
Source0: %{gosource}
|
|
|
92d9a43 |
# Go 1.15: https://github.com/sergi/go-diff/issues/111
|
|
|
92d9a43 |
Patch0: 0001-Convert-int-to-string-using-rune.patch
|
|
|
4400a1a |
|
|
|
4400a1a |
%if %{with check}
|
|
|
4400a1a |
# Tests
|
|
|
4400a1a |
BuildRequires: golang(github.com/stretchr/testify/assert)
|
|
|
4400a1a |
%endif
|
|
|
4400a1a |
|
|
|
4400a1a |
%description
|
|
|
4400a1a |
%{common_description}
|
|
|
4400a1a |
|
|
|
4400a1a |
%gopkg
|
|
|
4400a1a |
|
|
|
4400a1a |
%prep
|
|
|
4400a1a |
%goprep
|
|
|
92d9a43 |
%patch0 -p1
|
|
|
4400a1a |
|
|
|
4400a1a |
%install
|
|
|
4400a1a |
%gopkginstall
|
|
|
4400a1a |
|
|
|
4400a1a |
%if %{with check}
|
|
|
4400a1a |
%check
|
|
|
4400a1a |
%gocheck
|
|
|
4400a1a |
%endif
|
|
|
4400a1a |
|
|
|
4400a1a |
%gopkgfiles
|
|
|
4400a1a |
|
|
|
4400a1a |
%changelog
|
|
|
64f1423 |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
|
|
|
64f1423 |
- Second attempt - Rebuilt for
|
|
|
64f1423 |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
64f1423 |
|
|
|
9f8e709 |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
|
|
|
9f8e709 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
9f8e709 |
|
|
|
55e0124 |
* Sun Feb 16 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.0-1
|
|
|
55e0124 |
- Update to latest version
|
|
|
55e0124 |
|
|
|
e47a508 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-5
|
|
|
e47a508 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
e47a508 |
|
|
|
671198d |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-4
|
|
|
671198d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
671198d |
|
|
|
d531622 |
* Fri Jul 05 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.0-3
|
|
|
d531622 |
- Add Obsoletes for old name
|
|
|
d531622 |
|
|
|
4400a1a |
* Sat Apr 27 21:33:47 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.0.0-2
|
|
|
4400a1a |
- Update to new macros
|
|
|
4400a1a |
|
|
|
4400a1a |
* Wed Mar 06 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.0.0-1
|
|
|
4400a1a |
- Release 1.0.0
|
|
|
4400a1a |
|
|
|
4400a1a |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.6.gitda64554
|
|
|
4400a1a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
4400a1a |
|
|
|
4400a1a |
* Sun Nov 4 2018 mosquito <sensor.wen@gmail.com> - 0-0.5.20181104gitda64554
|
|
|
4400a1a |
- Update to da64554
|
|
|
4400a1a |
|
|
|
4400a1a |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.4.gitfeef008
|
|
|
4400a1a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
4400a1a |
|
|
|
4400a1a |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.3.gitfeef008
|
|
|
4400a1a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
4400a1a |
|
|
|
4400a1a |
* Fri Aug 11 2017 mosquito <sensor.wen@gmail.com> - 0-0.2.gitfeef008
|
|
|
4400a1a |
- Add golang(%%{import_path}) provide
|
|
|
4400a1a |
|
|
|
4400a1a |
* Fri Aug 11 2017 mosquito <sensor.wen@gmail.com> - 0-0.1.gitfeef008
|
|
|
4400a1a |
- Initial package
|