Accepting request 1010925 from home:duwe:branches:filesystems
- Do not repeat openSUSE / SLE version tests - Actually format and package the man pages OBS-URL: https://build.opensuse.org/request/show/1010925 OBS-URL: https://build.opensuse.org/package/show/filesystems/squashfs?expand=0&rev=54
This commit is contained in:
parent
a851d38ff2
commit
ae133ef5b2
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 14 12:33:23 UTC 2022 - Torsten Duwe <duwe@suse.com>
|
||||||
|
|
||||||
|
- Do not repeat openSUSE / SLE version tests
|
||||||
|
|
||||||
|
- Actually format and package the man pages
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun May 8 04:11:28 UTC 2022 - Cristian Rodríguez <crrodriguez@opensuse.org>
|
Sun May 8 04:11:28 UTC 2022 - Cristian Rodríguez <crrodriguez@opensuse.org>
|
||||||
|
|
||||||
|
@ -26,15 +26,18 @@ URL: https://github.com/plougher/squashfs-tools
|
|||||||
Source0: https://github.com/plougher/squashfs-tools/archive/refs/tags/%{version}.tar.gz
|
Source0: https://github.com/plougher/squashfs-tools/archive/refs/tags/%{version}.tar.gz
|
||||||
Patch0: squashfs-64k.patch
|
Patch0: squashfs-64k.patch
|
||||||
Patch1: squashfs-thread-limit
|
Patch1: squashfs-thread-limit
|
||||||
|
BuildRequires: help2man
|
||||||
BuildRequires: lzma-devel
|
BuildRequires: lzma-devel
|
||||||
BuildRequires: lzo-devel
|
BuildRequires: lzo-devel
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
Supplements: filesystem(squashfs)
|
Supplements: filesystem(squashfs)
|
||||||
%if %{?suse_version} > 1315
|
%if %{?suse_version} > 1315
|
||||||
BuildRequires: liblz4-devel
|
BuildRequires: liblz4-devel
|
||||||
|
%define _lz4_def LZ4_SUPPORT=1
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150100
|
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150100
|
||||||
BuildRequires: libzstd-devel
|
BuildRequires: libzstd-devel
|
||||||
|
%define _zstd_def ZSTD_SUPPORT=1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -47,21 +50,18 @@ squashfs images.
|
|||||||
%build
|
%build
|
||||||
%define _lto_cflags %{nil}
|
%define _lto_cflags %{nil}
|
||||||
sed -i -e "s|-O2|%{optflags}|" squashfs-tools/Makefile
|
sed -i -e "s|-O2|%{optflags}|" squashfs-tools/Makefile
|
||||||
%make_build -C squashfs-tools LZMA_XZ_SUPPORT=1 XZ_SUPPORT=1 LZO_SUPPORT=1 \
|
make %{?_smp_mflags} -C squashfs-tools \
|
||||||
%if %{?suse_version} > 1315
|
LZMA_XZ_SUPPORT=1 XZ_SUPPORT=1 LZO_SUPPORT=1 %{?_lz4_def} %{?_zstd_def}
|
||||||
LZ4_SUPPORT=1 \
|
|
||||||
%endif
|
|
||||||
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150100
|
|
||||||
ZSTD_SUPPORT=1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
make -C squashfs-tools install \
|
||||||
install -m 755 squashfs-tools/{un,mk}squashfs %{buildroot}%{_bindir}
|
INSTALL_PREFIX=%{buildroot}%{_prefix} \
|
||||||
|
INSTALL_MANPAGES_DIR=%{buildroot}%{_mandir}/man1
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc README-%{version} ACKNOWLEDGEMENTS CHANGES USAGE
|
%doc README-%{version} ACKNOWLEDGEMENTS CHANGES USAGE
|
||||||
%{_bindir}/*squashfs
|
%{_bindir}/*
|
||||||
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user