public
Created

libeatmydata spec file

  • Download Gist
libeatmydata.spec
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 36 37 38 39 40 41 42 43 44 45 46 47 48 49
Name: libeatmydata
Version: 59
Release: 1%{?dist}
Summary: Disable fsync() and friends
Group: System Environment/Libraries
License: GPLv3+
Url: http://flamingspork.com/projects/libeatmydata/
Source0: http://flamingspork.com/projects/libeatmydata/libeatmydata-59.tar.gz
 
%description
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
required.
 
DO NOT use libeatmydata on software where you care about what it stores.
It's called libEAT-MY-DATA for a reason.
 
%prep
%setup -q
 
%build
%configure
make %{?_smp_mflags}
 
%install
%makeinstall
rm "$RPM_BUILD_ROOT"%{_libdir}/*.la
 
%clean
rm -rf $RPM_BUILD_ROOT
 
%post -p /sbin/ldconfig
 
%postun -p /sbin/ldconfig
 
%files
%defattr(-,root,root,-)
%doc README COPYING AUTHORS
%{_libdir}/*.so*
%{_bindir}/*
%{_libexecdir}/*.sh
 
%changelog
* Mon Jul 16 2012 Manuel Amador (Rudd-O) <rudd-o@rudd-o.com> - 59-1
- Initial RPM release.
 
* Fri May 14 2010 Zing <zing@fastmail.fm> - 15-1
- Initial RPM release.

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.