SHA256
1
0
forked from pool/libfole

Accepting request 1038462 from security:forensics

delete system-libs.patch

OBS-URL: https://build.opensuse.org/request/show/1038462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libfole?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2022-11-28 10:06:17 +00:00 committed by Git OBS Bridge
commit f46119357a
3 changed files with 7 additions and 48 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Nov 26 16:43:24 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Delete system-libs.patch
-------------------------------------------------------------------
Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -27,12 +27,10 @@ URL: https://github.com/libyal/libfole
Source: https://github.com/libyal/libfole/releases/download/%version/libfole-alpha-%version.tar.gz
Source2: https://github.com/libyal/libfole/releases/download/%version/libfole-alpha-%version.tar.gz.asc
Source9: %name.keyring
Patch1: system-libs.patch
BuildRequires: c_compiler
BuildRequires: gettext-tools >= 0.18.1
BuildRequires: libtool
BuildRequires: pkg-config
BuildRequires: pkgconfig(libcerror) >= 20220101
# Various notes: https://en.opensuse.org/libyal
%description
libfole is a library for Object Linking and Embedding (OLE) data types.
@ -63,10 +61,9 @@ applications that want to make use of libfole.
%autosetup -p1
%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,43 +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 | 2 --
configure.ac | 1 -
2 files changed, 3 deletions(-)
Index: libfole/Makefile.am
===================================================================
--- libfole.orig/Makefile.am
+++ libfole/Makefile.am
@@ -3,7 +3,6 @@ ACLOCAL_AMFLAGS = -I m4
SUBDIRS = \
include \
common \
- libcerror \
libfole \
po \
manuals \
@@ -53,7 +52,6 @@ lib: library
library:
(cd $(srcdir)/common && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libcerror && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libfole && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS))
Index: libfole/configure.ac
===================================================================
--- libfole.orig/configure.ac
+++ libfole/configure.ac
@@ -97,7 +97,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([libfole/Makefile])
AC_CONFIG_FILES([po/Makefile.in])
AC_CONFIG_FILES([po/Makevars])