upgrade package

fix spec
This commit is contained in:
kymayl 2021-07-07 15:41:47 +08:00
parent 3b1e7311ac
commit 097b25460f
3 changed files with 17 additions and 35 deletions

BIN
safelease-1.0.1.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,17 +1,16 @@
Name: safelease
Version: 1.0
Release: 9
Summary: Legacy locking utility for VDSM
License: GPLv2+
URL: http://www.ovirt.org/Safelease
Source0: https://bronhaim.fedorapeople.org/%{name}-%{version}.tar.gz
BuildRequires: autoconf automake
%ifnarch s390 s390x %{arm}
Requires: numactl
%endif
%ifarch x86_64
Requires: python-dmidecode dmidecode virt-v2v
%endif
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
%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
@ -22,6 +21,7 @@ Storage-Centric Coordination" by G Chockler and D Malkhi.
%build
./autogen.sh --system
%configure
make %{?_smp_mflags}
@ -36,25 +36,7 @@ make %{?_smp_mflags}
%{_libexecdir}/%{name}/%{name}
%changelog
* Wed Jul 7 2021 kymayl<mayilin@kylinos.cn> - 1.0.1-2
- upgrade package
* Sun May 23 2021 huanghaitao <huanghaitao8@huawei.com> - 1.0-9
- package init
* Tue Mar 22 2016 Yaniv Bronhaim <ybronhei@redhat.com> - 1.0-8
- Adding virt-v2v requirement - another hack for vdsm
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Dec 24 2015 Yaniv Bronhaim <ybronhei@redhat.com> - 1.0-6
- Adding target for rpm and srpm to make file to ease build process
* Sun May 17 2015 Yaniv Bronhaim <ybronhei@redhat.com> - 1.0-5
- Adding vdsm hack to require platform depended packages which vdsm needs
* Sun Apr 12 2015 Yaniv Bronhaim <ybronhei@redhat.com> - 1.0-4
- Adding %%license macro for COPYING
* Mon Dec 8 2014 Vitor de Lima <vdelima@redhat.com> - 1.0-3
- Use autotools to build the project
- Dropped unused python_ver global
- Replaced the %%libname macro with %%name
- Included the target directory /usr/lib/safelease in the RPM file list
- Included a description of the package
* Mon Oct 20 2014 Yaniv Bronhaim <ybronhei@redhat.com> - 1.0-2
- Adding URL to pypi and fix semantic issues for official fedora-review
* Sun Aug 10 2014 Yoav Kleinberger <ykleinbe@redhat.com> - 1.0-1
- no changes
- package init