diff options
author | CoprDistGit <infra@openeuler.org> | 2025-02-17 08:36:42 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-02-17 08:36:42 +0000 |
commit | e6a44fcd23fbac27ba5f1fb35c403dce97370b2d (patch) | |
tree | cf670a10ed95a50a80e7fc96b9762b490e1cc4e0 /nosync.spec | |
parent | 670a36699a5fcfe0e35f368b3ecf00910fd95a9b (diff) |
automatic import of nosyncopeneuler24.03_LTS_SP1
Diffstat (limited to 'nosync.spec')
-rw-r--r-- | nosync.spec | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/nosync.spec b/nosync.spec new file mode 100644 index 0000000..36299bf --- /dev/null +++ b/nosync.spec @@ -0,0 +1,43 @@ +Name: nosync +Version: 1.1 +Release: 1 +Summary: Preload library for disabling file's content synchronization +License: ASL 2.0 +URL: http://github.com/kjn/%{name} +Source0: http://github.com/kjn/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz + +# Eliminate dependency on ELF constructor ordering +# Solves segfaults during buildroot population in mock with nosync +# enabled for builds with openssl +# "FIPS module installed state definition is modified" changes +# https://bugzilla.redhat.com/show_bug.cgi?id=1837809 +# https://github.com/kjn/nosync/pull/4 +Patch0: 4.patch + +BuildRequires: make +BuildRequires: gcc + +%description +nosync is a small preload library that can be used to disable +synchronization of file's content with storage devices on GNU/Linux. +It works by overriding implementations of certain standard functions +like fsync or open. + +%prep +%autosetup -p1 + +%build +make CFLAGS="%{optflags}" %{?_smp_mflags} + +%install +%makeinstall + +%files +%doc AUTHORS README.md +%{!?_licensedir:%global license %%doc} +%license LICENSE NOTICE +%{_libdir}/%{name} + +%changelog +* Fri Mar 24 2023 lichaoran <pkwarcraft@hotmail.com> - 1.1-1 +- Initial packaging |