Accepting request 800520 from security:forensics
OBS-URL: https://build.opensuse.org/request/show/800520 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libesedb?expand=0&rev=7
This commit is contained in:
commit
7e2bb0cc71
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 5 11:03:08 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Allow distros to decide to no longer build python2 bindings
|
||||||
|
(bcond_without python2). Tumbleweed declares this already.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 7 15:32:21 UTC 2020 - Greg Freemyer <Greg.Freemyer@gmail.com>
|
Tue Apr 7 15:32:21 UTC 2020 - Greg Freemyer <Greg.Freemyer@gmail.com>
|
||||||
|
|
||||||
|
@ -16,6 +16,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%bcond_without python2
|
||||||
|
|
||||||
%define lname libesedb1
|
%define lname libesedb1
|
||||||
%define timestamp 20191220
|
%define timestamp 20191220
|
||||||
Name: libesedb
|
Name: libesedb
|
||||||
@ -32,7 +34,9 @@ Source4: Forensic_analysis_of_the_Windows_Search_database.pdf
|
|||||||
Source5: Windows_Search.pdf
|
Source5: Windows_Search.pdf
|
||||||
Source6: libesedb-libfdata.pdf
|
Source6: libesedb-libfdata.pdf
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
|
%if %{with python2}
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
|
%endif
|
||||||
BuildRequires: pkgconfig(libbfio) >= 20130721
|
BuildRequires: pkgconfig(libbfio) >= 20130721
|
||||||
BuildRequires: pkgconfig(libcdata) >= 20140105
|
BuildRequires: pkgconfig(libcdata) >= 20140105
|
||||||
BuildRequires: pkgconfig(libcerror) >= 20140105
|
BuildRequires: pkgconfig(libcerror) >= 20140105
|
||||||
@ -133,7 +137,13 @@ cp "%{SOURCE5}" .
|
|||||||
cp "%{SOURCE6}" .
|
cp "%{SOURCE6}" .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --enable-wide-character-type --enable-python2 --enable-python3
|
%configure \
|
||||||
|
--disable-static \
|
||||||
|
--enable-wide-character-type \
|
||||||
|
%if %{with python2}
|
||||||
|
--enable-python2 \
|
||||||
|
%endif
|
||||||
|
--enable-python3
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -172,11 +182,13 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%{_libdir}/pkgconfig/libesedb.pc
|
%{_libdir}/pkgconfig/libesedb.pc
|
||||||
%{_mandir}/man3/libesedb.3*
|
%{_mandir}/man3/libesedb.3*
|
||||||
|
|
||||||
|
%if %{with python2}
|
||||||
%files -n python2-%{name}
|
%files -n python2-%{name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS README ChangeLog
|
%doc AUTHORS README ChangeLog
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{python2_sitearch}/pyesedb.so
|
%{python2_sitearch}/pyesedb.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n python3-%{name}
|
%files -n python3-%{name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user