Hello community, here is the log from the commit of package btrfsprogs for openSUSE:Factory checked in at 2018-04-20 17:24:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/btrfsprogs (Old) and /work/SRC/openSUSE:Factory/.btrfsprogs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "btrfsprogs" Fri Apr 20 17:24:50 2018 rev:94 rq:594057 version:4.16 Changes: -------- --- /work/SRC/openSUSE:Factory/btrfsprogs/btrfsprogs.changes 2018-02-18 11:40:53.040789192 +0100 +++ /work/SRC/openSUSE:Factory/.btrfsprogs.new/btrfsprogs.changes 2018-04-20 17:24:51.900558509 +0200 @@ -1,0 +2,39 @@ +Fri Apr 6 00:00:00 CEST 2018 - [email protected] + +- update to version 4.16 + * libbtrfsutil - new LGPL library to wrap userspace functionality + * several 'btrfs' commands converted to use it: + * properties + * filesystem sync + * subvolume set-default/get-default/delete/show/sync + * python bindings, tests + * build + * use configured pkg-config path + * CI: add python, musl/clang, built dependencies caching + * convert: build fix for e2fsprogs 1.44+ + * don't install library links with wrong permissions + * fixes + * prevent incorrect use of subvol_strip_mountpoint + * dump-super: don't verify csum for unknown type + * convert: fix inline extent creation condition + * check: + * lowmem: fix false alert for 'data extent backref lost for snapshot' + * lowmem: fix false alert for orphan inode + * lowmem: fix false alert for shared prealloc extents + * mkfs: + * add UUID and otime to root of FS_TREE - with the uuid, snapshots will + be now linked to the toplevel subvol by the parent UUID + * don't follow symlinks when calculating size + * pre-create the UUID tree + * fix --rootdir with selinux enabled + * dump-tree: add option to print only children nodes of a given block + * image: handle missing device for RAID1 + * other + * new tests + * test script cleanups (quoting, helpers) + * tool to edit superblocks + * updated docs +- Add patch: 0001-btrfs-progs-build-fix-static-build.patch +- Add new library packages: libbtrfsutil + +------------------------------------------------------------------- Old: ---- btrfs-progs-v4.15.tar.gz New: ---- 0001-btrfs-progs-build-fix-static-build.patch btrfs-progs-v4.16.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ btrfsprogs.spec ++++++ --- /var/tmp/diff_new_pack.bbY4q7/_old 2018-04-20 17:24:52.580533853 +0200 +++ /var/tmp/diff_new_pack.bbY4q7/_new 2018-04-20 17:24:52.584533708 +0200 @@ -31,10 +31,10 @@ %define build_docs 0 Name: btrfsprogs -Version: 4.15 +Version: 4.16 Release: 0 Summary: Utilities for the Btrfs filesystem -License: GPL-2.0 +License: GPL-2.0-only Group: System/Filesystems Url: http://btrfs.wiki.kernel.org/index.php/Main_Page #Git-Web: http://git.kernel.org/cgit/linux/kernel/git/kdave/btrfs-progs.git @@ -46,6 +46,7 @@ Source5: sles11-defaults.h Patch1: mkfs-default-features.patch +Patch2: 0001-btrfs-progs-build-fix-static-build.patch %if %build_docs BuildRequires: asciidoc @@ -125,7 +126,7 @@ %description -n libbtrfs-devel This package contains the libraries and headers files for developers to -build applications to interface with btrfs. +build applications to interface with Btrfs. # rpm < 4.6.0 (SLE11 uses 4.4) doesn't support noarch subpackages. # Fortunately, it doesn't use systemd either so we can just skip it. @@ -136,6 +137,25 @@ Conflicts: udev < %{udev_with_btrfs_builtin} BuildArch: noarch +%package -n libbtrfsutil1 +Summary: Utility library for interacting with Btrfs +Group: System/Libraries + +%description -n libbtrfsutil1 +This package contains the libbtrfsutil.so shared library. This library is +LGPL unlike libbtrfs.so and can be used by applications to interact with Btrfs +filesystems. + +%package -n libbtrfsutil-devel +Summary: Include Files and Libraries for developing with libbtrfsutil +Group: Development/Libraries/C and C++ +Requires: %{name} = %{version}-%{release} +Requires: libbtrfsutil1 = %{version} + +%description -n libbtrfsutil-devel +This package contains the libraries and headers files for developers to +build applications to interface with Btrfs using libbtrfsutil. + %description udev-rules This package contains the udev rule file for configuring device mapper devices that are components of btrfs file systems. It is meant to be @@ -148,6 +168,7 @@ %prep %setup -q -n btrfs-progs-v%{version} %patch1 -p1 +%patch2 -p1 %build ./autogen.sh @@ -157,6 +178,7 @@ %endif %configure \ + --disable-python \ %if !%build_docs --disable-documentation \ %endif @@ -237,6 +259,10 @@ %postun -n libbtrfs0 -p /sbin/ldconfig +%post -n libbtrfsutil1 -p /sbin/ldconfig + +%postun -n libbtrfsutil1 -p /sbin/ldconfig + %if 0%{?suse_version} >= 1310 %post %{?regenerate_initrd_post} @@ -344,6 +370,16 @@ %{_includedir}/btrfs/* %{_libdir}/libbtrfs.so +%files -n libbtrfsutil1 +%defattr(-, root, root) +%{_libdir}/libbtrfsutil.so.* + +%files -n libbtrfsutil-devel +%defattr(-, root, root) +%dir %{_includedir} +%{_includedir}/btrfsutil.h +%{_libdir}/libbtrfsutil.so + %if %{package_udev_rules} %files udev-rules %defattr(-, root, root) ++++++ 0001-btrfs-progs-build-fix-static-build.patch ++++++ >From 9ee71d74d9ed339b6c7a886125d57eb3bde84547 Mon Sep 17 00:00:00 2001 From: David Sterba <[email protected]> Date: Fri, 6 Apr 2018 17:39:56 +0200 Subject: [PATCH] btrfs-progs: build: fix static build Add missing libbtrfsutil objects to btrfs.static. Signed-off-by: David Sterba <[email protected]> --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5ba76d2eee40..8785ca2af77e 100644 --- a/Makefile +++ b/Makefile @@ -261,6 +261,7 @@ endif static_objects = $(patsubst %.o, %.static.o, $(objects)) static_cmds_objects = $(patsubst %.o, %.static.o, $(cmds_objects)) static_libbtrfs_objects = $(patsubst %.o, %.static.o, $(libbtrfs_objects)) +static_libbtrfsutil_objects = $(patsubst %.o, %.static.o, $(libbtrfsutil_objects)) static_convert_objects = $(patsubst %.o, %.static.o, $(convert_objects)) static_mkfs_objects = $(patsubst %.o, %.static.o, $(mkfs_objects)) static_image_objects = $(patsubst %.o, %.static.o, $(image_objects)) @@ -453,7 +454,7 @@ btrfs: btrfs.o $(objects) $(cmds_objects) $(libs_static) @echo " [LD] $@" $(Q)$(CC) -o $@ $^ $(LDFLAGS) $(LIBS) $(LIBS_COMP) -btrfs.static: btrfs.static.o $(static_objects) $(static_cmds_objects) $(static_libbtrfs_objects) +btrfs.static: btrfs.static.o $(static_objects) $(static_cmds_objects) $(static_libbtrfs_objects) $(static_libbtrfsutil_objects) @echo " [LD] $@" $(Q)$(CC) -o $@ $^ $(STATIC_LDFLAGS) $(STATIC_LIBS) $(STATIC_LIBS_COMP) -- 2.16.2 ++++++ btrfs-progs-v4.15.tar.gz -> btrfs-progs-v4.16.tar.gz ++++++ ++++ 46334 lines of diff (skipped)
