diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-17 06:41:24 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-17 06:41:24 +0000 |
commit | e0a6e2e37e7a00435a6ffc6e176924a9477e3e45 (patch) | |
tree | 1630cebfa67734fd42636d3c0046e20e9ce1588f | |
parent | f8765e20b111d057d1d5cd0b191c1bd15655c1c0 (diff) |
automatic import of cramopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | cram.spec | 35 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 37 insertions, 0 deletions
@@ -0,0 +1 @@ +/cram-0.7.tar.gz diff --git a/cram.spec b/cram.spec new file mode 100644 index 0000000..0c40a2b --- /dev/null +++ b/cram.spec @@ -0,0 +1,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 @@ -0,0 +1 @@ +2ea37ada5190526b9bcaac5e4099221c cram-0.7.tar.gz |