- Delete system-libs.patch

OBS-URL: https://build.opensuse.org/package/show/security:forensics/libmodi?expand=0&rev=15
This commit is contained in:
Jan Engelhardt 2022-11-27 10:34:16 +00:00 committed by Git OBS Bridge
parent 6c0130011f
commit 014848c8da
3 changed files with 9 additions and 70 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)
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Oct 23 12:16:45 UTC 2022 - Jan Engelhardt <jengelh@inai.de> Sun Oct 23 12:16:45 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -27,7 +27,6 @@ URL: https://github.com/libyal/libmodi
Source: https://github.com/libyal/libmodi/releases/download/%version/libmodi-experimental-%version.tar.gz Source: https://github.com/libyal/libmodi/releases/download/%version/libmodi-experimental-%version.tar.gz
Source2: https://github.com/libyal/libmodi/releases/download/%version/libmodi-experimental-%version.tar.gz.asc Source2: https://github.com/libyal/libmodi/releases/download/%version/libmodi-experimental-%version.tar.gz.asc
Source3: %name.keyring Source3: %name.keyring
Patch1: system-libs.patch
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: c_compiler BuildRequires: c_compiler
BuildRequires: gettext-tools >= 0.21 BuildRequires: gettext-tools >= 0.21
@ -56,7 +55,9 @@ BuildRequires: pkgconfig(libfvalue) >= 20220120
BuildRequires: pkgconfig(libhmac) >= 20220425 BuildRequires: pkgconfig(libhmac) >= 20220425
BuildRequires: pkgconfig(liblzma) BuildRequires: pkgconfig(liblzma)
BuildRequires: pkgconfig(libuna) >= 20220611 BuildRequires: pkgconfig(libuna) >= 20220611
BuildRequires: pkgconfig(zlib)
%python_subpackages %python_subpackages
# Various notes: https://en.opensuse.org/libyal
%description %description
libmodi is a library to access the Mac OS disk image formats. libmodi is a library to access the Mac OS disk image formats.
@ -105,14 +106,12 @@ read MacOS disk image formats.
%build %build
autoreconf -fi autoreconf -fi
# OOT builds are presently broken, so we have to install
# within each python iteration now, not in %%install.
%{python_expand # %{python_expand #
# see libcdata for version-sc
echo "V_%version { global: *; };" >v.sym echo "V_%version { global: *; };" >v.sym
%configure --disable-static --enable-wide-character-type --enable-python \ %configure --disable-static --enable-wide-character-type --enable-python \
PYTHON_VERSION="%{$python_bin_suffix}" \ PYTHON_VERSION="%{$python_bin_suffix}" \
LDFLAGS="-Wl,--version-script=$PWD/v.sym" LDFLAGS="-Wl,--version-script=$PWD/v.sym"
grep ' '' ''local' config.log && exit 1
%make_build %make_build
%make_install DESTDIR="%_builddir/rt" %make_install DESTDIR="%_builddir/rt"
%make_build clean %make_build clean

View File

@ -1,66 +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 | 38 --------------------------------------
1 file changed, 38 deletions(-)
Index: libmodi-20221023/Makefile.am
===================================================================
--- libmodi-20221023.orig/Makefile.am
+++ libmodi-20221023/Makefile.am
@@ -3,25 +3,6 @@ ACLOCAL_AMFLAGS = -I m4
SUBDIRS = \
include \
common \
- libcerror \
- libcthreads \
- libcdata \
- libclocale \
- libcnotify \
- libcsplit \
- libuna \
- libcdirectory \
- libcfile \
- libcpath \
- libbfio \
- libfcache \
- libfdata \
- libfguid \
- libfvalue \
- libfmos \
- libfplist \
- libhmac \
- libcaes \
libmodi \
moditools \
pymodi \
@@ -83,25 +64,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)/libclocale && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libcnotify && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libcsplit && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libuna && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libcdirectory && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libcfile && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libcpath && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libbfio && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libfcache && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libfdata && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libfguid && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libfvalue && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libfmos && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libfplist && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libhmac && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libcaes && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libmodi && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS))