!4 squashfs-tools delete -S git from %autosetup, and delete BuildRequires git
From: @chenyanpanHW Reviewed-by: @liuzhiqiang26 Signed-off-by: @liuzhiqiang26
This commit is contained in:
commit
d7b8644d36
@ -1,6 +1,6 @@
|
|||||||
Name: squashfs-tools
|
Name: squashfs-tools
|
||||||
Version: 4.4
|
Version: 4.4
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Utility for the squashfs filesystems
|
Summary: Utility for the squashfs filesystems
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://squashfs.sourceforge.net/
|
URL: http://squashfs.sourceforge.net/
|
||||||
@ -12,7 +12,7 @@ Patch2: 0002-Support-creating-sockets-in-unsquashfs.patch
|
|||||||
Patch3: 0003-squashfs-tools-fix-build-failure-against-gcc-10.patch
|
Patch3: 0003-squashfs-tools-fix-build-failure-against-gcc-10.patch
|
||||||
Patch4: 0004-xattr-Initialize-header-to-avoid-valgrind-warning.patch
|
Patch4: 0004-xattr-Initialize-header-to-avoid-valgrind-warning.patch
|
||||||
|
|
||||||
BuildRequires: zlib-devel xz-devel libzstd-devel git
|
BuildRequires: zlib-devel xz-devel libzstd-devel
|
||||||
BuildRequires: lzo-devel libattr-devel lz4-devel gcc
|
BuildRequires: lzo-devel libattr-devel lz4-devel gcc
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -21,7 +21,7 @@ It uses either gzip/xz/lzo/lz4/zstd compression to compress both files, inodes
|
|||||||
and directories.
|
and directories.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n squashfs%{version} -p1 -S git
|
%autosetup -n squashfs%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1 ZSTD_SUPPORT=1 \
|
CFLAGS="%{optflags}" XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1 ZSTD_SUPPORT=1 \
|
||||||
@ -41,6 +41,9 @@ install -D -m 755 squashfs-tools/unsquashfs %{buildroot}%{_sbindir}/unsquashfs
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 4.4-4
|
||||||
|
- DESC: delete -S git from %autosetup, and delete BuildRequires git
|
||||||
|
|
||||||
* Tue Jun 29 2021 zhouwenpei <zhouwenpei1@huawei.com> - 4.4-3
|
* Tue Jun 29 2021 zhouwenpei <zhouwenpei1@huawei.com> - 4.4-3
|
||||||
- add buildrequire gcc.
|
- add buildrequire gcc.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user