Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package 7zip for openSUSE:Factory checked in 
at 2022-12-07 17:34:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/7zip (Old)
 and      /work/SRC/openSUSE:Factory/.7zip.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "7zip"

Wed Dec  7 17:34:25 2022 rev:6 rq:1040601 version:22.01

Changes:
--------
--- /work/SRC/openSUSE:Factory/7zip/7zip.changes        2022-07-29 
16:47:31.714590942 +0200
+++ /work/SRC/openSUSE:Factory/.7zip.new.1835/7zip.changes      2022-12-07 
17:35:30.920719933 +0100
@@ -1,0 +2,6 @@
+Wed Nov 30 10:47:14 UTC 2022 - Danilo Spinella <danilo.spine...@suse.com>
+
+- Enable ASM to increase performance in compression and decompression
+  bsc#1202197
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ 7zip.spec ++++++
--- /var/tmp/diff_new_pack.gqkAIi/_old  2022-12-07 17:35:31.884725212 +0100
+++ /var/tmp/diff_new_pack.gqkAIi/_new  2022-12-07 17:35:31.888725234 +0100
@@ -33,6 +33,9 @@
 BuildRequires:  dos2unix
 BuildRequires:  gcc
 BuildRequires:  gcc-c++
+%ifarch x86_64 %ix86
+BuildRequires:  uasm
+%endif
 Conflicts:      p7zip
 Conflicts:      p7zip-full
 Provides:       p7zip = %{version}
@@ -59,14 +62,33 @@
 %endif
 # Inject CFLAGS
 sed -i 's/^ -fPIC/ -fPIC %{optflags}/' CPP/7zip/7zip_gcc.mak
+sed -i 's/LFLAGS_ALL = -s/LFLAGS_ALL =/' CPP/7zip/7zip_gcc.mak
+%ifarch x86_64 %ix86
+sed -i 's/$(CXX) -o $(PROGPATH)/$(CXX) -Wl,-z,noexecstack -o $(PROGPATH)/' 
CPP/7zip/7zip_gcc.mak
+%endif
 
 %build
-cd CPP/7zip//Bundles/Alone2
-%make_build -f ../../cmpl_gcc.mak DISABLE_RAR_COMPRESS=1
+cd CPP/7zip/Bundles/Alone2
+%ifarch x86_64
+%make_build -f ../../cmpl_gcc_x64.mak MY_ASM=uasm
+%else
+%ifarch %ix86
+%make_build -f ../../cmpl_gcc_x86.mak MY_ASM=uasm
+%else
+%make_build -f ../../cmpl_gcc.mak
+%endif
+%endif
 
 %install
-install -d -m 755 %{buildroot}%{_bindir}
-install -Dt %{buildroot}%{_bindir} CPP/7zip/Bundles/Alone2/b/g/7zz
+%ifarch x86_64
+install -Dm 755 CPP/7zip/Bundles/Alone2/b/g_x64/7zz %{buildroot}%{_bindir}/7zz
+%else
+%ifarch %ix86
+install -Dm 755 CPP/7zip/Bundles/Alone2/b/g_x86/7zz %{buildroot}%{_bindir}/7zz
+%else
+install -Dm 755 CPP/7zip/Bundles/Alone2/b/g/7zz %{buildroot}%{_bindir}/7zz
+%endif
+%endif
 # Create links the executables provided by p7zip
 ln -s %{_bindir}/7zz %{buildroot}%{_bindir}/7z
 ln -s %{_bindir}/7z %{buildroot}%{_bindir}/7za

Reply via email to