Hello community,

here is the log from the commit of package f2fs-tools for openSUSE:Factory 
checked in at 2016-08-31 00:10:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/f2fs-tools (Old)
 and      /work/SRC/openSUSE:Factory/.f2fs-tools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "f2fs-tools"

Changes:
--------
--- /work/SRC/openSUSE:Factory/f2fs-tools/f2fs-tools.changes    2016-01-26 
10:15:06.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.f2fs-tools.new/f2fs-tools.changes       
2016-08-31 00:11:41.000000000 +0200
@@ -1,0 +2,28 @@
+Sun Aug 28 12:14:21 UTC 2016 - [email protected]
+
+- Trim filelists, update descriptions, move symlink collection into
+  their own subpackage.
+
+-------------------------------------------------------------------
+Sun Aug 28 11:00:18 UTC 2016 - [email protected]
+
+- Update to version 1.7:
+  * mkfs: define DISCARD/SECDISCARD macro
+  * dump.f2fs: show inode->i_dir_level
+  * f2fs.fsck: fix endianess
+  * fsck.f2fs: correct variable type and name
+  * fsck.f2fs: fix typo
+  * fsck.f2fs: free nat entry cache
+  * f2fs-tools: update the format of output message
+  * fsck.f2fs: clean up duplicated code
+  * fsck: recover symlink with zero i_size
+  * f2fs-tools: release 1.7.0
+- Add f2fs-tools-1.4.0-bigendian.patch (from Fedora)
+- Use _service to fetch release from upstream git
+- Split lib packages and create devel package (as andoid tools
+  need it)
+- Link binaries from /usr/sbin to /sbin, many tools expect fsck
+  and friends to be in /sbin
+- Supplement f2fs filesystem
+
+-------------------------------------------------------------------

Old:
----
  f2fs-tools-1.6.0.tar.xz

New:
----
  _service
  f2fs-tools-1.4.0-bigendian.patch
  f2fs-tools-1.7.0.tar.xz

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

Other differences:
------------------
++++++ f2fs-tools.spec ++++++
--- /var/tmp/diff_new_pack.uIFurV/_old  2016-08-31 00:11:44.000000000 +0200
+++ /var/tmp/diff_new_pack.uIFurV/_new  2016-08-31 00:11:44.000000000 +0200
@@ -17,55 +17,107 @@
 
 
 Name:           f2fs-tools
-Version:        1.6.0
+Version:        1.7.0
 Release:        0
 Summary:        Utilities for the Flash-friendly Filesystem (F2FS)
 License:        GPL-2.0 and LGPL-2.1
 Group:          System/Filesystems
-Url:            http://f2fs-tools.sf.net/_(disused)
-
-#Snapshot:     v1.6.0
-#Git-Clone:    git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools
-#DL-URL:       no pre-made tarballs provided
+Url:            
https://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git
 Source:         %name-%version.tar.xz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Patch1:         f2fs-tools-1.4.0-bigendian.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
 BuildRequires:  xz
+BuildRequires:  pkgconfig(libselinux)
 BuildRequires:  pkgconfig(uuid)
+Supplements:    filesystem(f2fs)
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
-Utilities needed to create and maintain F2 filesystems.
+Utilities needed to create and maintain so-called Flash-Friendly (F2)
+filesystems.
+
+%package -n libf2fs1
+Summary:        Library to manipulate F2 filesystems
+Group:          System/Libraries
+
+%description -n libf2fs1
+This package contains a shared library used for manipulation of F2
+filesystems.
+
+%package -n libf2fs_format0
+Summary:        Library to create F2 filesystems
+Group:          System/Libraries
+
+%description -n libf2fs_format0
+This package contains a shared library to format F2 filesystems.
+
+%package compat
+Summary:        f2fs utility compatibility symlinks
+Group:          System/Filesystem
+BuildArch:      noarch
+
+%description compat
+This subpackage contains symbolic links /sbin/fsck.* and /sbin/mkfs.*
+needed for programs that assume these locations.
+
+%package devel
+Summary:        Development files for f2fs
+Group:          Development/Languages/C and C++
+Requires:       libf2fs1 = %version
+Requires:       libf2fs_format0 = %version
+
+%description devel
+This package contains development files for %name.
 
 %prep
