- Delete system-libs.patch

OBS-URL: https://build.opensuse.org/package/show/security:forensics/libuna?expand=0&rev=34
This commit is contained in:
2022-11-27 09:58:56 +00:00
committed by Git OBS Bridge
parent 57201112b7
commit f4216fc3bd
3 changed files with 8 additions and 68 deletions

View File

@@ -35,7 +35,6 @@ Source: https://github.com/libyal/libuna/releases/download/%version/libu
Source2: https://github.com/libyal/libuna/releases/download/%version/libuna-alpha-%version.tar.gz.asc
Source3: libuna.keyring
Source99: libuna-rpmlintrc
Patch1: system-libs.patch
BuildRequires: c_compiler
BuildRequires: gettext-tools >= 0.18.1
BuildRequires: libtool
@@ -47,6 +46,7 @@ BuildRequires: pkgconfig(libcfile) >= 20220106
%endif
BuildRequires: pkgconfig(libclocale) >= 20220107
BuildRequires: pkgconfig(libcnotify) >= 20220108
# Various notes: https://en.opensuse.org/libyal
%description
libuna is a library to support Unicode and ASCII (byte string)
@@ -92,7 +92,6 @@ applications that want to make use of libuna.
%build
autoreconf -fi
# see libcdata for version-sc
echo "V_%version { global: *; };" >v.sym
%configure \
%if "@BUILD_FLAVOR@" == "mini"
@@ -100,6 +99,7 @@ echo "V_%version { global: *; };" >v.sym
%endif
--disable-static --enable-wide-character-type \
LDFLAGS="-Wl,--version-script=$PWD/v.sym"
grep ' local' config.log && exit 1
%make_build
%install