Hello community, here is the log from the commit of package nilfs-utils for openSUSE:Factory checked in at 2015-08-01 11:37:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nilfs-utils (Old) and /work/SRC/openSUSE:Factory/.nilfs-utils.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "nilfs-utils" Changes: -------- --- /work/SRC/openSUSE:Factory/nilfs-utils/nilfs-utils.changes 2015-03-28 18:39:20.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.nilfs-utils.new/nilfs-utils.changes 2015-08-01 11:37:11.000000000 +0200 @@ -1,0 +2,44 @@ +Sat Jul 25 12:04:17 UTC 2015 - mpluskal@suse.com + +- Update to 2.2.3 + * lscp: accelerate backward checkpoint listing + * lib/nilfs.c: fix potential leak at nilfs_open() + * get rid of unnecessary null checks before calling free() + * get rid of my_free() wrapper function +- Changes for 2.2.2 + * mount.nilfs2: invoke cleanerd even if no-mtab option is specified; + this fixes failure of cleanerd invocation under systemd 216+. + * lscp: always show snapshots, even if marked minor. +- Changes for 2.2.1 + * nilfs-clean: do not override min_reclaimable_blocks if -m option + is not used. + * nilfs_cleanerd.conf: try to use set_suinfo ioctl by default + * nilfs_cleanerd.conf: set min_reclaimable_blocks parameter to 10 + percent to more reduce relocation of static data. + * libnilfs: set errno when device doesn't contain valid NILFS data + * mkfs.nilfs2: fix gcc warning "array subscript is above array bounds" + * bin/*: improve error message on failure of nilfs_open() + * install nilfs-* executables to /usr/sbin to resolve warnings of + adequate (Debian package quality testing tool). + * nilfs_cleanerd: link libraries statically to make nilfs_cleanerd + self-contained in /sbin directory. + * fix typos in messages, manpages, source files, and ChangeLog file. +- Changes for 2.2.0 + * lscp: show block count by default + * lssu: add option to print count of live blocks + * lssu: display "p" flag on protected segments + * fix build of dist archives + * lib/gc.c: refactor reclaim function + * lib/gc.c: add optimized version of nilfs_xreclaim_segments + * cleanerd: use nilfs_xreclaim_segment() + * cleanerd: add a no_timeout flag to enable faster loop + * lib/nilfs.c: add support for NILFS_IOCTL_SET_SUINFO ioctl + * lib/nilfs.c: add NILFS_OPT_SET_SUINFO + * nilfs-clean: add cmdline param min-reclaimable-blocks + * move generic macros into util.h + * fix coding style issues + * bump up version of nilfs-utils written in manpages +- Build devel package +- Split shared libraries to separate packages + +------------------------------------------------------------------- Old: ---- nilfs-utils-2.1.6.tar.bz2 New: ---- nilfs-utils-2.2.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nilfs-utils.spec ++++++ --- /var/tmp/diff_new_pack.qAPMEm/_old 2015-08-01 11:37:12.000000000 +0200 +++ /var/tmp/diff_new_pack.qAPMEm/_new 2015-08-01 11:37:12.000000000 +0200 @@ -16,70 +16,107 @@ # -%define build_devel_pkg 0 +%define libnilfs libnilfs0 +%define libcleaner libnilfscleaner0 +%define libgc libnilfsgc0 Name: nilfs-utils -Version: 2.1.6 +Version: 2.2.3 Release: 0 Summary: Utilities for NILFS License: GPL-2.0 Group: System/Filesystems Url: http://www.nilfs.org Source: http://nilfs.sourceforge.net/download/%{name}-%{version}.tar.bz2 +BuildRequires: chrpath BuildRequires: libmount-devel -BuildRequires: libtool BuildRequires: libuuid-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package contains utility programs for NILFS v2. -%if %{build_devel_pkg} +%package -n %{libnilfs} +Summary: Library for interacting with nilfs +Group: System/Libraries + +%description -n %{libnilfs} +This package contains shared library needed for some applications to +interface with nilfs + +%package -n %{libcleaner} +Summary: Cleaner library for interacting with nilfs +Group: System/Libraries + +%description -n %{libcleaner} +This package contains shared cleaner library needed for some applications +to interface with nilfs + +%package -n %{libgc} +Summary: Garbage collection library for interacting with nilfs +Group: System/Libraries + +%description -n %{libgc} +This package contains shared garbage collection library needed for some +applications to interface with nilfs + %package devel Summary: Development package for the libnilfs library Group: Development/Libraries/C and C++ -Requires: %{lname} = %{version} +Requires: %{libnilfs} = %{version} %description devel This package contains the development files for NILFS v2. -%endif %prep %setup -q %build -# autoreconf -fi -%configure --disable-static --enable-libmount +%configure \ + --disable-static \ + --enable-libmount make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} root_sbindir=/sbin root_libdir=/%{_lib} # remove unneeded files -# rm -f $RPM_BUILD_ROOT%{_libdir}/*.a find %{buildroot} -type f -name "*.la" -delete -print -%if !%{build_devel_pkg} -# remove devel files (not packaged for the time being) -rm -rf %{buildroot}%{_includedir} -rm -f %{buildroot}%{_libdir}/*.so -%endif - -%post -p /sbin/ldconfig +chrpath -d %{buildroot}/sbin/* -%postun -p /sbin/ldconfig +%post -n %{libnilfs} -p /sbin/ldconfig +%post -n %{libcleaner} -p /sbin/ldconfig +%post -n %{libgc} -p /sbin/ldconfig + +%postun -n %{libnilfs} -p /sbin/ldconfig +%postun -n %{libcleaner} -p /sbin/ldconfig +%postun -n %{libgc} -p /sbin/ldconfig %files %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/nilfs_cleanerd.conf /sbin/* +%{_sbindir}/* %{_bindir}/* -%{_libdir}/libnilfs*.so.* %{_mandir}/man?/* -%if %{build_devel_pkg} +%files -n %{libnilfs} +%defattr(-,root,root) +%{_libdir}/libnilfs.so.* + +%files -n %{libcleaner} +%defattr(-,root,root) +%{_libdir}/libnilfscleaner.so.* + +%files -n %{libgc} +%defattr(-,root,root) +%{_libdir}/libnilfsgc.so.* + %files devel %defattr(-,root,root) %{_includedir}/nilfs.h -%{_includedir}/nilfs_fs.h +%{_includedir}/nilfs2_fs.h +%{_includedir}/nilfs_cleaner.h %{_libdir}/libnilfs.so -%endif +%{_libdir}/libnilfscleaner.so +%{_libdir}/libnilfsgc.so %changelog ++++++ nilfs-utils-2.1.6.tar.bz2 -> nilfs-utils-2.2.3.tar.bz2 ++++++ ++++ 11145 lines of diff (skipped)