-%setup -qn %name
+%setup -q
+%patch -P 1 -p1
 
 %build
-if [ ! -e configure ]; then
-       autoreconf -fi
-fi
+autoreconf -fiv
 %configure --disable-static
-make %{?_smp_mflags} sbindir="%_sbindir"
-
-%install
-b="%buildroot"
-%make_install sbindir="%_sbindir"
-# The devel files are quite useless at this time without public headers.
-rm -f "$b/%_libdir"/*.{la,so}
-# This is a useless library which just incorporates mkfs verbatim
-rm -f "$b/%_libdir"/libf2fs_format*
+make %{?_smp_mflags}
 
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%install -p /bin/bash
+%make_install
+find %buildroot -type f -name "*.la" -delete -print
+
+mkdir -p "%buildroot/sbin" "%buildroot/%_includedir"
+ln -sf 
"%_sbindir"/{defrag.f2fs,dump.f2fs,f2fstat,fibmap.f2fs,fsck.f2fs,mkfs.f2fs,parse.f2fs,resize.f2fs,sload.f2fs}
 "%buildroot/sbin/"
+# for android-tools… this is of course totally untested.
+# The shared library for example has a "main" symbol :-/
+cp -a include/f2fs_fs.h mkfs/f2fs_format_utils.h \
+       "%buildroot/%_includedir/"
+
+%post   -n libf2fs1 -p /sbin/ldconfig
+%postun -n libf2fs1 -p /sbin/ldconfig
+%post   -n libf2fs_format0 -p /sbin/ldconfig
+%postun -n libf2fs_format0 -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
-%_sbindir/f2fstat
-%_sbindir/*.f2fs
-%_libdir/libf2fs*.so.*
-%_mandir/man8/*
 %doc COPYING
+%_sbindir/*
+%_mandir/man8/*
+
+%files -n libf2fs1
+%defattr(-,root,root)
+%_libdir/libf2fs.so.*
+
+%files -n libf2fs_format0
+%defattr(-,root,root)
+%_libdir/libf2fs_format.so.*
+
+%files compat
+%defattr(-,root,root)
+/sbin/*
+
+%files devel
+%defattr(-,root,root)
+%_includedir/*.h
+%_libdir/libf2fs*.so
 
 %changelog

++++++ _service ++++++
<services>
        <service mode="disabled" name="tar_scm">
                <param 
name="url">https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git</param>
                <param name="scm">git</param>
                <param name="changesgenerate">enable</param>
                <param name="filename">f2fs-tools</param>
                <param name="version">1.7.0</param>
        </service>
        <service mode="disabled" name="recompress">
                <param name="file">*.tar</param>
                <param name="compression">xz</param>
        </service>
        <service mode="disabled" name="set_version"/>
</services>
++++++ f2fs-tools-1.4.0-bigendian.patch ++++++
---
 include/f2fs_fs.h |    1 +
 1 file changed, 1 insertion(+)

Index: f2fs-tools-1.7.0/include/f2fs_fs.h
===================================================================
--- f2fs-tools-1.7.0.orig/include/f2fs_fs.h
+++ f2fs-tools-1.7.0/include/f2fs_fs.h
@@ -95,6 +95,7 @@ static inline uint64_t bswap_64(uint64_t
 #define cpu_to_le32(x) ((__u32)(x))
 #define cpu_to_le64(x) ((__u64)(x))
 #elif __BYTE_ORDER == __BIG_ENDIAN
+#include <byteswap.h>
 #define le16_to_cpu(x) bswap_16(x)
 #define le32_to_cpu(x) bswap_32(x)
 #define le64_to_cpu(x) bswap_64(x)
++++++ f2fs-tools-1.6.0.tar.xz -> f2fs-tools-1.7.0.tar.xz ++++++
++++ 7207 lines of diff (skipped)


Reply via email to