Created
July 17, 2012 01:57
-
-
Save Rudd-O/3126484 to your computer and use it in GitHub Desktop.
libeatmydata spec file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment