SHA256
1
0
forked from pool/libfusn

- Delete system-libs.patch

OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfusn?expand=0&rev=7
This commit is contained in:
Jan Engelhardt 2022-11-27 09:36:40 +00:00 committed by Git OBS Bridge
parent 9df41ce7a9
commit c8bd605f24
3 changed files with 8 additions and 54 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)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt <jengelh@inai.de> Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -27,7 +27,6 @@ URL: https://github.com/libyal/libfusn
Source: https://github.com/libyal/libfusn/releases/download/%version/libfusn-experimental-%version.tar.gz Source: https://github.com/libyal/libfusn/releases/download/%version/libfusn-experimental-%version.tar.gz
Source2: https://github.com/libyal/libfusn/releases/download/%version/libfusn-experimental-%version.tar.gz.asc Source2: https://github.com/libyal/libfusn/releases/download/%version/libfusn-experimental-%version.tar.gz.asc
Source9: %name.keyring Source9: %name.keyring
Patch1: system-libs.patch
BuildRequires: c_compiler BuildRequires: c_compiler
BuildRequires: gettext-tools >= 0.18.1 BuildRequires: gettext-tools >= 0.18.1
BuildRequires: libtool BuildRequires: libtool
@ -36,6 +35,7 @@ BuildRequires: pkgconfig(libcerror) >= 20220101
BuildRequires: pkgconfig(libcnotify) >= 20220108 BuildRequires: pkgconfig(libcnotify) >= 20220108
BuildRequires: pkgconfig(libfdatetime) >= 20220112 BuildRequires: pkgconfig(libfdatetime) >= 20220112
BuildRequires: pkgconfig(libuna) >= 20220102 BuildRequires: pkgconfig(libuna) >= 20220102
# Various notes: https://en.opensuse.org/libyal
%description %description
libfusn is a library for Update Sequence Number (USN) Journal data types. libfusn is a library for Update Sequence Number (USN) Journal data types.
@ -67,9 +67,9 @@ applications that want to make use of libfusn.
%build %build
autoreconf -fi autoreconf -fi
# see libcdata for version-sc
echo "V_%version { global: *; };" >v.sym echo "V_%version { global: *; };" >v.sym
%configure --disable-static LDFLAGS="-Wl,--version-script=$PWD/v.sym" %configure --disable-static LDFLAGS="-Wl,--version-script=$PWD/v.sym"
grep ' local' config.log && exit 1
%make_build %make_build
%install %install

View File

@ -1,52 +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 | 8 --------
configure.ac | 4 ----
2 files changed, 12 deletions(-)
Index: libfusn/Makefile.am
===================================================================
--- libfusn.orig/Makefile.am
+++ libfusn/Makefile.am
@@ -3,10 +3,6 @@ ACLOCAL_AMFLAGS = -I m4
SUBDIRS = \
include \
common \
- libcerror \
- libcnotify \
- libuna \
- libfdatetime \
libfusn \
po \
manuals \
@@ -57,10 +53,6 @@ lib: library
library:
(cd $(srcdir)/common && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libcerror && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libcnotify && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libuna && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libfdatetime && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libfusn && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS))
Index: libfusn/configure.ac
===================================================================
--- libfusn.orig/configure.ac
+++ libfusn/configure.ac
@@ -108,10 +108,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([libcnotify/Makefile])
-AC_CONFIG_FILES([libuna/Makefile])
-AC_CONFIG_FILES([libfdatetime/Makefile])
AC_CONFIG_FILES([libfusn/Makefile])
AC_CONFIG_FILES([po/Makefile.in])
AC_CONFIG_FILES([po/Makevars])