-
Notifications
You must be signed in to change notification settings - Fork 21
/
libeatmydata.spec.in
67 lines (52 loc) · 1.77 KB
/
libeatmydata.spec.in
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Name: libeatmydata
Version: @PACKAGE_VERSION@
Release: 1%{?dist}
Group: Development/Tools
License: GPLv3
Summary: Library and utilities designed to disable fsync and friends
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: autoconf, automake, make, libtool, strace
Source: https://www.flamingspork.com/projects/libeatmydata/%{name}-%{version}.tar.gz
URL: https://www.flamingspork.com/projects/libeatmydata/
%description
This package contains a small LD_PRELOAD library (libeatmydata) and a couple
of helper utilities designed to transparently disable fsync and friends
(like open(O_SYNC)). This has two side-effects: making software that writes
data safely to disk a lot quicker and making this software no longer
crash safe..
%prep
%setup -q
%build
autoreconf --force --install
%configure
%{__make}
%install
rm -fr %{buildroot}
%makeinstall
find %{buildroot} -name "*.la" -print0 | xargs -0 rm -f
%check
%{__make} check
%clean
rm -fr %{buildroot}
#
%files
%defattr(-,root,root)
%attr(755,-,-) %{_bindir}/eatmydata
%{_libdir}/*
%{_libexecdir}/*
%doc README.md AUTHORS
#
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%changelog
* Sun Oct 10 2021 Stewart Smith <[email protected]> - 130-1
- version 130, add syncfs() wrapper
* Sat Apr 10 2021 Stewart Smith <[email protected]> - 129-1
- Version 129, as always, bug fix release
* Fri Jul 26 2013 Jaroslav Kortus <[email protected]> - 82-1
- Version 82, bug fix release
- spec file changed to meet fedora packaging guidelines
* Fri May 18 2013 Stewart Smith <[email protected]> - 79
- Version 79, bug fix release
* Fri Mar 08 2013 Alexey Bychko <[email protected]> - 0.1
- Version 0.1, initial package for RPM-based systems