Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libwrc for openSUSE:Factory checked in at 2021-06-11 00:18:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libwrc (Old) and /work/SRC/openSUSE:Factory/.libwrc.new.32437 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libwrc" Fri Jun 11 00:18:18 2021 rev:11 rq:898737 version:20210425 Changes: -------- --- /work/SRC/openSUSE:Factory/libwrc/libwrc.changes 2020-12-30 17:13:48.600449251 +0100 +++ /work/SRC/openSUSE:Factory/.libwrc.new.32437/libwrc.changes 2021-06-11 00:18:35.709308724 +0200 @@ -1,0 +2,8 @@ +Thu May 13 12:06:54 UTC 2021 - Jan Engelhardt <[email protected]> + +- Update to snapshot 20210425 (89146ffc) + * No changelog was provided +- Add system-libs.patch +- Enable python3 integration + +------------------------------------------------------------------- Old: ---- libwrc-experimental-20191221.tar.gz New: ---- _service libwrc-20210425.tar.xz system-libs.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libwrc.spec ++++++ --- /var/tmp/diff_new_pack.EaBxoQ/_old 2021-06-11 00:18:36.345309830 +0200 +++ /var/tmp/diff_new_pack.EaBxoQ/_new 2021-06-11 00:18:36.345309830 +0200 @@ -1,7 +1,7 @@ # # spec file for package libwrc # -# 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 @@ -18,36 +18,37 @@ Name: libwrc %define lname libwrc1 -%define timestamp 20191221 -Version: 0~%timestamp +Version: 20210425 Release: 0 Summary: Library to support the Windows Resource Compiler format License: LGPL-3.0-or-later Group: Productivity/File utilities -URL: https://github.com/libyal/libwrc/wiki -Source: https://github.com/libyal/libwrc/releases/download/%timestamp/%name-experimental-%timestamp.tar.gz -#BuildRequires: pkg-config -BuildRequires: pkgconfig(libbfio) >= 20120426 -BuildRequires: pkgconfig(libcdata) >= 20120425 -BuildRequires: pkgconfig(libcfile) >= 20120526 -BuildRequires: pkgconfig(libclocale) >= 20130609 -BuildRequires: pkgconfig(libcnotify) >= 20120425 -BuildRequires: pkgconfig(libcpath) >= 20130609 -BuildRequires: pkgconfig(libcsplit) >= 20130904 -BuildRequires: pkgconfig(libexe) >= 20120405 -BuildRequires: pkgconfig(libfcache) >= 20120405 -BuildRequires: pkgconfig(libfdata) >= 20120405 -BuildRequires: pkgconfig(libfdatetime) >= 20130317 -BuildRequires: pkgconfig(libfguid) >= 20130317 -BuildRequires: pkgconfig(libfvalue) >= 20120428 -BuildRequires: pkgconfig(libfwevt) >= 20120426 -BuildRequires: pkgconfig(libfwnt) >= 20120426 -BuildRequires: pkgconfig(libuna) >= 20130728 -# The following packages cause build failures if factory version is used, -# verified 1/12/2015 -#BuildRequires: pkgconfig(libcerror) >= 20120425 -#BuildRequires: pkgconfig(libcstring) >= 20120425 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +URL: https://github.com/libyal/libwrc +Source: %name-%version.tar.xz +Patch1: system-libs.patch +BuildRequires: c_compiler +BuildRequires: gettext-tools >= 0.18.1 +BuildRequires: libtool +BuildRequires: pkg-config +BuildRequires: pkgconfig(libbfio) >= 20201229 +BuildRequires: pkgconfig(libcdata) >= 20200509 +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(libexe) >= 20210424 +BuildRequires: pkgconfig(libfcache) >= 20200708 +BuildRequires: pkgconfig(libfdata) >= 20201129 +BuildRequires: pkgconfig(libfdatetime) >= 20180910 +BuildRequires: pkgconfig(libfguid) >= 20180724 +BuildRequires: pkgconfig(libfvalue) >= 20210510 +BuildRequires: pkgconfig(libfwevt) >= 20210508 +BuildRequires: pkgconfig(libfwnt) >= 20210421 +BuildRequires: pkgconfig(libuna) >= 20201204 +BuildRequires: pkgconfig(python3) %description libwrc is a library to support the Windows Resource Compiler format. @@ -78,36 +79,43 @@ This subpackage provides the utilities from libwrc, which allows for reading Windows Resource Compiler files. +%package -n python3-%name +Summary: Python 3 bindings for libwrc +Group: Development/Languages/Python + +%description -n python3-%name +Python 3 bindings for libwrc + %prep -%setup -qn libwrc-%timestamp +%autosetup -p1 %build -%configure --disable-static --enable-wide-character-type -make %{?_smp_mflags} +if [ ! -e configure ]; then ./autogen.sh; fi +%configure --disable-static --enable-wide-character-type --enable-python3 +%make_build %install -make install DESTDIR="%buildroot" -rm -f "%buildroot/%_libdir"/*.la +%make_install +find "%buildroot/%_libdir" -type f -name "*.la" -delete %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname -%defattr(-,root,root) -%doc AUTHORS ChangeLog %license COPYING* %_libdir/libwrc.so.1* %files devel -%defattr(-,root,root) %_includedir/libwrc* %_libdir/libwrc.so %_libdir/pkgconfig/libwrc.pc %_mandir/man3/libwrc.3* %files tools -%defattr(-,root,root) %_bindir/wrcinfo %_mandir/man1/wrcinfo.1* +%files -n python3-%name +%python3_sitearch/*.so + %changelog ++++++ _service ++++++ <services> <service name="tar_scm" mode="disabled"> <param name="scm">git</param> <param name="url">https://github.com/libyal/libwrc</param> <param name="revision">89146ffcdf24d904602dfdc6cfe3b0e54f639299</param> <!-- see configure.ac --> <param name="versionformat">20210425</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 <[email protected]> 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 | 34 ---------------------------------- configure.ac | 18 ------------------ 2 files changed, 52 deletions(-) Index: libwrc/Makefile.am =================================================================== --- libwrc.orig/Makefile.am +++ libwrc/Makefile.am @@ -3,25 +3,7 @@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = \ include \ common \ - libcerror \ - libcthreads \ - libcdata \ - libclocale \ - libcnotify \ - libcsplit \ - libuna \ - libcfile \ - libcpath \ - libbfio \ - libfcache \ - libfdata \ - libfdatetime \ - libfguid \ - libfvalue \ - libfwevt \ - libfwnt \ libwrc \ - libexe \ wrctools \ pywrc \ pywrc-python2 \ @@ -82,22 +64,6 @@ lib: library library: (cd $(srcdir)/common && $(MAKE) $(AM_MAKEFLAGS)) - (cd $(srcdir)/libcerror && $(MAKE) $(AM_MAKEFLAGS)) - (cd $(srcdir)/libcthreads && $(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)/libfdatetime && $(MAKE) $(AM_MAKEFLAGS)) - (cd $(srcdir)/libfvalue && $(MAKE) $(AM_MAKEFLAGS)) - (cd $(srcdir)/libfwevt && $(MAKE) $(AM_MAKEFLAGS)) - (cd $(srcdir)/libfwnt && $(MAKE) $(AM_MAKEFLAGS)) (cd $(srcdir)/libwrc && $(MAKE) $(AM_MAKEFLAGS)) (cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS)) Index: libwrc/configure.ac =================================================================== --- libwrc.orig/configure.ac +++ libwrc/configure.ac @@ -182,28 +182,10 @@ 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([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([libfdatetime/Makefile]) -AC_CONFIG_FILES([libfguid/Makefile]) -AC_CONFIG_FILES([libfvalue/Makefile]) -AC_CONFIG_FILES([libfwevt/Makefile]) -AC_CONFIG_FILES([libfwnt/Makefile]) AC_CONFIG_FILES([libwrc/Makefile]) AC_CONFIG_FILES([pywrc/Makefile]) AC_CONFIG_FILES([pywrc-python2/Makefile]) AC_CONFIG_FILES([pywrc-python3/Makefile]) -AC_CONFIG_FILES([libexe/Makefile]) AC_CONFIG_FILES([wrctools/Makefile]) AC_CONFIG_FILES([po/Makefile.in]) AC_CONFIG_FILES([po/Makevars])
