Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qpress for openSUSE:Factory checked 
in at 2025-02-21 21:37:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qpress (Old)
 and      /work/SRC/openSUSE:Factory/.qpress.new.1873 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qpress"

Fri Feb 21 21:37:15 2025 rev:9 rq:1247571 version:20230507

Changes:
--------
--- /work/SRC/openSUSE:Factory/qpress/qpress.changes    2024-02-21 
17:56:43.783983179 +0100
+++ /work/SRC/openSUSE:Factory/.qpress.new.1873/qpress.changes  2025-02-21 
21:37:36.775349512 +0100
@@ -1,0 +2,8 @@
+Thu Feb 20 18:43:42 UTC 2025 - Andreas Stieger <[email protected]>
+
+- update to 20230507 from a new upstream:
+  * general code cleanup and build system updates
+  * portability and compiler fixes
+- drop qpress-1.1-isatty-include.patch, included
+
+-------------------------------------------------------------------

Old:
----
  COPYING
  qpress-1.1-isatty-include.patch
  qpress-11-source.zip

New:
----
  qpress-20230507.tar.gz

BETA DEBUG BEGIN:
  Old:  * portability and compiler fixes
- drop qpress-1.1-isatty-include.patch, included
BETA DEBUG END:

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

Other differences:
------------------
++++++ qpress.spec ++++++
--- /var/tmp/diff_new_pack.qtjG1y/_old  2025-02-21 21:37:37.387374995 +0100
+++ /var/tmp/diff_new_pack.qtjG1y/_new  2025-02-21 21:37:37.391375161 +0100
@@ -1,8 +1,8 @@
 #
 # spec file for package qpress
 #
+# Copyright (c) 2025 Andreas Stieger <[email protected]>
 # Copyright (c) 2020 SUSE LLC
-# Copyright (c) 2013 Andreas Stieger <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,17 +18,14 @@
 
 
 Name:           qpress
-Version:        1.1
+Version:        20230507
 Release:        0
 Summary:        File archiver designed for speed
-License:        GPL-2.0-only
+License:        GPL-1.0-only AND GPL-2.0-only AND GPL-3.0-only
 Group:          Productivity/Archiving/Compression
-URL:            https://www.quicklz.com/
-Source0:        http://www.quicklz.com/%{name}-11-source.zip
-Source1:        COPYING
-Patch0:         qpress-1.1-isatty-include.patch
-BuildRequires:  gcc-c++
-BuildRequires:  unzip
+URL:            https://github.com/PierreLvx/qpress
+Source0:        
https://github.com/PierreLvx/qpress/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+BuildRequires:  c++_compiler
 
 %description
 qpress is a portable file archiver using QuickLZ and designed to utilize
@@ -45,24 +42,26 @@
 * data recovery of damaged archives with 64 Kbyte grannularity
 
 %prep
-%autosetup -p1 -c
-
-cp %{SOURCE1} .
+%autosetup -p1
 
 %build
+export CFLAGS="%{optflags}"
 %if %{do_profiling}
-  c++ %{optflags} %{cflags_profile_generate} -o qpress qpress.cpp aio.cpp 
quicklz.c utilities.cpp -lpthread
+  %make_build CFLAGS="$CFLAGS %{cflags_profile_generate}" 
LDFLAGS="-fprofile-arcs"
   ./qpress -o *.cpp | ./qpress -dio > /dev/null
-  c++ %{optflags} %{cflags_profile_feedback} -o qpress qpress.cpp aio.cpp 
quicklz.c utilities.cpp -lpthread
+  %make_build CFLAGS="$CFLAGS %{cflags_profile_feedback}" 
LDFLAGS="-fprofile-arcs"
 %else
-  c++ %{optflags} -o qpress qpress.cpp aio.cpp quicklz.c utilities.cpp 
-lpthread
+  %make_build
 %endif
 
 %install
-install -Dpm 0755 qpress \
-  %{buildroot}%{_bindir}/qpress
+mkdir -p %{buildroot}/usr/bin
+%make_install PREFIX=%{buildroot}/usr
 
 %files
-%license COPYING
+%license LICENSE.GPL-1.0
+%license LICENSE.GPL-2.0
+%license LICENSE.GPL-3.0
+%doc readme.md
 %{_bindir}/qpress
 

Reply via email to