Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package eppic for openSUSE:Factory checked in at 2023-05-02 16:19:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/eppic (Old) and /work/SRC/openSUSE:Factory/.eppic.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "eppic" Tue May 2 16:19:15 2023 rev:11 rq:1083855 version:4.99.git.1682279748.c294e5b Changes: -------- --- /work/SRC/openSUSE:Factory/eppic/eppic.changes 2021-02-07 15:14:10.253396186 +0100 +++ /work/SRC/openSUSE:Factory/.eppic.new.1533/eppic.changes 2023-05-02 16:23:59.447576742 +0200 @@ -1,0 +2,30 @@ +Mon Apr 24 08:26:22 UTC 2023 - Petr TesaÅÃk <[email protected]> + +- Update to c294e5bf89cab01f3c5316474cfc5104af7e6a60 + o Build on RISC-V64 and 32-bit Arm and IBM POWER. +- Drop upstreamed patches: + o eppic-Fix-eppic_getnxtfct.patch + o eppic-crash-INCDIR.patch + +------------------------------------------------------------------- +Thu Apr 13 14:03:26 UTC 2023 - Petr TesaÅÃk <[email protected]> + +- Build the crash extension. +- Package the eppic code. +- eppic-crash-INCDIR.patch: Use make variable INCDIR to find crash + include files. + +------------------------------------------------------------------- +Thu Apr 13 09:59:44 UTC 2023 - Petr TesaÅÃk <[email protected]> + +- eppic-Fix-eppic_getnxtfct.patch: Fix name length condition in + eppic_getnxtfct(). + +------------------------------------------------------------------- +Thu Apr 13 09:35:52 UTC 2023 - Petr TesaÅÃk <[email protected]> + +- Switch upstream branch to v5.0. +- Update to commit e0a3b03 + o Assorted bug fixes. + +------------------------------------------------------------------- Old: ---- libeppic-3.99.git.1612358888.e8844d3.tar.bz2 New: ---- eppic-4.99.git.1682279748.c294e5b.tar.xz eppic-rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ eppic.spec ++++++ --- /var/tmp/diff_new_pack.Up0i6Z/_old 2023-05-02 16:23:59.987579944 +0200 +++ /var/tmp/diff_new_pack.Up0i6Z/_new 2023-05-02 16:23:59.995579992 +0200 @@ -1,7 +1,7 @@ # # spec file for package eppic # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,16 @@ Name: eppic -Version: 3.99.git.1612358888.e8844d3 +Version: 4.99.git.1682279748.c294e5b Release: 0 Summary: Embeddable Pre-Processor and Interpreter for C License: GPL-2.0-or-later Group: Development/Libraries/C and C++ -Source: lib%{name}-%{version}.tar.bz2 +Source: %{name}-%{version}.tar.xz +Source99: %{name}-rpmlintrc Patch1: %{name}-fix-install.patch BuildRequires: bison +BuildRequires: crash-devel BuildRequires: flex BuildRequires: ncurses-devel URL: https://github.com/lucchouina/eppic @@ -41,6 +43,10 @@ Summary: EPPIC include files and libraries Group: Development/Languages/C and C++ +%package -n crash-eppic +Summary: The eppic extension for crash +Group: Development/Tools/Debuggers + %description -n libeppic-devel EPPIC is a C interpreter that permits easy access to the symbol and type information stored in a executable image like a coredump or live memory @@ -50,24 +56,89 @@ This package provides the include files and libraries needed for development. +%description -n crash-eppic +EPPIC is a C interpreter that permits easy access to the symbol and type +information stored in a executable image like a coredump or live memory +interfaces (e.g. /dev/kmem, /dev/mem). Although it has a strong association +with live or postmortem kernel analysis, it is not constraint to it and can be +embedded in any tools that is C friendly. + +This package provides the extension for the crash utility. + %prep -%setup -n lib%{name}-%{version} -%patch1 -p2 +%setup +%autopatch -p1 %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects -make CFLAGS="%{optflags} -fPIC" %{?_smp_mflags} +make -C libeppic CFLAGS="%{optflags} -fPIC" %{?_smp_mflags} + +case `uname -m` in + aarch64) + TARGET=ARM64 + TARGET_CFLAGS= + ;; + arm*) + TARGET=ARM + TARGET_CFLAGS=-D_FILE_OFFSET_BITS=64 + ;; + i?86) + TARGET=X86 + TARGET_CFLAGS=-D_FILE_OFFSET_BITS=64 + ;; + ia64) + TARGET=IA64 + TARGET_CFLAGS= + ;; + ppc) + TARGET=PPC + TARGET_CFLAGS=-D_FILE_OFFSET_BITS=64 + ;; + ppc64|ppc64le) + TARGET=PPC64 + TARGET_CFLAGS=-m64 + ;; + riscv64) + TARGET=RISCV64 + TARGET_CFLAGS= + ;; + s390) + TARGET=S390 + TARGET_CFLAGS=-D_FILE_OFFSET_BITS=64 + ;; + s390x) + TARGET=S390X + TARGET_CFLAGS= + ;; + x86_64) + TARGET=X86_64 + TARGET_CFLAGS= + ;; +esac +export TARGET TARGET_CFLAGS +ln -snf ../../libeppic applications/crash/ +make -C applications/crash -f eppic.mk INCDIR=/usr/include/crash eppic.so %install mkdir -p %{buildroot}%{_libdir} mkdir -p %{buildroot}%{_includedir} -make ROOT="%{buildroot}" LIBDIR=%{_libdir} install +make -C libeppic ROOT="%{buildroot}" LIBDIR=%{_libdir} install + +mkdir -p %{buildroot}%{_libdir}/crash/extensions +install -m 0644 applications/crash/eppic.so %{buildroot}%{_libdir}/crash/extensions +install -d -m 0755 %{buildroot}%{_datadir}/eppic +cp -r applications/crash/code %{buildroot}%{_datadir}/eppic/crash %files -n libeppic-devel %defattr(-,root,root) -%doc README +%doc libeppic/README.md %{_includedir}/eppic.h %{_includedir}/eppic_api.h %attr(644,root,root) %{_libdir}/libeppic.a +%files -n crash-eppic +%doc applications/crash/README.code +%{_libdir}/crash/extensions/eppic.so +%{_datadir}/eppic + %changelog ++++++ _service ++++++ --- /var/tmp/diff_new_pack.Up0i6Z/_old 2023-05-02 16:24:00.031580205 +0200 +++ /var/tmp/diff_new_pack.Up0i6Z/_new 2023-05-02 16:24:00.039580253 +0200 @@ -2,13 +2,12 @@ <service mode="localonly" name="tar_scm"> <param name="scm">git</param> <param name="url">https://github.com/lucchouina/eppic.git</param> - <param name="subdir">libeppic</param> - <param name="filename">libeppic</param> - <param name="versionprefix">3.99.git</param> + <param name="revision">refs/heads/v5.0</param> + <param name="versionprefix">4.99.git</param> </service> <service mode="localonly" name="recompress"> - <param name="file">libeppic-*.tar</param> - <param name="compression">bz2</param> + <param name="file">eppic-*.tar</param> + <param name="compression">xz</param> </service> <service mode="localonly" name="set_version" /> </services> ++++++ eppic-rpmlintrc ++++++ # These files are interpreted by the eppic extension at run-time addFilter("devel-file-in-non-devel-package .*/usr/share/eppic/crash.*")
