%{!?python_ver: %global python_ver %(%{__python} -c "import sys ; print sys.version[:3]")} %global libname safelease Name: python-%{libname} Version: 1.0 Release: 2%{?dist} Summary: Safelease is a legacy locking utility Group: System Environment/Libraries License: GPLv2+ URL: http://bronhaim.fedorapeople.org Source0: http://bronhaim.fedorapeople.org/safelease-%{version}.tar.gz %description Safelease is a legacy locking utility for VDSM %prep %setup -q -n %{libname}-%{version} %build make %{?_smp_mflags} %install make install DESTDIR=%{buildroot}/%{_libexecdir}/safelease %files %doc AUTHORS COPYING readme.md %{_libexecdir}/safelease/safelease %changelog * Mon Oct 20 2014 Yaniv Bronhaim - 1.0-2 - Adding URL to pypi and fix semantic issues for official fedora-review * Sun Aug 10 2014 Yoav Kleinberger - 1.0-1 - no changes