## START: Set by rpmautospec ## (rpmautospec version 0.5.1) ## 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.8.1 %bcond_without check %global debug_package %{nil} # https://github.com/gofrs/flock %global goipath github.com/gofrs/flock Version: 0.8.1 %gometa %global common_description %{expand: Flock implements a thread-safe sync.Locker interface for file locking. It also includes a non-blocking TryLock() function to allow locking without blocking execution.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Thread-safe file locking library in Go License: BSD-3-Clause URL: %{gourl} Source: %{gosource} BuildRequires: golang(gopkg.in/check.v1) %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog ## START: Generated by rpmautospec * Wed Jan 24 2024 Fedora Release Engineering - 0.8.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 0.8.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.8.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 0.8.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Sep 25 2022 Robert-André Mauchin - 0.8.1-7 - Add missing BR * Sun Sep 25 2022 Robert-André Mauchin - 0.8.1-6 - SPEC cleanup * Thu Jul 21 2022 Fedora Release Engineering - 0.8.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.8.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun Jun 27 2021 Paul Howarth - 0.8.1-1 - Update to 0.8.1 - Fix issue caused by calling F_SETLKW instead of F_SETLK (GH#52) * Tue Jan 26 2021 Fedora Release Engineering - 0.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Aug 27 2020 Paul Howarth - 0.8.0-1 - Update to 0.8.0 - Add AIX support with fcntl (GH#40) * Sun Aug 23 2020 Paul Howarth - 0.7.3-1 - Update to 0.7.3 - Release failed flock (GH#43) - Update CI to test against stable Go versions (GH#46) - Fix license text (GH#47) - Re-add BR: golang(gopkg.in/check.v1), needed for tests * Mon Jul 27 2020 Fedora Release Engineering - 0.7.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.7.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.7.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Jun 14 2019 Robert-André Mauchin - 0.7.1-3 - Add README * Sun Jun 9 2019 Paul Howarth - 0.7.1-2 - Update to approved go packaging guidelines * Mon Feb 25 2019 Paul Howarth - 0.7.1-1 - Update to 0.7.1 - Fix linting issues and add goreportcard badge (GH#35) * Fri Feb 01 2019 Fedora Release Engineering - 0.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jan 17 2019 Paul Howarth - 0.7.0-1 - Initial RPM version ## END: Generated by rpmautospec