1
0
forked from pool/erofs-utils

new implementation; 0.1+20190803

OBS-URL: https://build.opensuse.org/package/show/filesystems/erofs-utils?expand=0&rev=8
This commit is contained in:
Jan Engelhardt 2019-08-23 04:54:14 +00:00 committed by Git OBS Bridge
parent 448c820167
commit 043f8d86b8
7 changed files with 19 additions and 44 deletions

View File

@ -2,9 +2,9 @@
<service mode="disabled" name="tar_scm">
<param name="url">https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/</param>
<param name="scm">git</param>
<param name="revision">mkfs-dev</param>
<param name="parent-tag">c38695e5e036a5ab6c7847c1b6d78cdf1a118585</param>
<param name="versionformat">0.0.1~@TAG_OFFSET@</param>
<param name="revision">erofs-utils_20190803</param>
<param name="parent-tag">589ab3accd0908f4664c839c6a3a320fa56346ec</param>
<param name="versionformat">0.1+20190803</param>
</service>
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5e8fcc55b3148b8bd6d9758e529417b08264c896a4b67dd6858974a0534a7f26
size 28364

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:662c87787c7775bcf3fcd0a67df0e05d48ee1af67f526f4c6790e9f725291bcf
size 29004

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Aug 23 04:45:53 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Update to new upstream release 20190803
* The mkfs utility was rewritten
- Drop no-date.diff (no longer needed)
-------------------------------------------------------------------
Thu Mar 14 19:34:57 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -17,23 +17,20 @@
Name: erofs-utils
Version: 0.0.1~23
Version: 0.1+20190803
Release: 0
Summary: Utilities for the Extendable Read-Only Filesystem (EROFS)
License: GPL-2.0-or-later
Group: System/Filesystems
Url: https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/
URL: https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/
Source: %name-%version.tar.xz
Source2: https://github.com/lz4/lz4/archive/v1.8.3.tar.gz#/lz4-1.8.3.tar.gz
Patch1: no-date.diff
BuildRequires: autoconf >= 2.69
BuildRequires: automake
BuildRequires: libtool
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Supplements: filesystem(erofs)
# erofs depends on an unstable nonexported API
Provides: bundled(lz4) = 1.8.3
BuildRequires: liblz4-devel >= 1.9
%description
mkfs.erofs is a user-space tool to create erofs filesystem images. It
@ -47,17 +44,11 @@ uncompressed:
file should be inlined or not properly.
%prep
%setup -qa2
%patch -P 1 -p1
%autosetup -p1
%build
pushd lz4-1.8.3/
make %{?_smp_mflags} CFLAGS="%{optflags}" V=1
popd
autoreconf -fiv
export CPPFLAGS="-I$PWD/lz4-1.8.3/lib"
%configure --disable-static --with-lz4-include="$PWD/lz4-1.8.3/lib" \
--with-lz4-lib="$PWD/lz4-1.8.3/lib" --bindir="%_sbindir"
%configure --bindir="%_sbindir"
make %{?_smp_mflags}
%install

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33af5936ac06536805f9745e0b6d61da606a1f8b4cc5c04dd3cbaca3b9b4fc43
size 327897

View File

@ -1,20 +0,0 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2018-11-20 00:09:16.003548811 +0100
---
mkfs/erofs_config.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: erofs-utils-0.0.1~23/mkfs/erofs_config.c
===================================================================
--- erofs-utils-0.0.1~23.orig/mkfs/erofs_config.c
+++ erofs-utils-0.0.1~23/mkfs/erofs_config.c
@@ -20,7 +20,7 @@ void mkfs_init_configure(void)
memset(&erofs_cfg, 0, sizeof(erofs_cfg));
erofs_cfg.c_alg_name = "none";
erofs_cfg.c_dbg_lvl = 0;
- erofs_cfg.c_version = PACKAGE_VERSION " " __DATE__ " " __TIME__;
+ erofs_cfg.c_version = PACKAGE_VERSION;
}
void mkfs_dump_config(void)