1 |
tv |
496153 |
%define fname libeatmydata |
2 |
|
|
|
3 |
|
|
Summary: A small wrapper to disable fsync and related functions |
4 |
|
|
Name: eatmydata |
5 |
tv |
1060828 |
Version: 105 |
6 |
umeabot |
1791845 |
Release: %mkrel 5 |
7 |
tv |
496153 |
Group: File tools |
8 |
|
|
License: GPLv3 |
9 |
|
|
URL: https://launchpad.net/%{fname} |
10 |
danf |
1776437 |
Source0: https://launchpad.net/%{fname}/trunk/release-%{version}/+download/%{fname}-%{version}.tar.gz |
11 |
tv |
1066497 |
Patch0: fix-it.patch |
12 |
tv |
496153 |
Provides: %{fname} |
13 |
|
|
|
14 |
wally |
1204427 |
%description |
15 |
tv |
496153 |
libeatmydata is a small LD_PRELOAD library designed to (transparently) disable |
16 |
|
|
fsync (and friends, like open(O_SYNC)). This has two side-effects: making |
17 |
|
|
software that writes data safely to disk a lot quicker and making this software |
18 |
|
|
no longer crash safe. |
19 |
|
|
|
20 |
|
|
DO NOT use libeatmydata on software where you care about what it stores. It's |
21 |
|
|
called libEAT-MY-DATA for a reason. |
22 |
|
|
|
23 |
|
|
%prep |
24 |
|
|
%setup -q -n %{fname}-%version |
25 |
tv |
1060824 |
%autopatch -p1 |
26 |
tv |
496153 |
|
27 |
|
|
%build |
28 |
wally |
1478666 |
%configure |
29 |
wally |
1204427 |
%make_build |
30 |
tv |
496153 |
|
31 |
|
|
%install |
32 |
wally |
1204427 |
%make_install |
33 |
tv |
496153 |
|
34 |
|
|
%files |
35 |
|
|
%doc README COPYING |
36 |
|
|
%{_bindir}/* |
37 |
|
|
%{_libdir}/* |
38 |
blino |
873111 |
%{_libexecdir}/eatmydata.sh |
39 |
tv |
496153 |
|