Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libewf for openSUSE:Factory checked in at 2021-06-27 18:59:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libewf (Old) and /work/SRC/openSUSE:Factory/.libewf.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libewf" Sun Jun 27 18:59:09 2021 rev:18 rq:902501 version:20140811 Changes: -------- --- /work/SRC/openSUSE:Factory/libewf/libewf.changes 2020-12-18 19:59:42.710083218 +0100 +++ /work/SRC/openSUSE:Factory/.libewf.new.2625/libewf.changes 2021-06-27 19:00:18.780373096 +0200 @@ -1,0 +2,12 @@ +Sat Jun 26 09:57:45 UTC 2021 - Jan Engelhardt <jeng...@inai.de> + +- Drop python2 module build. + +------------------------------------------------------------------- +Fri May 14 00:55:40 UTC 2021 - Jan Engelhardt <jeng...@inai.de> + +- Update to snapshot (a791283c) + * No changelog was provided. +- Add system-libs.patch + +------------------------------------------------------------------- Old: ---- libewf-20140811.tar.gz libewf-20140811.tar.gz.asc New: ---- _service libewf-legacy-20140811.tar.xz system-libs.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libewf.spec ++++++ --- /var/tmp/diff_new_pack.mzaX73/_old 2021-06-27 19:00:19.200373648 +0200 +++ /var/tmp/diff_new_pack.mzaX73/_new 2021-06-27 19:00:19.200373648 +0200 @@ -1,7 +1,7 @@ # # spec file for package libewf # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,69 +16,51 @@ # -%define modname libewf -%define timestamp 20140811 -%define sosuffix 2 -%bcond_with python2 - +%define lname libewf2 Name: libewf -Version: 0~%{timestamp} +Version: 20140811 Release: 0 Summary: Library for the Expert Witness Compression Format (EWF) -License: LGPL-3.0-or-later AND GFDL-1.3-or-later +License: GFDL-1.3-or-later AND LGPL-3.0-or-later Group: Productivity/File utilities URL: https://github.com/libyal/libewf-legacy -Source: https://github.com/libyal/libewf-legacy/releases/download/%{timestamp}/%{name}-%{timestamp}.tar.gz -Source1: https://github.com/libyal/libewf-legacy/releases/download/%{timestamp}/%{name}-%{timestamp}.tar.gz.asc +Source: %name-legacy-%version.tar.xz Source2: http://downloads.sf.net/libewf/mount_ewf-20090113.py Source3: Expert_Witness_Compression_Format_EWF.pdf Source4: Expert_Witness_Compression_Format_2_EWF2.pdf Patch1: remove_date_time_macros.patch -BuildRequires: autoconf -BuildRequires: automake +Patch2: system-libs.patch BuildRequires: bison +BuildRequires: c_compiler BuildRequires: flex -BuildRequires: fuse-devel -# Needed for language translation support -BuildRequires: gettext -BuildRequires: git -BuildRequires: libopenssl-devel +BuildRequires: gettext-tools >= 0.18.1 BuildRequires: libtool -BuildRequires: pkgconfig -%if %{with python2} -BuildRequires: python-devel -%endif -BuildRequires: python3-devel -BuildRequires: zlib-devel +BuildRequires: pkg-config BuildRequires: pkgconfig(bzip2) >= 1.0 BuildRequires: pkgconfig(fuse) >= 2.6 -BuildRequires: pkgconfig(libcaes) >= 20120425 -BuildRequires: pkgconfig(libcdatetime) -BuildRequires: pkgconfig(libcfile) >= 20120526 -BuildRequires: pkgconfig(libclocale) >= 20120425 -BuildRequires: pkgconfig(libcnotify) >= 20120425 -BuildRequires: pkgconfig(libcsplit) >= 20120701 -BuildRequires: pkgconfig(libcthreads) >= 20130723 -BuildRequires: pkgconfig(libfvalue) >= 20120428 -BuildRequires: pkgconfig(libhmac) >= 20120425 -BuildRequires: pkgconfig(libsmdev) >= 20120630 -BuildRequires: pkgconfig(libuna) >= 20120425 +BuildRequires: pkgconfig(libbfio) >= 20201229 +BuildRequires: pkgconfig(libcaes) >= 20201012 +BuildRequires: pkgconfig(libcdata) >= 20200509 +BuildRequires: pkgconfig(libcdatetime) >= 20200510 +BuildRequires: pkgconfig(libcerror) >= 20201121 +BuildRequires: pkgconfig(libcfile) >= 20201229 +BuildRequires: pkgconfig(libclocale) >= 20200913 +BuildRequires: pkgconfig(libcnotify) >= 20200913 +BuildRequires: pkgconfig(libcpath) >= 20200623 +BuildRequires: pkgconfig(libcsplit) >= 20200703 +BuildRequires: pkgconfig(libcthreads) >= 20200508 +BuildRequires: pkgconfig(libfcache) >= 20200708 +BuildRequires: pkgconfig(libfdata) >= 20201129 +BuildRequires: pkgconfig(libfvalue) >= 20210510 +BuildRequires: pkgconfig(libhmac) >= 20200104 +BuildRequires: pkgconfig(libodraw) >= 20201003 +BuildRequires: pkgconfig(libsmdev) >= 20210418 +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 -# build fails if libyal package from OBS is used -# verified 1/25/2020 -BuildRequires: pkgconfig(libbfio) >= 20201127 -BuildRequires: pkgconfig(libcdata) >= 20120425 -BuildRequires: pkgconfig(libcerror) >= 20120425 -BuildRequires: pkgconfig(libcpath) >= 20120701 -BuildRequires: pkgconfig(libfcache) >= 20120405 -BuildRequires: pkgconfig(libfdata) -BuildRequires: pkgconfig(libodraw) >= 20120630 -BuildRequires: pkgconfig(libsmraw) >= 20120630 -# these packages not yet released by upstream -#BuildRequires: pkgconfig(libmfdata) >= 20120425 -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description libewf is a library for support of the Expert Witness Compression @@ -87,12 +69,12 @@ information within the EWF files. libewf allows to read files created by EnCase 1 to 6, linen and FTK Imager. -%package -n %{modname}%{sosuffix} +%package -n %{lname} Summary: Library to support the Expert Witness Compression Format License: LGPL-3.0-or-later Group: System/Libraries -%description -n %{modname}%{sosuffix} +%description -n %{lname} libewf is a library for support of the Expert Witness Compression Format (EWF). It supports both the SMART format (EWF-S01) and the EnCase format (EWF-E01). libewf allows you to read and write media @@ -105,10 +87,6 @@ Group: System/Filesystems Requires: fuse Requires: python3-fuse >= 0.2 -#Don't use obsoletes because new 0~yyyymmdd version is less than old 0.0.0+yyyymmdd version -#zypper dup should "downgrade" ewftools to ewftools in factory regardless, so this should work -#Obsoletes: ewftools <= 0.0.0+20130128 -Provides: ewftools = %{version} %description tools Several tools for reading and writing EWF files. @@ -116,9 +94,9 @@ %package devel Summary: Development files for libewf, an Expert Witness Compression Format library -License: LGPL-3.0-or-later AND GFDL-1.3-or-later +License: GFDL-1.3-or-later AND LGPL-3.0-or-later Group: Development/Libraries/C and C++ -Requires: %{modname}%{sosuffix} = %{version} +Requires: %{lname} = %version %description devel libewf is a library for support of the Expert Witness Compression @@ -130,73 +108,44 @@ This subpackage contains libraries and header files for developing applications that want to make use of %{name}. -%if %{with python2} -%package -n python2-%{name} -Summary: Python 2 bindings for libewf, an Expert Witness Compression format library -License: LGPL-3.0-or-later -Group: Development/Libraries/Python -Requires: %{modname}%{sosuffix} = %{version} -BuildRequires: pkgconfig(python2) -Provides: python-%{name} = %{version} -Obsoletes: python-%{name} < 20140608 - -%description -n python2-%{name} -Python 2 binding for libewf, which can create and read EnCase forensic -images. -%endif - -# We can eventually split python* packages into separate packages -# python setup.py build should work according to -# https://github.com/libyal/libewf/wiki/Building#using-setuppy %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 -BuildRequires: pkgconfig -BuildRequires: pkgconfig(python3) -Requires: %{modname}%{sosuffix} = %{version} %description -n python3-%{name} Python 3 binding for libewf, which can create and read EnCase forensic images. %prep -%setup -q -n %{name}-%{timestamp} -%patch1 -p1 +%autosetup -p1 -n libewf-legacy-%version cp "%{SOURCE3}" "%{SOURCE4}" . %build #export CFLAGS="%optflags -fno-strict-aliasing" +if [ ! -e configure ]; then ./autogen.sh; fi %configure --disable-static --disable-rpath \ --enable-wide-character-type \ - --enable-python3 \ -%if %{with python2} - --enable-python2 -%endif - -make %{?_smp_mflags} + --enable-python3 +%make_build %install %make_install find %{buildroot} -type f -name "*.la" -delete -print - install -Dpm0755 "%{SOURCE2}" "%{buildroot}/sbin/mount.ewf" ln -s mount.ewf "%{buildroot}/sbin/umount.ewf" %check make check -%post -n %{modname}%{sosuffix} -p /sbin/ldconfig -%postun -n %{modname}%{sosuffix} -p /sbin/ldconfig +%post -n %{lname} -p /sbin/ldconfig +%postun -n %{lname} -p /sbin/ldconfig -%files -n %{modname}%{sosuffix} -%defattr(-,root,root) -%license COPYING -%doc AUTHORS NEWS ChangeLog +%files -n %{lname} +%license COPYING* %{_libdir}/libewf.so.* %files tools -%defattr(-,root,root) %{_bindir}/ewfacquire %{_bindir}/ewfacquirestream %{_bindir}/ewfexport @@ -211,9 +160,7 @@ /sbin/*mount.ewf %files devel -%defattr(-,root,root) -%license COPYING -%doc AUTHORS ChangeLog NEWS README +%license COPYING* %doc *.pdf %{_includedir}/libewf.h %{_includedir}/libewf/ @@ -221,17 +168,8 @@ %{_libdir}/pkgconfig/libewf.pc %{_mandir}/man3/libewf.3* -%if %{with python2} -%files -n python2-%{name} -%defattr(-,root,root) -%license COPYING -%doc AUTHORS NEWS README -%{python_sitearch}/pyewf.so -%endif - %files -n python3-%{name} -%license COPYING -%doc AUTHORS NEWS README +%license COPYING* %{python3_sitearch}/*.so %changelog ++++++ _service ++++++ <services> <service name="tar_scm" mode="disabled"> <param name="scm">git</param> <param name="url">https://github.com/libyal/libewf-legacy</param> <param name="revision">1ca7370363b53baf9eaf606d4995ab18c6824746</param> <!-- see configure.ac --> <param name="versionformat">20140811</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> ++++++ system-libs.patch ++++++ From: Jan Engelhardt <jeng...@inai.de> Date: 2021-05-12 17:36:02.536572543 +0200 Some dirs are not present in snapshots directly generated from git (nor are they marked as a submodule). Patch it out, since we have them as system libs. --- Makefile.am | 31 ------------------------------- configure.ac | 18 ------------------ 2 files changed, 49 deletions(-) Index: libewf-legacy/Makefile.am =================================================================== --- libewf-legacy.orig/Makefile.am +++ libewf-legacy/Makefile.am @@ -3,26 +3,8 @@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = \ include \ common \ - libcerror \ - libcthreads \ - libcdata \ - libcdatetime \ - libclocale \ - libcnotify \ - libcsplit \ - libuna \ - libcfile \ - libcpath \ - libbfio \ - libfcache \ - libfdata \ - libfvalue \ libmfdata \ - libhmac \ libewf \ - libodraw \ - libsmdev \ - libsmraw \ ewftools \ ewf.net \ pyewf \ @@ -85,20 +67,7 @@ lib: library library: (cd $(srcdir)/common && $(MAKE) $(AM_MAKEFLAGS)) - (cd $(srcdir)/libcerror && $(MAKE) $(AM_MAKEFLAGS)) - (cd $(srcdir)/libcdata && $(MAKE) $(AM_MAKEFLAGS)) - (cd $(srcdir)/libclocale && $(MAKE) $(AM_MAKEFLAGS)) - (cd $(srcdir)/libcnotify && $(MAKE) $(AM_MAKEFLAGS)) - (cd $(srcdir)/libcsplit && $(MAKE) $(AM_MAKEFLAGS)) - (cd $(srcdir)/libuna && $(MAKE) $(AM_MAKEFLAGS)) - (cd $(srcdir)/libcfile && $(MAKE) $(AM_MAKEFLAGS)) - (cd $(srcdir)/libcpath && $(MAKE) $(AM_MAKEFLAGS)) - (cd $(srcdir)/libbfio && $(MAKE) $(AM_MAKEFLAGS)) - (cd $(srcdir)/libfcache && $(MAKE) $(AM_MAKEFLAGS)) - (cd $(srcdir)/libfdata && $(MAKE) $(AM_MAKEFLAGS)) - (cd $(srcdir)/libfvalue && $(MAKE) $(AM_MAKEFLAGS)) (cd $(srcdir)/libmfdata && $(MAKE) $(AM_MAKEFLAGS)) - (cd $(srcdir)/libhmac && $(MAKE) $(AM_MAKEFLAGS)) (cd $(srcdir)/libewf && $(MAKE) $(AM_MAKEFLAGS)) (cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS)) Index: libewf-legacy/configure.ac =================================================================== --- libewf-legacy.orig/configure.ac +++ libewf-legacy/configure.ac @@ -227,30 +227,12 @@ dnl Generate Makefiles AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([include/Makefile]) AC_CONFIG_FILES([common/Makefile]) -AC_CONFIG_FILES([libcerror/Makefile]) -AC_CONFIG_FILES([libcthreads/Makefile]) -AC_CONFIG_FILES([libcdata/Makefile]) -AC_CONFIG_FILES([libcdatetime/Makefile]) -AC_CONFIG_FILES([libclocale/Makefile]) -AC_CONFIG_FILES([libcnotify/Makefile]) -AC_CONFIG_FILES([libcsplit/Makefile]) -AC_CONFIG_FILES([libuna/Makefile]) -AC_CONFIG_FILES([libcfile/Makefile]) -AC_CONFIG_FILES([libcpath/Makefile]) -AC_CONFIG_FILES([libbfio/Makefile]) -AC_CONFIG_FILES([libfcache/Makefile]) -AC_CONFIG_FILES([libfdata/Makefile]) -AC_CONFIG_FILES([libfvalue/Makefile]) AC_CONFIG_FILES([libmfdata/Makefile]) -AC_CONFIG_FILES([libhmac/Makefile]) AC_CONFIG_FILES([libewf/Makefile]) AC_CONFIG_FILES([pyewf/Makefile]) AC_CONFIG_FILES([pyewf-python2/Makefile]) AC_CONFIG_FILES([pyewf-python3/Makefile]) AC_CONFIG_FILES([ewf.net/Makefile]) -AC_CONFIG_FILES([libodraw/Makefile]) -AC_CONFIG_FILES([libsmdev/Makefile]) -AC_CONFIG_FILES([libsmraw/Makefile]) AC_CONFIG_FILES([ewftools/Makefile]) AC_CONFIG_FILES([po/Makefile.in]) AC_CONFIG_FILES([po/Makevars])