Hello community,

here is the log from the commit of package libguestfs for openSUSE:Factory 
checked in at 2016-09-16 11:01:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
 and      /work/SRC/openSUSE:Factory/.libguestfs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libguestfs"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes    2016-08-31 
00:12:18.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes       
2016-09-16 11:01:50.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Sep 14 13:13:10 UTC 2016 - oher...@suse.de
+
+- Remove obsolete kernel checks from specfile (fate#316274)
+- Remove kernel-default and mkinitrd from BuildRequires (fate#316274)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libguestfs.spec ++++++
--- /var/tmp/diff_new_pack.8ftdPY/_old  2016-09-16 11:01:52.000000000 +0200
+++ /var/tmp/diff_new_pack.8ftdPY/_new  2016-09-16 11:01:52.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libguestfs
 #
-# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2011 Michal Hrusecky <mhruse...@novell.com>
 #
 # All modifications and additions to the file contributed by third parties
@@ -38,7 +38,6 @@
 %bcond_with perl_bindings
 %bcond_with hivex
 %bcond_with zerofree
-%bcond_without ext4_writeable
 %else
 %bcond_without ocaml_bindings
 %bcond_without lua_bindings
@@ -46,7 +45,6 @@
 %bcond_without perl_bindings
 %bcond_without hivex
 %bcond_without zerofree
-%bcond_with    ext4_writeable
 %endif
 
 %bcond_without fuse
@@ -72,11 +70,6 @@
 %define _configure_python --disable-python
 %define _configure_ruby --disable-ruby
 
-%if %suse_version > 1310
-%define use_included_mkinitrd 1
-%else
-%define use_included_mkinitrd 0
-%endif
 # /lib/udev is a symlink in 12.3+, package the full directory
 %if %suse_version > 1220
 %define udevrulesdir /usr/lib/udev/rules.d
@@ -84,23 +77,6 @@
 %define udevrulesdir /lib/udev/rules.d
 %endif
 #
-%define kernel_binary %{nil}
-%ifarch ia64 %ix86 x86_64
-%define kernel_binary /boot/vmlinuz
-%endif
-%ifarch ppc ppc64 ppc64le sparc64
-%define kernel_binary /boot/vmlinux
-%endif
-%ifarch s390 s390x
-%define kernel_binary /boot/image
-%endif
-%ifarch %arm
-%define kernel_binary /boot/uImage
-%endif
-%ifarch aarch64
-%define kernel_binary /boot/Image
-%endif
-#
 # use 'env LIBGUESTFS_HV=/path/to/kvm libguestfs-test-tool' to verify
 %define kvm_binary /bin/false
 %ifarch aarch64
@@ -401,10 +377,6 @@
 This package contains testcases to verify libguestfs functionality.
 
 %package -n guestfs-data
-# kernel-default needs that
-%if %{?sles_version}0 > 0
-BuildRequires:  sles-release
-%endif
 BuildRequires:  augeas-lenses
 BuildRequires:  bc
 BuildRequires:  btrfsprogs
@@ -416,12 +388,6 @@
 BuildRequires:  diffutils
 BuildRequires:  dosfstools
 BuildRequires:  e2fsprogs
-# ext4 in the sles11 kernel-binary.rpm packages operates only in read-only 
mode.
-# The generated initrd operates inside the temporary guest on image files.
-# For that reason it needs to make modifications to any kind of filesystems.
-%if %{with ext4_writeable}
-BuildRequires:  ext4-writeable-kmp-default
-%endif
 BuildRequires:  file
 BuildRequires:  findutils
 BuildRequires:  gawk
@@ -434,12 +400,8 @@
 BuildRequires:  gzip
 BuildRequires:  iproute2
 BuildRequires:  jfsutils
-BuildRequires:  kernel-default
 BuildRequires:  lvm2
 BuildRequires:  mdadm
-%if !%{use_included_mkinitrd}
-BuildRequires:  mkinitrd
-%endif
 BuildRequires:  module-init-tools
 BuildRequires:  ncurses-utils
 BuildRequires:  nfs-client
@@ -619,16 +581,6 @@
 # for configure macro below
 CFLAGS="$RPM_OPT_FLAGS -Wno-unused"
 CXXFLAGS="$RPM_OPT_FLAGS -Wno-unused"
-# If the kernel happens to have no virtio-scsi force virtio-blk usage in the 
tools
-# This is true for kernel.rpm included in 12.1 and older
-ls -laR /boot/ || :
-if /sbin/modinfo -k "`env PATH=/sbin:/usr/sbin:$PATH get_kernel_version 
'%{kernel_binary}'`" virtio-scsi
-then
-       : use virtio-scsi, which is the default in libguestfs
-else
-       CFLAGS="$CFLAGS -DGUESTFS_QEMU_NO_VIRTIO_BLK"
-       CXXFLAGS="$CXXFLAGS -DGUESTFS_QEMU_NO_VIRTIO_BLK"
-fi
 autoreconf -fi
 
 #


Reply via email to