Accepting request 408599 from home:gregfreemyer:Tools-for-forensic-boot-cd

Fix build issue in last SR

OBS-URL: https://build.opensuse.org/request/show/408599
OBS-URL: https://build.opensuse.org/package/show/security:forensics/libvhdi?expand=0&rev=4
This commit is contained in:
Greg Freemyer 2016-07-28 21:04:08 +00:00 committed by Git OBS Bridge
parent fc2423a616
commit 821dd18352
5 changed files with 48 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c56b61fda4b8ad5ba377188fae4ef0e0d86a2145d62be88f5f5d7e2b9c2c4389
size 1325162

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:addce37260e130d5266fbdeae13bcc29dce7d151acc74f4ba563ddc17b324e3a
size 1409910

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Thu Jul 14 02:32:29 UTC 2016 - Greg.Freemyer@gmail.com
- update to v0~20160424
* 2016 update
* changes for deployment
* Changes to Python bindings
* fixed byte order of identifiers
* updated dependencies
* vhdiinfo: fix for handling missing parent filename
* Worked on diff image parent support
* worked on Python 3 support
* worked on Python bindings
* Worked on tests
- rename documentation not to have () due to new security check
- build python 3 bindings
-------------------------------------------------------------------
Fri Jan 9 21:23:27 UTC 2015 - Greg.Freemyer@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libvhdi
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
%define lname libvhdi1
%define timestamp 20150105
%define timestamp 20160424
Name: libvhdi
Version: 0~%{timestamp}
Release: 0
@ -26,10 +26,9 @@ License: LGPL-3.0+ and GFDL-1.3+
Group: Productivity/File utilities
Url: https://github.com/libyal/libvhdi/wiki
Source: https://github.com/libyal/libvhdi/releases/download/%timestamp/%{name}-alpha-%{timestamp}.tar.gz
Source2: Virtual_Hard_Disk_(VHD)_image_format.pdf
Source2: Virtual_Hard_Disk_VHD_image_format.pdf
BuildRequires: pkg-config
BuildRequires: python-devel
BuildRequires: pkgconfig(libbfio) >= 20130721
BuildRequires: pkgconfig(libcdata) >= 20140105
BuildRequires: pkgconfig(libcfile) >= 20130609
@ -46,9 +45,11 @@ BuildRequires: pkgconfig(libfvalue)
BuildRequires: pkgconfig(libuna) >= 20120425
# fails to build with factory package, use internal
# verified 8/23/2014
BuildRequires: pkgconfig(libcerror) >= 20140105
#BuildRequires: pkgconfig(libcerror) >= 20140105
# not (yet) released as packages by upstream (8-23-14)
BuildRequires: pkgconfig(libcstring) >= 20120425
#BuildRequires: pkgconfig(libcstring) >= 20120425
BuildRequires: pkgconfig(python2)
BuildRequires: pkgconfig(python3)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -104,7 +105,7 @@ This subpackage contains libraries and header files for developing
applications that want to make use of libvhdi.
%package -n python-%{name}
Summary: Python bindings for libvhdi, a VHD image format parser
Summary: Python 2 bindings for libvhdi, a VHD image format parser
License: LGPL-3.0+
Group: Development/Libraries/Python
Requires: %{lname} = %{version}
@ -114,14 +115,27 @@ Provides: pyvhdi
%description -n python-%{name}
libvhdi is a library to access Virtual Hard Disk (VHD) image format. See libvhdi for details.
Python bindings for libvhdi.
This package contains Python 2 bindings for libvhdi.
%package -n python3-%{name}
Summary: Python 3 bindings for libvhdi, a VHD image format parser
License: LGPL-3.0+
Group: Development/Libraries/Python
Requires: %{lname} = %{version}
Requires: python3
Provides: pyvhdi
%description -n python3-%{name}
libvhdi is a library to access Virtual Hard Disk (VHD) image format. See libvhdi for details.
This package contains Python 3 bindings for libvhdi.
%prep
%setup -q -n libvhdi-%{timestamp}
cp "%{SOURCE2}" .
%build
%configure --disable-static --enable-wide-character-type --enable-python
%configure --disable-static --enable-wide-character-type --enable-python2 --enable-python3
make %{?_smp_mflags}
%install
@ -158,4 +172,9 @@ find %{buildroot} -type f -name "*.la" -delete -print
%doc AUTHORS COPYING README ChangeLog
%{python_sitearch}/pyvhdi.so
%files -n python3-%{name}
%defattr(-,root,root)
%doc AUTHORS COPYING README ChangeLog
%{python3_sitearch}/pyvhdi.so
%changelog