blob: 0c40a2b3603beb18fe90c4a037575d64d27ab416 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
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
|