commit pmdk-convert for openSUSE:Factory
Hello community, here is the log from the commit of package pmdk-convert for openSUSE:Factory checked in at 2019-05-02 19:21:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pmdk-convert (Old) and /work/SRC/openSUSE:Factory/.pmdk-convert.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "pmdk-convert" Thu May 2 19:21:25 2019 rev:2 rq:700036 version:1.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/pmdk-convert/pmdk-convert.changes 2019-04-30 13:02:11.222138840 +0200 +++ /work/SRC/openSUSE:Factory/.pmdk-convert.new.5148/pmdk-convert.changes 2019-05-02 19:21:35.577816286 +0200 @@ -1,0 +2,12 @@ +Tue Apr 30 15:18:22 UTC 2019 - Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com> + +- Reenable ClamAV +- Strip nvml tarballs from tests that mess up with ClamAV results +- Rename source tarball for more clarity + +------------------------------------------------------------------- +Tue Apr 30 12:53:33 UTC 2019 - Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com> + +- Disable ClamAV checks due to failures on test binaries in pmdk tarballs + +------------------------------------------------------------------- Old: ---- 1.5.1.tar.gz New: ---- pmdk-convert-1.5.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pmdk-convert.spec ++++++ --- /var/tmp/diff_new_pack.Hs8FDG/_old 2019-05-02 19:21:36.385817991 +0200 +++ /var/tmp/diff_new_pack.Hs8FDG/_new 2019-05-02 19:21:36.385817991 +0200 @@ -1,7 +1,7 @@ # # spec file for package pmdk-convert # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright 2016, Intel Corporation # # All modifications and additions to the file contributed by third parties @@ -16,6 +16,7 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + Name: pmdk-convert Version: 1.5.1 Release: 0 @@ -23,7 +24,7 @@ License: BSD-3-Clause Group: System/Base Url: http://pmem.io/pmdk/ -Source: https://github.com/pmem/pmdk-convert/archive/%version.tar.gz +Source: https://github.com/pmem/pmdk-convert/archive/%version.tar.gz#/%{name}-%{version}.tar.gz # Script to predownload the artifacts needed for building and add them for commit Source999: download_artifacts.sh @@ -59,6 +60,8 @@ %setup -q # Copy And Extract pre downloaded nvml tarball # This section is autogenerated by download_artifacts.sh +# This copy/extract is needed to mimic a previous execution of +# cmake so it will not try to download those file from the network. # DO NOT MODIFY it nor the START/END markers ## START_NVML_SETUP cp %{S:1} . @@ -77,6 +80,8 @@ ## END_NVML_SETUP %build +# For some reason cmake fails to extract the nvml tarball if LANG is not UTF8 +export LANG=en_US.UTF-8 # Enable RPATH as the build system itself requires it %cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_RPATH:BOOL=OFF %cmake_build @@ -92,5 +97,4 @@ %license LICENSE %doc ChangeLog - %changelog ++++++ download_artifacts.sh ++++++ --- /var/tmp/diff_new_pack.Hs8FDG/_old 2019-05-02 19:21:36.409818043 +0200 +++ /var/tmp/diff_new_pack.Hs8FDG/_new 2019-05-02 19:21:36.409818043 +0200 @@ -1,14 +1,14 @@ #!/bin/bash -ex rm -f nvml-[0-9.]*.tar.gz VERSION=$(rpmspec --parse pmdk-convert.spec | egrep '^Version' | awk '{ print $NF}') -tar -xf $VERSION.tar.gz +tar -xf pmdk-convert-$VERSION.tar.gz cd pmdk-convert-$VERSION rm -Rf build mkdir -p build cd build cmake .. || true cd .. -mv nvml-[0-9.]*.tar.gz .. +cp nvml-[0-9.]*.tar.gz .. cd ../ FILELIST=(nvml-[0-9.]*.tar.gz) osc add "${FILELIST[@]}" @@ -18,6 +18,15 @@ SETUP="" i=1 for file in "${FILELIST[@]}"; do + # Remove tests bins from the tarball as they may contain binaries that mess up ClamAV + dir=$(tar -tf $file | head -n 1 | awk '{ print $NF}') + if [ -d $dir ]; then + rm -Rf $dir + fi + tar --same-permissions -xf $file + find $dir/src/test -name "*.bin" -exec rm {} \; + rm -f $file + tar --owner=root --group=root -czf $file $dir SOURCES+="Source$i: $file\n" SETUP+="cp %{S:$i} .\ntar -xf %{S:$i}\n" i=$(($i + 1)) ++++++ nvml-1.0.tar.gz ++++++ Binary files old/pmdk-1.0/src/test/arch_flags/elf.bin and new/pmdk-1.0/src/test/arch_flags/elf.bin differ Binary files old/pmdk-1.0/src/test/arch_flags/elf_err_e_machine.bin and new/pmdk-1.0/src/test/arch_flags/elf_err_e_machine.bin differ Binary files old/pmdk-1.0/src/test/arch_flags/elf_err_ei_class.bin and new/pmdk-1.0/src/test/arch_flags/elf_err_ei_class.bin differ Binary files old/pmdk-1.0/src/test/arch_flags/elf_err_ei_data.bin and new/pmdk-1.0/src/test/arch_flags/elf_err_ei_data.bin differ Binary files old/pmdk-1.0/src/test/arch_flags/elf_err_mag.bin and new/pmdk-1.0/src/test/arch_flags/elf_err_mag.bin differ Binary files old/pmdk-1.0/src/test/arch_flags/elf_err_small.bin and new/pmdk-1.0/src/test/arch_flags/elf_err_small.bin differ ++++++ nvml-1.1.tar.gz ++++++ Binary files old/pmdk-1.1/src/test/arch_flags/elf.bin and new/pmdk-1.1/src/test/arch_flags/elf.bin differ Binary files old/pmdk-1.1/src/test/arch_flags/elf_err_e_machine.bin and new/pmdk-1.1/src/test/arch_flags/elf_err_e_machine.bin differ Binary files old/pmdk-1.1/src/test/arch_flags/elf_err_ei_class.bin and new/pmdk-1.1/src/test/arch_flags/elf_err_ei_class.bin differ Binary files old/pmdk-1.1/src/test/arch_flags/elf_err_ei_data.bin and new/pmdk-1.1/src/test/arch_flags/elf_err_ei_data.bin differ Binary files old/pmdk-1.1/src/test/arch_flags/elf_err_mag.bin and new/pmdk-1.1/src/test/arch_flags/elf_err_mag.bin differ Binary files old/pmdk-1.1/src/test/arch_flags/elf_err_small.bin and new/pmdk-1.1/src/test/arch_flags/elf_err_small.bin differ ++++++ nvml-1.2.3.tar.gz ++++++ Binary files old/pmdk-1.2.3/src/test/arch_flags/elf.bin and new/pmdk-1.2.3/src/test/arch_flags/elf.bin differ Binary files old/pmdk-1.2.3/src/test/arch_flags/elf_err_e_machine.bin and new/pmdk-1.2.3/src/test/arch_flags/elf_err_e_machine.bin differ Binary files old/pmdk-1.2.3/src/test/arch_flags/elf_err_ei_class.bin and new/pmdk-1.2.3/src/test/arch_flags/elf_err_ei_class.bin differ Binary files old/pmdk-1.2.3/src/test/arch_flags/elf_err_ei_data.bin and new/pmdk-1.2.3/src/test/arch_flags/elf_err_ei_data.bin differ Binary files old/pmdk-1.2.3/src/test/arch_flags/elf_err_mag.bin and new/pmdk-1.2.3/src/test/arch_flags/elf_err_mag.bin differ Binary files old/pmdk-1.2.3/src/test/arch_flags/elf_err_small.bin and new/pmdk-1.2.3/src/test/arch_flags/elf_err_small.bin differ ++++++ nvml-1.3.1.tar.gz ++++++ Binary files old/pmdk-1.3.1/src/test/arch_flags/elf.bin and new/pmdk-1.3.1/src/test/arch_flags/elf.bin differ Binary files old/pmdk-1.3.1/src/test/arch_flags/elf_err_e_machine.bin and new/pmdk-1.3.1/src/test/arch_flags/elf_err_e_machine.bin differ Binary files old/pmdk-1.3.1/src/test/arch_flags/elf_err_ei_class.bin and new/pmdk-1.3.1/src/test/arch_flags/elf_err_ei_class.bin differ Binary files old/pmdk-1.3.1/src/test/arch_flags/elf_err_ei_data.bin and new/pmdk-1.3.1/src/test/arch_flags/elf_err_ei_data.bin differ Binary files old/pmdk-1.3.1/src/test/arch_flags/elf_err_mag.bin and new/pmdk-1.3.1/src/test/arch_flags/elf_err_mag.bin differ Binary files old/pmdk-1.3.1/src/test/arch_flags/elf_err_small.bin and new/pmdk-1.3.1/src/test/arch_flags/elf_err_small.bin differ ++++++ nvml-1.4.2.tar.gz ++++++ ++++++ nvml-1.5.1.tar.gz ++++++
participants (1)
-
root