commit 26d7aa678476ceff07b1dae9cd47597851364254 Author: Sergey Cherevko Date: Fri Apr 19 17:02:04 2024 +0300 import golang-github-sergi-diff-1.3.1-1.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..89eee68 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/go-diff-1.3.1.tar.gz diff --git a/.golang-github-sergi-diff.metadata b/.golang-github-sergi-diff.metadata new file mode 100644 index 0000000..d296e19 --- /dev/null +++ b/.golang-github-sergi-diff.metadata @@ -0,0 +1 @@ +3fe762d35e5c2c2ac0dfa667fd4a5244af6b5edf SOURCES/go-diff-1.3.1.tar.gz diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..a76b93e --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# golang-github-sergi-diff + +The golang-github-sergi-diff package \ No newline at end of file diff --git a/SOURCES/changelog b/SOURCES/changelog new file mode 100644 index 0000000..f7c84fa --- /dev/null +++ b/SOURCES/changelog @@ -0,0 +1,57 @@ +* Thu Jan 19 2023 Fedora Release Engineering - 1.1.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Jul 21 2022 Fedora Release Engineering - 1.1.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jan 20 2022 Fedora Release Engineering - 1.1.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 1.1.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 1.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Aug 01 2020 Fedora Release Engineering - 1.1.0-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 1.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sun Feb 16 2020 Elliott Sales de Andrade - 1.1.0-1 +- Update to latest version + +* Wed Jan 29 2020 Fedora Release Engineering - 1.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 1.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Jul 05 2019 Elliott Sales de Andrade - 1.0.0-3 +- Add Obsoletes for old name + +* 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/SPECS/golang-github-sergi-diff.spec b/SPECS/golang-github-sergi-diff.spec new file mode 100644 index 0000000..707ec7c --- /dev/null +++ b/SPECS/golang-github-sergi-diff.spec @@ -0,0 +1,117 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# Generated by go2rpm 1.9.0 +%bcond_without check +%global debug_package %{nil} + +# https://github.com/sergi/go-diff +%global goipath github.com/sergi/go-diff +Version: 1.3.1 + +%gometa -f + +%global common_description %{expand: +Diff, match and patch text in Go.} + +%global golicenses APACHE-LICENSE-2.0 LICENSE +%global godocs AUTHORS CONTRIBUTORS README.md + +Name: %{goname} +Release: %autorelease +Summary: Diff, match and patch text in Go + +License: Apache-2.0 AND MIT +URL: %{gourl} +Source: %{gosource} + +%description %{common_description} + +%gopkg + +%prep +%goprep +%autopatch -p1 + +%generate_buildrequires +%go_generate_buildrequires + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Thu Apr 18 2024 Sergey Cherevko - 1.3.1-1 +- Rebuilt for MSVSphere 9.4 + +* Thu Jan 19 2023 Fedora Release Engineering - 1.1.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Jul 21 2022 Fedora Release Engineering - 1.1.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jan 20 2022 Fedora Release Engineering - 1.1.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 1.1.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 1.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Aug 01 2020 Fedora Release Engineering - 1.1.0-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 1.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sun Feb 16 2020 Elliott Sales de Andrade - 1.1.0-1 +- Update to latest version + +* Wed Jan 29 2020 Fedora Release Engineering - 1.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 1.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Jul 05 2019 Elliott Sales de Andrade - 1.0.0-3 +- Add Obsoletes for old name + +* 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 +