commit ba91bca4f04a7bb7ce41a868d6c472ebe6604644 Author: Sergey Cherevko Date: Mon Apr 22 13:46:56 2024 +0300 import golang-mvdan-gofumpt-0.5.0-4.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..91b4703 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/gofumpt-0.5.0.tar.gz diff --git a/.golang-mvdan-gofumpt.metadata b/.golang-mvdan-gofumpt.metadata new file mode 100644 index 0000000..f590d2f --- /dev/null +++ b/.golang-mvdan-gofumpt.metadata @@ -0,0 +1 @@ +942ec7a6b660159a754e049c0cabdeddd568a88a SOURCES/gofumpt-0.5.0.tar.gz diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..3f87896 --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# golang-mvdan-gofumpt + +The golang-mvdan-gofumpt package diff --git a/SOURCES/changelog b/SOURCES/changelog new file mode 100644 index 0000000..38b71bc --- /dev/null +++ b/SOURCES/changelog @@ -0,0 +1,14 @@ +* Thu Jan 20 2022 Fedora Release Engineering - 0.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 0.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 0.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jan 13 22:10:18 CET 2021 Robert-André Mauchin - 0.1.0-1 +- Update to 0.1.0 + +* Fri Sep 18 03:29:15 CEST 2020 Robert-André Mauchin - 0-0.1.20200918gitab5a819 +- Initial package diff --git a/SPECS/golang-mvdan-gofumpt.spec b/SPECS/golang-mvdan-gofumpt.spec new file mode 100644 index 0000000..4c93796 --- /dev/null +++ b/SPECS/golang-mvdan-gofumpt.spec @@ -0,0 +1,105 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 4; + 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.10.0 +%bcond_without check + +# https://github.com/mvdan/gofumpt +%global goipath mvdan.cc/gofumpt +%global forgeurl https://github.com/mvdan/gofumpt +Version: 0.5.0 + +%gometa -f + + +%global common_description %{expand: +A stricter gofmt.} + +%global golicenses LICENSE LICENSE.google +%global godocs CHANGELOG.md README.md + +Name: golang-mvdan-gofumpt +Release: %autorelease +Summary: A stricter gofmt + +License: BSD-3-Clause +URL: %{gourl} +Source: %{gosource} + +%description %{common_description} + +%gopkg + +%prep +%goprep +%autopatch -p1 + +%generate_buildrequires +%go_generate_buildrequires + +%build +%gobuild -o %{gobuilddir}/bin/gofumpt %{goipath} + +%install +%gopkginstall +install -m 0755 -vd %{buildroot}%{_bindir} +install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ + +%if %{with check} +# FAIL: testdata/script/diagnose.txtar:9 +rm -rf testdata/script/diagnose.txtar +%check +%gocheck +%endif + +%files +%license LICENSE LICENSE.google +%doc CHANGELOG.md README.md +%{_bindir}/gofumpt + +%gopkgfiles + +%changelog +* Mon Apr 22 2024 Sergey Cherevko 0.5.0-4 +- Rebuilt for MSVSphere 9.4 + +* Wed Dec 13 2023 Mikel Olasagasti Uranga +- Update to 0.5.0 - Closes rhbz#2130893 + +* Thu Jul 20 2023 Fedora Release Engineering - 0.3.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jan 19 2023 Fedora Release Engineering - 0.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Mon Aug 29 2022 Robert-André Mauchin - 0.3.1-1 +- Update to 0.3.1 - Close: rhbz#2066454 + +* Thu Jul 21 2022 Fedora Release Engineering - 0.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Feb 24 2022 Robert-André Mauchin - 0.3.0-1 +- Update to 0.3.0 (fix FTBFS) Close: rhbz#1963580 Close: rhbz#2045652 + +* Thu Jan 20 2022 Fedora Release Engineering - 0.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 0.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 0.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jan 13 22:10:18 CET 2021 Robert-André Mauchin - 0.1.0-1 +- Update to 0.1.0 + +* Fri Sep 18 03:29:15 CEST 2020 Robert-André Mauchin - 0-0.1.20200918gitab5a819 +- Initial package +