- Delete system-libs.patch (only needed when _service makes

tarballs directly from git)

OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfcrypto?expand=0&rev=12
This commit is contained in:
Jan Engelhardt 2023-11-23 19:52:39 +00:00 committed by Git OBS Bridge
parent 9b61271c13
commit 9edd4bf882
3 changed files with 7 additions and 46 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 23 19:46:16 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Delete system-libs.patch (only needed when _service makes
tarballs directly from git)
-------------------------------------------------------------------
Sun Nov 19 13:51:48 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -27,13 +27,12 @@ URL: https://github.com/libyal/libfcrypto
Source: https://github.com/libyal/libfcrypto/releases/download/%version/libfcrypto-alpha-%version.tar.gz
Source2: https://github.com/libyal/libfcrypto/releases/download/%version/libfcrypto-alpha-%version.tar.gz.asc
Source9: %name.keyring
Patch1: system-libs.patch
BuildRequires: autoconf >= 2.71
BuildRequires: c_compiler
BuildRequires: gettext-tools >= 0.21
BuildRequires: libtool
BuildRequires: pkg-config
BuildRequires: pkgconfig(libcerror) >= 20220101
# Various notes: https://en.opensuse.org/libyal
%description
libfcrypto is a library for encryption formats.
@ -65,7 +64,6 @@ applications that want to make use of libfcrypto.
%build
autoreconf -fi
# see libcdata for version-sc
echo "V_%version { global: *; };" >v.sym
%configure --disable-static LDFLAGS="-Wl,--version-script=$PWD/v.sym"
%make_build

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: libfcrypto-20221228/Makefile.am
===================================================================
--- libfcrypto-20221228.orig/Makefile.am
+++ libfcrypto-20221228/Makefile.am
@@ -3,7 +3,6 @@ ACLOCAL_AMFLAGS = -I m4
SUBDIRS = \
include \
common \
- libcerror \
libfcrypto \
pyfcrypto \
pyfcrypto-python2 \
@@ -61,7 +60,6 @@ lib: library
library:
(cd $(srcdir)/common && $(MAKE) $(AM_MAKEFLAGS))
- (cd $(srcdir)/libcerror && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/libfcrypto && $(MAKE) $(AM_MAKEFLAGS))
(cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS))
Index: libfcrypto-20221228/configure.ac
===================================================================
--- libfcrypto-20221228.orig/configure.ac
+++ libfcrypto-20221228/configure.ac
@@ -108,7 +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([libfcrypto/Makefile])
AC_CONFIG_FILES([pyfcrypto/Makefile])
AC_CONFIG_FILES([pyfcrypto-python2/Makefile])