safelease/safelease.spec

42 lines
1018 B
RPMSpec
Raw Normal View History

2021-07-07 15:41:47 +08:00
Name: safelease
Version: 1.0.1
Release: 2
Summary: Legacy locking utility for VDSM
License: GPLv2+
URL: https://www.ovirt.org/develop/developer-guide/vdsm/safelease.html
#from http://resources.ovirt.org/pub/src/%{name}/%{name}-%{version}.tar.gz
Source0: %{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: autoconf
BuildRequires: automake
2021-05-24 10:43:33 +08:00
%description
Safelease is a legacy cluster lock utility used by VDSM. It is based on
the algorithm presented in the article "Light-Weight Leases for
Storage-Centric Coordination" by G Chockler and D Malkhi.
%prep
%autosetup -n %{name}-%{version}
%build
./autogen.sh --system
2021-07-07 15:41:47 +08:00
2021-05-24 10:43:33 +08:00
%configure
make %{?_smp_mflags}
%install
%make_install
%files
%doc AUTHORS README
%{!?_licensedir:%global license %%doc}
%license COPYING
%dir %{_libexecdir}/%{name}
%{_libexecdir}/%{name}/%{name}
%changelog
2021-07-07 15:41:47 +08:00
* Wed Jul 7 2021 kymayl<mayilin@kylinos.cn> - 1.0.1-2
- upgrade package
2021-05-24 10:43:33 +08:00
* Sun May 23 2021 huanghaitao <huanghaitao8@huawei.com> - 1.0-9
2021-07-07 15:41:47 +08:00
- package init