Fix 1908783

This commit is contained in:
Gwyn Ciesla 2021-08-05 12:31:26 -05:00
parent e6e93b464e
commit 800b316a17
2 changed files with 21 additions and 1 deletions

13
config.h.patch Normal file
View File

@ -0,0 +1,13 @@
--- prelude-inttypes.h~ 2021-08-05 09:52:17.002556351 -0500
+++ prelude-inttypes.h 2021-08-05 12:09:26.446094909 -0500
@@ -48,10 +48,6 @@
#define __PRELUDE_UINT64_SUFFIX(x) x ##ULL
#endif
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
#ifdef __PRELUDE_HAVE_STDINT_H
# include <stdint.h>
#endif

View File

@ -7,11 +7,13 @@
Name: libprelude
Version: 5.2.0
Release: 7%{?dist}
Release: 8%{?dist}
Summary: Secure Connections between all Sensors and the Prelude Manager
License: LGPL-2.1+
URL: https://www.prelude-siem.org/
Source0: https://www.prelude-siem.org/pkg/src/5.2.0/%{name}-%{version}.tar.gz
# See BZ 1908783
Source1: config.h.patch
# https://www.prelude-siem.org/issues/860
Patch0: libprelude-5.2.0-ruby_vendorarchdir.patch
# https://www.prelude-siem.org/issues/862
@ -172,6 +174,8 @@ find %{buildroot} -name '*.la' -delete
find %{buildroot} -name 'perllocal.pod' -delete
find %{buildroot} -name '.packlist' -delete
patch -d %{buildroot}%{_includedir}/libprelude/ -p0 < %SOURCE1
# Enable test again after fixing #1629893
#%check
#make check
@ -235,6 +239,9 @@ find %{buildroot} -name '.packlist' -delete
%doc AUTHORS ChangeLog README NEWS
%changelog
* Thu Aug 05 2021 Gwyn Ciesla <gwync@protonmail.com> - 5.2.0-8
- Fix BZ 1908783
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild