Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package squashfs for openSUSE:Factory 
checked in at 2022-10-15 16:35:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/squashfs (Old)
 and      /work/SRC/openSUSE:Factory/.squashfs.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "squashfs"

Sat Oct 15 16:35:03 2022 rev:45 rq:1010967 version:4.5.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/squashfs/squashfs.changes        2022-05-17 
17:23:44.679133425 +0200
+++ /work/SRC/openSUSE:Factory/.squashfs.new.2275/squashfs.changes      
2022-10-15 16:36:25.426004374 +0200
@@ -1,0 +2,7 @@
+Fri Oct 14 12:33:23 UTC 2022 - Torsten Duwe <d...@suse.com>
+
+- Do not repeat openSUSE / SLE version tests
+
+- Actually format and package the man pages
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ squashfs.spec ++++++
--- /var/tmp/diff_new_pack.Q8unE6/_old  2022-10-15 16:36:25.978005701 +0200
+++ /var/tmp/diff_new_pack.Q8unE6/_new  2022-10-15 16:36:25.994005740 +0200
@@ -26,15 +26,18 @@
 Source0:        
https://github.com/plougher/squashfs-tools/archive/refs/tags/%{version}.tar.gz
 Patch0:         squashfs-64k.patch
 Patch1:         squashfs-thread-limit
+BuildRequires:  help2man
 BuildRequires:  lzma-devel
 BuildRequires:  lzo-devel
 BuildRequires:  zlib-devel
 Supplements:    filesystem(squashfs)
 %if %{?suse_version} > 1315
 BuildRequires:  liblz4-devel
+%define _lz4_def LZ4_SUPPORT=1
 %endif
 %if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150100
 BuildRequires:  libzstd-devel
+%define _zstd_def ZSTD_SUPPORT=1
 %endif
 
 %description
@@ -47,21 +50,18 @@
 %build
 %define _lto_cflags %{nil}
 sed -i -e "s|-O2|%{optflags}|" squashfs-tools/Makefile
-%make_build -C squashfs-tools LZMA_XZ_SUPPORT=1 XZ_SUPPORT=1 LZO_SUPPORT=1 \
-%if %{?suse_version} > 1315
-   LZ4_SUPPORT=1 \
-%endif
-%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150100
-   ZSTD_SUPPORT=1
-%endif
+make %{?_smp_mflags} -C squashfs-tools \
+       LZMA_XZ_SUPPORT=1 XZ_SUPPORT=1 LZO_SUPPORT=1 %{?_lz4_def} %{?_zstd_def}
 
 %install
-mkdir -p %{buildroot}%{_bindir}
-install -m 755 squashfs-tools/{un,mk}squashfs %{buildroot}%{_bindir}
+make -C squashfs-tools install \
+       INSTALL_PREFIX=%{buildroot}%{_prefix} \
+       INSTALL_MANPAGES_DIR=%{buildroot}%{_mandir}/man1
 
 %files
 %license COPYING
 %doc README-%{version} ACKNOWLEDGEMENTS CHANGES USAGE
-%{_bindir}/*squashfs
+%{_bindir}/*
+%{_mandir}/man1/*
 
 %changelog

Reply via email to