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:
parent
3c9ffbbc72
commit
f94b12884b
@ -29,8 +29,6 @@ Source2: https://github.com/libyal/libfvde/releases/download/%version/lib
|
|||||||
Source9: %name.keyring
|
Source9: %name.keyring
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: c_compiler
|
BuildRequires: c_compiler
|
||||||
BuildRequires: gettext-tools >= 0.21
|
|
||||||
BuildRequires: libtool
|
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: pkgconfig(fuse)
|
BuildRequires: pkgconfig(fuse)
|
||||||
@ -97,9 +95,7 @@ applications that want to make use of libfvde.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
|
||||||
%{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 PYTHON_VERSION="%{$python_bin_suffix}" LDFLAGS="-Wl,--version-script=$PWD/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
|
grep ' '' ''local' config.log && exit 1
|
||||||
@ -112,9 +108,6 @@ grep ' '' ''local' config.log && exit 1
|
|||||||
mv %_builddir/rt/* %buildroot/
|
mv %_builddir/rt/* %buildroot/
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%check
|
|
||||||
# make check
|
|
||||||
|
|
||||||
%post -n %{lname} -p /sbin/ldconfig
|
%post -n %{lname} -p /sbin/ldconfig
|
||||||
%postun -n %{lname} -p /sbin/ldconfig
|
%postun -n %{lname} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user