Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libewf for openSUSE:Factory checked 
in at 2022-01-22 08:18:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libewf (Old)
 and      /work/SRC/openSUSE:Factory/.libewf.new.1938 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libewf"

Sat Jan 22 08:18:49 2022 rev:19 rq:948041 version:20140811

Changes:
--------
--- /work/SRC/openSUSE:Factory/libewf/libewf.changes    2021-06-27 
19:00:18.780373096 +0200
+++ /work/SRC/openSUSE:Factory/.libewf.new.1938/libewf.changes  2022-01-22 
08:19:36.730326380 +0100
@@ -1,0 +2,6 @@
+Fri Jan 21 18:25:58 UTC 2022 - Jan Engelhardt <jeng...@inai.de>
+
+- Edit specfile to do multipython builds.
+  (Reenables python2 on Leap 15)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libewf.spec ++++++
--- /var/tmp/diff_new_pack.N3olnn/_old  2022-01-22 08:19:37.202323200 +0100
+++ /var/tmp/diff_new_pack.N3olnn/_new  2022-01-22 08:19:37.206323173 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libewf
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,12 +30,14 @@
 Source4:        Expert_Witness_Compression_Format_2_EWF2.pdf
 Patch1:         remove_date_time_macros.patch
 Patch2:         system-libs.patch
+BuildRequires:  %{python_module devel}
 BuildRequires:  bison
 BuildRequires:  c_compiler
 BuildRequires:  flex
 BuildRequires:  gettext-tools >= 0.18.1
 BuildRequires:  libtool
 BuildRequires:  pkg-config
+BuildRequires:  python-rpm-macros
 BuildRequires:  pkgconfig(bzip2) >= 1.0
 BuildRequires:  pkgconfig(fuse) >= 2.6
 BuildRequires:  pkgconfig(libbfio) >= 20201229
@@ -58,9 +60,9 @@
 BuildRequires:  pkgconfig(libsmraw) >= 20210418
 BuildRequires:  pkgconfig(libuna) >= 20201204
 BuildRequires:  pkgconfig(openssl) >= 1.0.0
-BuildRequires:  pkgconfig(python3)
 BuildRequires:  pkgconfig(uuid) >= 2.20
 BuildRequires:  pkgconfig(zlib) >= 1.2.5
+%python_subpackages
 
 %description
 libewf is a library for support of the Expert Witness Compression
@@ -108,29 +110,26 @@
 This subpackage contains libraries and header files for developing
 applications that want to make use of %{name}.
 
-%package -n python3-%{name}
-Summary:        Python 3 bindings for libewf, an Expert Witness Compression 
format library
-License:        LGPL-3.0-or-later
-Group:          Development/Libraries/Python
-
-%description -n python3-%{name}
-Python 3 binding for libewf, which can create and read EnCase forensic
-images.
-
 %prep
 %autosetup -p1 -n libewf-legacy-%version
 cp "%{SOURCE3}" "%{SOURCE4}" .
 
 %build
 #export CFLAGS="%optflags -fno-strict-aliasing"
-if [ ! -e configure ]; then ./autogen.sh; fi
+autoreconf -fi
+# OOT builds are presently broken, so we have to install
+# within each python iteration now, not in %%install.
+%{python_expand #
 %configure --disable-static --disable-rpath \
   --enable-wide-character-type \
-  --enable-python3
+       --enable-python PYTHON_VERSION="%{$python_bin_suffix}"
 %make_build
+%make_install DESTDIR="%_builddir/rt"
+%make_build clean
+}
 
 %install
-%make_install
+mv %_builddir/rt/* %buildroot/
 find %{buildroot} -type f -name "*.la" -delete -print
 install -Dpm0755 "%{SOURCE2}" "%{buildroot}/sbin/mount.ewf"
 ln -s mount.ewf "%{buildroot}/sbin/umount.ewf"
@@ -145,7 +144,7 @@
 %license COPYING*
 %{_libdir}/libewf.so.*
 
-%files tools
+%files -n %name-tools
 %{_bindir}/ewfacquire
 %{_bindir}/ewfacquirestream
 %{_bindir}/ewfexport
@@ -159,7 +158,7 @@
 %{_mandir}/man1/ewf*.1*
 /sbin/*mount.ewf
 
-%files devel
+%files -n %name-devel
 %license COPYING*
 %doc *.pdf
 %{_includedir}/libewf.h
@@ -168,8 +167,8 @@
 %{_libdir}/pkgconfig/libewf.pc
 %{_mandir}/man3/libewf.3*
 
-%files -n python3-%{name}
+%files %python_files
 %license COPYING*
-%{python3_sitearch}/*.so
+%{python_sitearch}/*.so
 
 %changelog

Reply via email to