Name: nosync Version: 1.1 Release: 13.1%{?buildtag}%{?dist} 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 # When compiled on Fedora 36+, the dlsym and pthread_testcancel symbols link # against too new Glibc symbol versions - and can not be used with Mock in older # chroots. Therefore we explicitly link against old symbols that are still # provided by libc.so.6 (rhbz#2019329). Patch1: link-against-old-symbols.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 * Thu Dec 15 2022 Pavel Raiskup - 1.1-13.1.copr - link against older glibc symbols (rhbz#2019329) * Fri Jul 22 2022 Fedora Release Engineering - 1.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed May 20 2020 Adam Williamson - 1.1-8 - Backport PR #4 from Florian Weimer to fix RHBZ #1837809 * Wed Jan 29 2020 Fedora Release Engineering - 1.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Feb 19 2018 Michael Simacek - 1.1-3 - Add BR on gcc and make * Thu Feb 08 2018 Fedora Release Engineering - 1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Dec 21 2017 Mikolaj Izdebski - 1.1-1 - Update to upstream version 1.1 * Thu Aug 03 2017 Fedora Release Engineering - 1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Sep 2 2015 Mikolaj Izdebski - 1.0-4 - Update to current packaging guidelines * Wed Jun 17 2015 Fedora Release Engineering - 1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jul 5 2014 Mikolaj Izdebski - 1.0-1 - Initial packaging