Skip to content
Create a gist now

Instantly share code, notes, and snippets.

libeatmydata spec file
Name: libeatmydata
Version: 59
Release: 1%{?dist}
Summary: Disable fsync() and friends
Group: System Environment/Libraries
License: GPLv3+
LD_PRELOAD library that disables all forms of writing data safely to
disk. fsync() becomes a NO-OP, O_SYNC is removed etc. The idea is to
use in testing to get faster test runs where real durability is not
DO NOT use libeatmydata on software where you care about what it stores.
It's called libEAT-MY-DATA for a reason.
%setup -q
make %{?_smp_mflags}
rm "$RPM_BUILD_ROOT"%{_libdir}/*.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
* Mon Jul 16 2012 Manuel Amador (Rudd-O) <> - 59-1
- Initial RPM release.
* Fri May 14 2010 Zing <> - 15-1
- Initial RPM release.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.