commit cloop.2876 for openSUSE:13.1:Update
Hello community, here is the log from the commit of package cloop.2876 for openSUSE:13.1:Update checked in at 2014-06-25 08:18:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:13.1:Update/cloop.2876 (Old) and /work/SRC/openSUSE:13.1:Update/.cloop.2876.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "cloop.2876" Changes: -------- New Changes file: --- /dev/null 2014-06-12 08:28:52.960034756 +0200 +++ /work/SRC/openSUSE:13.1:Update/.cloop.2876.new/cloop.changes 2014-06-25 08:18:23.000000000 +0200 @@ -0,0 +1,33 @@ +------------------------------------------------------------------- +Wed May 15 16:42:32 UTC 2013 - jengelh@inai.de + +- Add cloop-3.9.diff to make cloop compile with Linux 3.9 + +------------------------------------------------------------------- +Thu Dec 15 07:00:30 UTC 2011 - coolo@suse.com + +- fix license to be in spdx.org format + +------------------------------------------------------------------- +Tue Jul 19 20:19:26 UTC 2011 - jengelh@medozas.de + +- Update to cloop-2.6.39 to fix compile error in openSUSE:Factory +* support for Linux 2.6.39/3.0 + +------------------------------------------------------------------- +Sat Apr 16 16:19:27 UTC 2011 - jengelh@medozas.de + +- Update to cloop-2.637 +- obsolete fp37.diff, warnings.diff, remove bp33.diff + +------------------------------------------------------------------- +Wed Jan 12 14:21:16 UTC 2011 - jengelh@medozas.de + +- Forward port to 2.6.37 + +------------------------------------------------------------------- +Sat Sep 4 16:56:19 UTC 2010 - jengelh@medozas.de + +- Fix group name - rpmlint complaint +- Add module-init-tools as BuildRequires to calculate Supplements +- Update to new upstream release 2.634 New: ---- cloop-3.9.diff cloop-kmod-install.diff cloop-preamble cloop.changes cloop.spec cloop_2.639-2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cloop.spec ++++++ # # spec file for package cloop # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: cloop Version: 2.639 Release: 0 Summary: Compressed loop block device License: GPL-2.0 Group: System/Filesystems Url: http://debian-knoppix.alioth.debian.org/packages/cloop/ Source: cloop_%version-2.tar.xz Source2: %name-preamble Patch1: cloop-kmod-install.diff Patch2: cloop-3.9.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ BuildRequires: kernel-syms BuildRequires: module-init-tools BuildRequires: xz BuildRequires: zlib-devel %kernel_module_package -p %name-preamble %description The compressed loopback device or cloop is a module for the Linux kernel. It adds support for transparently decompressed, read-only block devices. It is not a compressed file system in itself. %package KMP Summary: Kernel modules for cloop Group: System/Filesystems %description KMP The compressed loopback device or cloop is a module for the Linux kernel. It adds support for transparently decompressed, read-only block devices. It is not a compressed file system in itself. %prep %setup -q %patch -P 1 -P 2 -p1 %build # Setting CFLAGS is required here since it is not done implicitly # when not using %%configure export CFLAGS="%optflags"; export CXXFLAGS="%optflags"; make %{?_smp_mflags} utils cloop_suspend; unset CFLAGS CXXFLAGS; cd ../; for flavor in %flavors_to_build; do cp -a %name-%version "obj-$flavor"; pushd "obj-$flavor"; make KERNEL_DIR="/usr/src/linux-obj/%_target_cpu/$flavor" \ %{?_smp_mflags} cloop.ko; popd; done; %install b="%buildroot"; mkdir -p "$b/%_bindir"; install -pm0755 cloop_suspend create_compressed_fs \ extract_compressed_fs "$b/%_bindir/"; export INSTALL_MOD_PATH="$b"; for flavor in %flavors_to_build; do pushd "../obj-$flavor/"; make KERNEL_DIR="/usr/src/linux-obj/%_target_cpu/$flavor" modules_install; popd; done; %files %defattr(-,root,root) %_bindir/* %changelog ++++++ cloop-3.9.diff ++++++ From: Jan Engelhardt <jengelh@inai.de> Date: 2013-05-15 18:41:38.085994028 +0200 cloop: resolve build failure with Linux 3.9 In Linux kernel commit v3.9-rc1~56^2~14, call syntax for vfs_getattr changed. --- cloop.c | 4 ++++ 1 file changed, 4 insertions(+) Index: cloop-2.639/cloop.c =================================================================== --- cloop-2.639.orig/cloop.c +++ cloop-2.639/cloop.c @@ -743,7 +743,11 @@ static int cloop_get_status(struct cloop struct kstat stat; int err; if (!file) return -ENXIO; +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 9, 0) + err = vfs_getattr(&file->f_path, &stat); +#else err = vfs_getattr(file->f_path.mnt, file->f_path.dentry, &stat); +#endif if (err) return err; memset(info, 0, sizeof(*info)); info->lo_number = clo->clo_number; ++++++ cloop-kmod-install.diff ++++++ From: Jan Engelhardt <jengelh@medozas.de> --- Makefile | 3 +++ 1 file changed, 3 insertions(+) Index: cloop-2.634/Makefile =================================================================== --- cloop-2.634.orig/Makefile +++ cloop-2.634/Makefile @@ -46,6 +46,9 @@ $(MODULE): compressed_loop.c compressed_ @echo "Building for Kernel Patchlevel $(PATCHLEVEL)" $(MAKE) modules -C $(KERNEL_DIR) M=$(CURDIR) +modules_install: ${MODULE} + ${MAKE} -C ${KERNEL_DIR} M=$$PWD modules_install; + create_compressed_fs: advancecomp-1.15/advfs ln -f $< $@ ++++++ cloop-preamble ++++++ Enhances: kernel-%1 Requires: kernel-%1 Supplements: packageand(kernel-%1:cloop) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de