- Delete system-libs.patch

OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfwevt?expand=0&rev=24
This commit is contained in:
Jan Engelhardt 2022-11-27 09:51:52 +00:00 committed by Git OBS Bridge
parent 2d403000bd
commit 89f6c63bcd
3 changed files with 8 additions and 66 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Nov 26 16:43:24 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Delete system-libs.patch (not needed - system libs are
autodetected)
-------------------------------------------------------------------
Thu Nov 3 10:20:00 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -27,7 +27,6 @@ URL: https://github.com/libyal/libfwevt
Source: https://github.com/libyal/libfwevt/releases/download/%version/libfwevt-experimental-%version.tar.gz
Source2: https://github.com/libyal/libfwevt/releases/download/%version/libfwevt-experimental-%version.tar.gz.asc
Source3: %name.keyring
Patch1: system-libs.patch
BuildRequires: c_compiler
BuildRequires: gettext-tools >= 0.21
BuildRequires: libtool
@ -40,6 +39,7 @@ BuildRequires: pkgconfig(libfdatetime) >= 20220112
BuildRequires: pkgconfig(libfguid) >= 20220113
BuildRequires: pkgconfig(libfvalue) >= 20220120
BuildRequires: pkgconfig(libuna) >= 20220611
# Various notes: https://en.opensuse.org/libyal
%description
libfwevt is a library for Windows XML Event Log (EVTX) data types.
@ -71,9 +71,9 @@ applications that want to make use of libfwevt.
%build
autoreconf -fi
# see libcdata for version-sc
echo "V_%version { global: *; };" >v.sym
%configure --disable-static LDFLAGS="-Wl,--version-script=$PWD/v.sym"
grep ' local' config.log && exit 1
%make_build
%install

View File

@ -1,64 +0,0 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2021-05-12 17:36:02.536572543 +0200
Some dirs are not present in snapshots directly generated from git
(nor are they marked as a submodule). Patch it out, since we have
them as system libs.
---
Makefile.am | 16 ----------------
configure.ac | 8 --------
2 files changed, 24 deletions(-)
Index: libfwevt-20211121/Makefile.am
===================================================================
--- libfwevt-20211121.orig/Makefile.am
+++ libfwevt-20211121/Makefile.am
@@ -3,14 +3,6 @@ ACLOCAL_AMFLAGS = -I m4
SUBDIRS = \
include \
common \
- libcerror \
- libcthreads \
- libcdata \
- libcnotify \
- libuna \
- libfdatetime \
- libfguid \
- libfvalue \
libfwevt \
pyfwevt \
pyfwevt-python2 \
@@ -70,14 +62,6 @@ lib: library
library:
(cd $(srcdir)/common && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libcerror && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libcthreads && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libcdata && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libcnotify && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libuna && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libfdatetime && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libfguid && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libfvalue && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libfwevt && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS))
Index: libfwevt-20211121/configure.ac
===================================================================
--- libfwevt-20211121.orig/configure.ac
+++ libfwevt-20211121/configure.ac
@@ -136,14 +136,6 @@ dnl Generate Makefiles
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([include/Makefile])
AC_CONFIG_FILES([common/Makefile])
-AC_CONFIG_FILES([libcerror/Makefile])
-AC_CONFIG_FILES([libcthreads/Makefile])
-AC_CONFIG_FILES([libcdata/Makefile])
-AC_CONFIG_FILES([libcnotify/Makefile])
-AC_CONFIG_FILES([libuna/Makefile])
-AC_CONFIG_FILES([libfdatetime/Makefile])
-AC_CONFIG_FILES([libfguid/Makefile])
-AC_CONFIG_FILES([libfvalue/Makefile])
AC_CONFIG_FILES([libfwevt/Makefile])
AC_CONFIG_FILES([pyfwevt/Makefile])
AC_CONFIG_FILES([pyfwevt-python2/Makefile])