Accepting request 1038449 from security:forensics

delete system-libs.patch

OBS-URL: https://build.opensuse.org/request/show/1038449
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcpath?expand=0&rev=15
This commit is contained in:
Dominique Leuenberger 2022-11-28 10:06:05 +00:00 committed by Git OBS Bridge
commit d503b98cf3
3 changed files with 11 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>

View File

@ -27,15 +27,13 @@ URL: https://github.com/libyal/libcpath
Source: https://github.com/libyal/libcpath/releases/download/%version/libcpath-alpha-%version.tar.gz
Source2: https://github.com/libyal/libcpath/releases/download/%version/libcpath-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) >= 20201121
BuildRequires: pkgconfig(libclocale) >= 20200913
BuildRequires: pkgconfig(libcsplit) >= 20200703
BuildRequires: pkgconfig(libcerror) >= 20220101
BuildRequires: pkgconfig(libclocale) >= 20220107
BuildRequires: pkgconfig(libcsplit) >= 20210411
BuildRequires: pkgconfig(libuna) >= 20210801
# Various notes: https://en.opensuse.org/libyal
%description
A library for C path functions. Part of the libyal family of libraries.
@ -62,10 +60,9 @@ applications that want to make use of libcpath.
%autosetup -p1
%build
autoreconf -fi
# see libcdata for version-sc
echo "V_%version { global: *; };" >v.sym
%configure --disable-static --enable-wide-character-type LDFLAGS="-Wl,--version-script=$PWD/v.sym"
grep ' local' config.log && exit 1
%make_build
%install

View File

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