diff options
author | Michel Alexandre Salim <salimma@fedoraproject.org> | 2012-09-16 10:00:09 +0700 |
---|---|---|
committer | Michel Alexandre Salim <salimma@fedoraproject.org> | 2012-09-16 10:00:09 +0700 |
commit | c763deac383f1f216fcf452928748a7274f5f46d (patch) | |
tree | 7053d5678487dfd1c7fddb4f193bfc7e0dc8cc71 | |
parent | a15f680c1c66022adca5f5e1d4cc92bbe343abe2 (diff) | |
download | specs-c763deac383f1f216fcf452928748a7274f5f46d.tar.gz specs-c763deac383f1f216fcf452928748a7274f5f46d.tar.xz specs-c763deac383f1f216fcf452928748a7274f5f46d.zip |
Last two obnam prereqs reviewed
-rw-r--r-- | admin/cmdtest.spec | 59 | ||||
-rw-r--r-- | admin/python-larch.spec | 102 |
2 files changed, 0 insertions, 161 deletions
diff --git a/admin/cmdtest.spec b/admin/cmdtest.spec deleted file mode 100644 index a786267..0000000 --- a/admin/cmdtest.spec +++ /dev/null @@ -1,59 +0,0 @@ -Name: cmdtest -Version: 0.3 -Release: 2%{?dist} -Summary: Black-box testing for Unix command line tools - -# ask upstream to include license text -License: GPLv3+ -URL: http://liw.fi/%{name}/ -Source0: http://code.liw.fi/debian/pool/main/c/%{name}/%{name}_%{version}.orig.tar.gz - -BuildArch: noarch -BuildRequires: python-coverage-test-runner -BuildRequires: python-cliapp -BuildRequires: python-ttystatus -Requires: python-cliapp -Requires: python-ttystatus - -%description -cmdtest black box tests Unix command line tools. Roughly, it is given -a command line and input files, and the expected output, and it -verifies that the command line produces the expected output. If not, -it reports a problem, and shows the differences. - - -%prep -%setup -q - - -%build -%{__python} setup.py build - - -%install -%{__python} setup.py install -O1 --skip-build --root %{buildroot} - - -%check -# CoverageTestRunner trips up on build directory; -# since we've already done the install phase, remove it first -rm -rf build -%{__python} setup.py check - - -%files -%doc NEWS README -%{_mandir}/man1/cmdtest.1* -%{_bindir}/cmdtest -%{python_sitelib}/* - - -%changelog -* Mon Jun 25 2012 Michel Salim <salimma@fedoraproject.org> - 0.3-2 -- Remove deprecated %%{python_sitelib} declaration -- Delete build directory before doing coverage tests; the coverage - exclusion list does not include the built version of the excluded - modules - -* Sun Jun 3 2012 Michel Salim <salimma@fedoraproject.org> - 0.3-1 -- Initial package diff --git a/admin/python-larch.spec b/admin/python-larch.spec deleted file mode 100644 index 5a496b2..0000000 --- a/admin/python-larch.spec +++ /dev/null @@ -1,102 +0,0 @@ -%global pkgname larch - -Name: python-%{pkgname} -Version: 1.20120527 -Release: 2%{?dist} -Summary: Python B-tree library - -License: GPLv3+ -URL: http://liw.fi/%{pkgname}/ -Source0: http://code.liw.fi/debian/pool/main/p/%{name}/%{name}_%{version}.orig.tar.gz - -BuildArch: noarch -# build-time only -BuildRequires: cmdtest -BuildRequires: python-coverage-test-runner -BuildRequires: python-sphinx -# build- and run-time -BuildRequires: python-cliapp -BuildRequires: python-tracing -BuildRequires: python-ttystatus -Requires: python-cliapp -Requires: python-tracing -Requires: python-ttystatus - -%description -This is an implementation of particular kind of B-tree, based on -research by Ohad Rodeh. See "B-trees, Shadowing, and Clones" (copied -here with permission of author) for details on the data -structure. This is the same data structure that btrfs uses. Note that -my implementation is independent from the btrfs one, and might differ -from what the paper describes. - -The distinctive feature of this B-tree is that a node is never -modified (sort-of). Instead, all updates are done by -copy-on-write. Among other things, this makes it easy to clone a tree, -and modify only the clone, while other processes access the original -tree. This is utterly wonderful for my backup application, and that's -the reason I wrote larch in the first place. - -I have tried to keep the implementation generic and flexible, so that -you may use it in a variety of situations. For example, the tree -itself does not decide where its nodes are stored: you provide a class -that does that for it. I have two implementations of the NodeStore -class, one for in-memory and one for on-disk storage. - -The tree attempts to guarantee this: all modifications you make will -be safely stored in the node store when the larch.Forest.commit method -is called. After that, unless you actually modify the committed tree -yourself, it will be safe from further modifications. (You need to -take care to create a new tree for further modifications, though.) - - -%package doc -Summary: Documentation for %{pkgname} -Requires: %{name} = %{version}-%{release} - -%description doc -This package contains the documentation for %{pkgname}, a Python -framework for Unix command line programs. - - -%prep -%setup -q -n %{pkgname}-%{version} - - -%build -%{__python} setup.py build -# Build documentation -make - - -%install -%{__python} setup.py install -O1 --skip-build --root %{buildroot} -# manpage not installed automatically yet -mkdir -p %{buildroot}%{_mandir}/man1 -cp -p fsck-larch.1 %{buildroot}%{_mandir}/man1/ - - -%check -# CoverageTestRunner trips up on build directory; -# since we've already done the install phase, remove it first -rm -rf build -make check - - -%files -%doc COPYING NEWS README -%{_mandir}/man1/fsck-larch.1* -%{_bindir}/fsck-larch -%{python_sitelib}/* - -%files doc -%doc doc/_build/html/* - - -%changelog -* Tue Jun 19 2012 Michel Salim <salimma@fedoraproject.org> - 1.20120527-2 -- Remove redundant %%{python_sitelib} declaration -- Fix %%check when using latest version of CoverageTestRunner - -* Sun Jun 3 2012 Michel Salim <salimma@fedoraproject.org> - 1.20120527-1 -- Initial package |