SHA256
1
0
forked from pool/libfvde

no patching -> no need for autoreconf

OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfvde?expand=0&rev=27
This commit is contained in:
Jan Engelhardt 2022-11-27 11:23:26 +00:00 committed by Git OBS Bridge
parent 3c9ffbbc72
commit f94b12884b

View File

@ -29,8 +29,6 @@ Source2: https://github.com/libyal/libfvde/releases/download/%version/lib
Source9: %name.keyring
BuildRequires: %{python_module devel}
BuildRequires: c_compiler
BuildRequires: gettext-tools >= 0.21
BuildRequires: libtool
BuildRequires: pkg-config
BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(fuse)
@ -97,9 +95,7 @@ applications that want to make use of libfvde.
%autosetup -p1
%build
autoreconf -fi
%{python_expand #
# see libcdata for version-sc
echo "V_%version { global: *; };" >v.sym
%configure --disable-static --enable-wide-character-type --enable-python PYTHON_VERSION="%{$python_bin_suffix}" LDFLAGS="-Wl,--version-script=$PWD/v.sym"
grep ' '' ''local' config.log && exit 1
@ -112,9 +108,6 @@ grep ' '' ''local' config.log && exit 1
mv %_builddir/rt/* %buildroot/
find %{buildroot} -type f -name "*.la" -delete -print
%check
# make check
%post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig