Name: cram Version: 0.7 Release: 3 ExclusiveArch: any Summary: 'functional testing framework for command line applications' License: GPL2 URL: https://bitheap.org/cram/ Source0: cram-0.7.tar.gz::https://bitheap.org/cram/cram-0.7.tar.gz BuildRequires: python %define __brp_mangle_shebangs %{nil} %define debug_package %{nil} %define srcdir %{_builddir} %define pkgname cram %prep %description 'functional testing framework for command line applications' %install export pkgdir="%{buildroot}" export srcdir="%{srcdir}" export pkgname="%{pkgname}" export _pkgname="%{_pkgname}" export _pkgfolder="%{_pkgfolder}" export pkgver="%{version}" cd "%{_builddir}" cd "$pkgname-$pkgver"; python setup.py install --root="$pkgdir/" --optimize=1 %files /* %exclude %dir /usr/bin %exclude %dir /usr/lib