## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 11; 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.3 %bcond_without check %global debug_package %{nil} # https://github.com/mvdan/editorconfig %global goipath mvdan.cc/editorconfig %global forgeurl https://github.com/mvdan/editorconfig Version: 0.2.0 %gometa %global common_description %{expand: A small package to parse and use EditorConfig files. Currently passes all of the official test cases. Note that an official library exists for Go. This alternative implementation started with a different design: - Specialised INI parser, for full compatibility with the spec - Ability to cache parsing files and compiling pattern matches - Storing and querying all properties equally - Minimising pointers and maps to store data} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: EditorConfig support in Go # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} %if %{with check} BuildRequires: cmake BuildRequires: gcc-c++ %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check # cannot use %%gocheck as the test shells out to cmake which gets confused by # the golang LDFLAGS it passes in go test %{gotestflags} %endif %gopkgfiles %changelog ## START: Generated by rpmautospec * Thu Jul 18 2024 Fedora Release Engineering - 0.2.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Jun 17 2024 Robert-André Mauchin - 0.2.0-10 - Fix FTBFS * Wed Jan 24 2024 Fedora Release Engineering - 0.2.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 0.2.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 0.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 0.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun Apr 04 2021 Davide Cavalca - 0.2.0-1 - Initial package ## END: Generated by rpmautospec