Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37601305
en ru br
ALT Linux repos
S:0.1-alt2

Group :: Development/C
RPM: nosync

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: nosync
Version: 0.1
Release: alt2

Summary: library to disable sync/fsync/fdatasync
License: Public domain
Group: Development/C

#Url:

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: %name-%version.tar

%description
Library to disable sync/fsync/fdatasync.
Run your program as $ nosync program for disable sync calls.
Uwaga! Use only if you needs in data corrupted after system failure.

See http://lj.rossia.org/users/igorpashev/26733.html
for use examples.

%prep
%setup
%__subst "s|/usr/lib|%_libdir|g" nosync
%build
gcc %optflags_shared -s -Wall -shared -o libnosync.so libnosync.c

%install
install -D -m644 libnosync.so %buildroot%_libdir/libnosync.so
install -D nosync %buildroot%_bindir/nosync

%files
%doc README
%_bindir/nosync
%_libdir/libnosync.so

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin