%global realname snappy %global upstream fdmanana Name: erlang-%{realname} Version: 1.1.1 Release: 0.24.git348da43%{?dist} Summary: An Erlang NIF wrapper for Google's snappy library License: ASL 2.0 URL: https://github.com/%{upstream}/%{realname}-erlang-nif VCS: scm:git:https://github.com/%{upstream}/%{realname}-erlang-nif.git #Source0: https://github.com/%{upstream}/%{realname}/archive/%{version}/%{realname}-%{version}.tar.gz Source0: https://github.com/%{upstream}/%{realname}/archive/348da43/%{realname}-%{version}.tar.gz Patch1: erlang-snappy-0001-No-bundled-snappy.patch Patch2: erlang-snappy-0002-Remove-artificial-dependency-on-the-Erlang-s-version.patch # Backported from upstream's master branch Patch3: erlang-snappy-0003-Added-a-check-for-empty-IOLists-during-decompression.patch # Backported from upstream's master branch Patch4: erlang-snappy-0004-Returns-empty-binary-and-bypasses-the-compression-li.patch # Backported from upstream's master branch Patch5: erlang-snappy-0005-Quick-refactor-only-init-the-structs-when-necessary.patch BuildRequires: erlang-rebar BuildRequires: gcc-c++ BuildRequires: snappy-devel %description An Erlang NIF wrapper for Google's snappy compressor/decompressor. %prep %autosetup -p1 -n %{realname}-erlang-nif-348da43a27a8dd3c6973b8fe9156ef93906b4c7c rm -rf c_src/snappy %build %{erlang_compile} %install %{erlang_install} %check %{erlang_test} %files %doc README.md %{erlang_appdir}/ %changelog * Thu Jul 21 2022 Fedora Release Engineering - 1.1.1-0.24.git348da43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jul 20 2022 Peter Lemenkov - 1.1.1-0.23.git348da43 - Rebuild for Erlang 25 * Thu Jan 20 2022 Fedora Release Engineering - 1.1.1-0.22.git348da43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 1.1.1-0.21.git348da43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.1.1-0.20.git348da43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Aug 01 2020 Fedora Release Engineering - 1.1.1-0.19.git348da43 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.1.1-0.18.git348da43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 1.1.1-0.17.git348da43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Nov 27 2019 Peter Lemenkov - 1.1.1-0.16.git348da43 - Rebuild for Erlang 22 * Wed Jul 24 2019 Fedora Release Engineering - 1.1.1-0.15.git348da43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Feb 21 2019 Peter Lemenkov - 1.1.1-0.14.git348da43 - Rebuild for Erlang 21 * Thu Jan 31 2019 Fedora Release Engineering - 1.1.1-0.13.git348da43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.1.1-0.12.git348da43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Mar 21 2018 Peter Lemenkov - .1.1-0.11.git348da43 - Rebuild for Erlang 20 (with proper builddeps) * Fri Feb 23 2018 Peter Lemenkov - 1.1.1-0.10.git348da43 - Rebuild for Erlang 20 * Wed Feb 07 2018 Fedora Release Engineering - 1.1.1-0.9.git348da43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 1.1.1-0.8.git348da43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.1.1-0.7.git348da43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.1.1-0.6.git348da43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun Aug 07 2016 Igor Gnatenko - 1.1.1-0.5.git348da43 - Rebuild for Erlang 19 * Fri Apr 15 2016 Peter Lemenkov - 1.1.1-0.4.git348da43 - Drop unneeded macro * Wed Mar 30 2016 Peter Lemenkov - 1.1.1-0.3.git348da43 - Rebuild with Erlang 18.3 * Wed Feb 03 2016 Fedora Release Engineering - 1.1.1-0.2.git348da43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Jan 18 2016 Peter Lemenkov - 1.1.1-0.1.git348da43 - Ver. 1.1.1 - Rebuild with Erlang 18.2.2 * Wed Jun 17 2015 Fedora Release Engineering - 1.0.3-0.12.git80db168 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 1.0.3-0.11.git80db168 - Rebuilt for GCC 5 C++11 ABI change * Tue Nov 04 2014 Peter Lemenkov - 1.0.3-0.10.git80db168 - Rebuild with Erlang 17.3.3 * Thu Aug 28 2014 Peter Lemenkov - 1.0.3-0.9.git80db168 - Rebuild with Erlang 17.2.1 * Sat Aug 16 2014 Fedora Release Engineering - 1.0.3-0.8.git80db168 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jul 12 2014 Ville Skyttä - 1.0.3-0.7.git80db168 - Use new erlang macros to build with $RPM_OPT/LD_FLAGS etc, verbosely * Sat Jun 07 2014 Fedora Release Engineering - 1.0.3-0.6.git80db168 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.0.3-0.5.git80db168 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sun Mar 03 2013 Peter Lemenkov - 1.0.3-0.4.git80db168 - Fixed FTBFS in Rawhide (F19) * Wed Feb 13 2013 Fedora Release Engineering - 1.0.3-0.3.git80db168 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sun Oct 07 2012 Peter Lemenkov - 1.0.3-0.2.git80db168 - Ensure consistent usage of macros (cosmetic) * Mon Sep 24 2012 Peter Lemenkov - 1.0.3-0.1.git80db168 - initial build