Accepting request 902507 from home:jengelh:branches:security:forensics

- Update to release 20210615
- Drop python2 module build

OBS-URL: https://build.opensuse.org/request/show/902507
OBS-URL: https://build.opensuse.org/package/show/security:forensics/libregf?expand=0&rev=28
This commit is contained in:
Greg Freemyer 2021-06-26 11:05:27 +00:00 committed by Git OBS Bridge
parent cd4511557b
commit 1391c32be5
5 changed files with 12 additions and 45 deletions

View File

@ -1,14 +0,0 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/libyal/libregf</param>
<param name="revision">ee938acd3a691d0c44da8d1e6da7fd7e856ffe85</param>
<!-- see configure.ac -->
<param name="versionformat">20210504</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

View File

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

View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Jun 26 10:34:31 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Update to release 20210615
* No changelog was provided
- Drop python2 module build
-------------------------------------------------------------------
Thu May 13 11:34:17 UTC 2021 - Jan Engelhardt <jengelh@inai.de>

View File

@ -16,21 +16,17 @@
#
%bcond_without python2
%define lname libregf1
Name: libregf
Version: 20210504
Version: 20210615
Release: 0
Summary: Library to access Windows REGF-type Registry files
License: GFDL-1.3-or-later AND LGPL-3.0-or-later
Group: Productivity/File utilities
URL: https://github.com/libyal/libregf
Source: %name-%version.tar.xz
Source: https://github.com/libyal/libregf/releases/download/%version/libregf-alpha-%version.tar.gz
Source2: Windows_NT_Registry_File_REGF_format.pdf
Patch1: system-libs.patch
%if %{with python2}
BuildRequires: python-devel
%endif
BuildRequires: c_compiler
BuildRequires: gettext-tools >= 0.18.1
BuildRequires: libtool
@ -52,7 +48,6 @@ BuildRequires: pkgconfig(libfguid) >= 20180724
BuildRequires: pkgconfig(libfwnt) >= 20210421
BuildRequires: pkgconfig(libfwsi) >= 20210419
BuildRequires: pkgconfig(libuna) >= 20201204
BuildRequires: pkgconfig(python2)
BuildRequires: pkgconfig(python3)
%description
@ -90,18 +85,6 @@ type (a non-text representation).
This subpackage contains libraries and header files for developing
applications that want to make use of %{name}.
%package -n python2-%{name}
Summary: Python2 bindings for libregf, a library to access Windows REGF Registry files
License: LGPL-3.0-or-later
Group: Development/Languages/Python
Obsoletes: python-%{name} <= 20190303
%description -n python2-%{name}
libregf is a library to access Windows Registry files of the REGF
type (a non-text representation).
This subpackage contains the Python2 bindings for libregf.
%package -n python3-%{name}
Summary: Python3 bindings for libregf, a library to access Windows REGF Registry files
License: LGPL-3.0-or-later
@ -122,9 +105,6 @@ if [ ! -e configure ]; then ./autogen.sh; fi
%configure \
--disable-static \
--enable-wide-character-type \
%if %{with python2}
--enable-python2 \
%endif
--enable-python3
%make_build
@ -151,12 +131,6 @@ find %{buildroot} -name '*.la' -delete
%{_libdir}/pkgconfig/libregf.pc
%{_mandir}/man3/libregf.3*
%if %{with python2}
%files -n python2-%{name}
%license COPYING*
%{python2_sitearch}/pyregf.so
%endif
%files -n python3-%{name}
%license COPYING*
%{python3_sitearch}/pyregf.so