|
Yaniv Bronhaim |
1de0baf |
Name: safelease
|
|
Yaniv Bronhaim |
1de0baf |
Version: 1.0
|
|
|
6947df6 |
Release: 13%{?dist}
|
|
Yaniv Bronhaim |
1de0baf |
Summary: Legacy locking utility for VDSM
|
|
Yaniv Bronhaim |
1de0baf |
|
|
Yaniv Bronhaim |
1de0baf |
Group: System Environment/Libraries
|
|
Yaniv Bronhaim |
1de0baf |
License: GPLv2+
|
|
Yaniv Bronhaim |
1de0baf |
URL: http://www.ovirt.org/Safelease
|
|
Yaniv Bronhaim |
1de0baf |
Source0: https://bronhaim.fedorapeople.org/%{name}-%{version}.tar.gz
|
|
Igor Gnatenko |
fbda817 |
BuildRequires: gcc
|
|
Yaniv Bronhaim |
1de0baf |
BuildRequires: autoconf
|
|
Yaniv Bronhaim |
1de0baf |
BuildRequires: automake
|
|
Yaniv Bronhaim |
1de0baf |
|
|
Yaniv Bronhaim |
8e2f63e |
##
|
|
Yaniv Bronhaim |
8e2f63e |
# The following requirements are necessary for VDSM to avoid
|
|
Yaniv Bronhaim |
8e2f63e |
# platform dependencies. Those are not required by safelease code and should
|
|
Yaniv Bronhaim |
8e2f63e |
# remove once vdsm will be able to provide those requirements otherwise.
|
|
Yaniv Bronhaim |
8e2f63e |
|
|
Yaniv Bronhaim |
8e2f63e |
# Numactl is not available on s390[x] and ARM
|
|
Yaniv Bronhaim |
8e2f63e |
%ifnarch s390 s390x %{arm}
|
|
Yaniv Bronhaim |
8e2f63e |
Requires: numactl
|
|
Yaniv Bronhaim |
8e2f63e |
%endif
|
|
Yaniv Bronhaim |
8e2f63e |
|
|
Yaniv Bronhaim |
8e2f63e |
%ifarch x86_64
|
|
|
112d7c7 |
Requires: python2-dmidecode
|
|
Yaniv Bronhaim |
8e2f63e |
Requires: dmidecode
|
|
Yaniv Bronhaim |
c789d66 |
Requires: virt-v2v
|
|
Yaniv Bronhaim |
8e2f63e |
%endif
|
|
Yaniv Bronhaim |
8e2f63e |
|
|
Yaniv Bronhaim |
8e2f63e |
## hack end.
|
|
Yaniv Bronhaim |
8e2f63e |
|
|
Yaniv Bronhaim |
1de0baf |
%description
|
|
Yaniv Bronhaim |
1de0baf |
Safelease is a legacy cluster lock utility used by VDSM. It is based on
|
|
Yaniv Bronhaim |
1de0baf |
the algorithm presented in the article "Light-Weight Leases for
|
|
Yaniv Bronhaim |
1de0baf |
Storage-Centric Coordination" by G Chockler and D Malkhi.
|
|
Yaniv Bronhaim |
1de0baf |
|
|
Yaniv Bronhaim |
1de0baf |
%prep
|
|
Yaniv Bronhaim |
1de0baf |
%autosetup -n %{name}-%{version}
|
|
Yaniv Bronhaim |
1de0baf |
|
|
Yaniv Bronhaim |
1de0baf |
%build
|
|
Yaniv Bronhaim |
8e2f63e |
./autogen.sh --system
|
|
Yaniv Bronhaim |
1de0baf |
|
|
Yaniv Bronhaim |
1de0baf |
%configure
|
|
Yaniv Bronhaim |
1de0baf |
make %{?_smp_mflags}
|
|
Yaniv Bronhaim |
1de0baf |
|
|
Yaniv Bronhaim |
1de0baf |
%install
|
|
Yaniv Bronhaim |
1de0baf |
%make_install
|
|
Yaniv Bronhaim |
1de0baf |
|
|
Yaniv Bronhaim |
1de0baf |
%files
|
|
Yaniv Bronhaim |
1de0baf |
%doc AUTHORS README
|
|
Yaniv Bronhaim |
1de0baf |
%{!?_licensedir:%global license %%doc}
|
|
Yaniv Bronhaim |
1de0baf |
%license COPYING
|
|
Yaniv Bronhaim |
1de0baf |
%dir %{_libexecdir}/%{name}
|
|
Yaniv Bronhaim |
1de0baf |
%{_libexecdir}/%{name}/%{name}
|
|
Yaniv Bronhaim |
1de0baf |
|
|
Yaniv Bronhaim |
1de0baf |
%changelog
|
|
|
6947df6 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-13
|
|
|
6947df6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
6947df6 |
|
|
|
112d7c7 |
* Sun Mar 18 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.0-12
|
|
|
112d7c7 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
112d7c7 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
112d7c7 |
|
|
|
d8be8f5 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-11
|
|
|
d8be8f5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
d8be8f5 |
|
|
|
505c55a |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-10
|
|
|
505c55a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
505c55a |
|
|
|
e79fbb3 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-9
|
|
|
e79fbb3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
e79fbb3 |
|
|
|
0682e15 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-8
|
|
|
0682e15 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
0682e15 |
|
|
Yaniv Bronhaim |
c789d66 |
* Tue Mar 22 2016 Yaniv Bronhaim <ybronhei@redhat.com> - 1.0-7
|
|
Yaniv Bronhaim |
c789d66 |
- Adding virt-v2v requirement - another hack for vdsm
|
|
|
02b5b51 |
|
|
Yaniv Bronhaim |
8e2f63e |
* Thu Dec 24 2015 Yaniv Bronhaim <ybronhei@redhat.com> - 1.0-6
|
|
Yaniv Bronhaim |
8e2f63e |
- Adding target for rpm and srpm to make file to ease build process
|
|
Yaniv Bronhaim |
8e2f63e |
|
|
Yaniv Bronhaim |
8e2f63e |
* Sun May 17 2015 Yaniv Bronhaim <ybronhei@redhat.com> - 1.0-5
|
|
Yaniv Bronhaim |
8e2f63e |
- Adding vdsm hack to require platform depended packages which vdsm needs
|
|
|
c421fbe |
|
|
Yaniv Bronhaim |
8e2f63e |
* Sun Apr 12 2015 Yaniv Bronhaim <ybronhei@redhat.com> - 1.0-4
|
|
Yaniv Bronhaim |
1de0baf |
- Adding %%license macro for COPYING
|
|
Yaniv Bronhaim |
1de0baf |
|
|
Yaniv Bronhaim |
1de0baf |
* Mon Dec 8 2014 Vitor de Lima <vdelima@redhat.com> - 1.0-3
|
|
Yaniv Bronhaim |
1de0baf |
- Use autotools to build the project
|
|
Yaniv Bronhaim |
1de0baf |
- Dropped unused python_ver global
|
|
Yaniv Bronhaim |
1de0baf |
- Replaced the %%libname macro with %%name
|
|
Yaniv Bronhaim |
1de0baf |
- Included the target directory /usr/lib/safelease in the RPM file list
|
|
Yaniv Bronhaim |
1de0baf |
- Included a description of the package
|
|
Yaniv Bronhaim |
1de0baf |
|
|
Yaniv Bronhaim |
1de0baf |
* Mon Oct 20 2014 Yaniv Bronhaim <ybronhei@redhat.com> - 1.0-2
|
|
Yaniv Bronhaim |
1de0baf |
- Adding URL to pypi and fix semantic issues for official fedora-review
|
|
Yaniv Bronhaim |
1de0baf |
|
|
Yaniv Bronhaim |
1de0baf |
* Sun Aug 10 2014 Yoav Kleinberger <ykleinbe@redhat.com> - 1.0-1
|
|
Yaniv Bronhaim |
1de0baf |
- no changes
|