Blob Blame History Raw
# Generated by go2rpm
%bcond_without check

# 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:        3%{?dist}
Summary:        Thread-safe file locking library in Go

# Upstream license specification: BSD-3-Clause
License:        BSD
URL:            %{gourl}
Source0:        %{gosource}

# Test dependencies
BuildRequires:  golang(gopkg.in/check.v1)

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

* Sun Jun 27 2021 Paul Howarth <paul@city-fan.org> - 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 <releng@fedoraproject.org> - 0.8.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

* Thu Aug 27 2020 Paul Howarth <paul@city-fan.org> - 0.8.0-1
- Update to 0.8.0
  - Add AIX support with fcntl (GH#40)

* Sun Aug 23 2020 Paul Howarth <paul@city-fan.org> - 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 <releng@fedoraproject.org> - 0.7.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Fri Jun 14 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.7.1-3
- Add README

* Sun Jun  9 2019 Paul Howarth <paul@city-fan.org> - 0.7.1-2
- Update to approved go packaging guidelines

* Mon Feb 25 2019 Paul Howarth <paul@city-fan.org> - 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 <releng@fedoraproject.org> - 0.7.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

* Thu Jan 17 2019 Paul Howarth <paul@city-fan.org> - 0.7.0-1
- Initial RPM version