Hello community,

here is the log from the commit of package libarchive for openSUSE:Leap:15.2 
checked in at 2020-03-20 05:52:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/libarchive (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.libarchive.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libarchive"

Fri Mar 20 05:52:32 2020 rev:21 rq:782198 version:3.4.2

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/libarchive/libarchive.changes  2020-02-27 
06:41:00.417547573 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.libarchive.new.3160/libarchive.changes        
2020-03-20 05:52:44.588056957 +0100
@@ -1,0 +2,6 @@
+Tue Feb 18 14:46:07 UTC 2020 - Ismail Dönmez <[email protected]>
+
+- Switch back to cmake build now that cmake-mini exists, this will
+  no longer create a build-cycle.
+
+-------------------------------------------------------------------
@@ -71,0 +78 @@
+    including CVE-2019-18408
@@ -117,0 +125 @@
+- Fixes CVE-2017-14501, CVE-2017-14502, CVE-2017-14503

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

Other differences:
------------------
++++++ libarchive.spec ++++++
--- /var/tmp/diff_new_pack.szyUQc/_old  2020-03-20 05:52:45.432057520 +0100
+++ /var/tmp/diff_new_pack.szyUQc/_new  2020-03-20 05:52:45.436057522 +0100
@@ -29,6 +29,7 @@
 %bcond_without openssl
 %bcond_without ext2fs
 %endif
+
 Name:           libarchive
 Version:        3.4.2
 Release:        0
@@ -42,12 +43,14 @@
 Source1000:     baselibs.conf
 Patch1:         lib-suffix.patch
 Patch2:         fix-soversion.patch
+BuildRequires:  cmake
 BuildRequires:  libacl-devel
 BuildRequires:  libbz2-devel
 BuildRequires:  liblz4-devel
 BuildRequires:  libtool
 BuildRequires:  libxml2-devel
 BuildRequires:  libzstd-devel
+BuildRequires:  ninja
 BuildRequires:  pkgconfig
 BuildRequires:  xz-devel
 BuildRequires:  zlib-devel
@@ -164,27 +167,18 @@
 %autopatch -p1
 
 %build
-export CFLAGS="%{optflags} -D_REENTRANT -pipe"
-export CXXFLAGS="$CFLAGS"
-%configure \
-       --disable-silent-rules \
-%if %{without static_libs}
-       --disable-static \
-%endif
-       --enable-bsdcpio
-
-# lzma mt detection is broken
-sed -i -e "/HAVE_LZMA_STREAM_ENCODER_MT/d" config.h
-
-make %{?_smp_mflags}
+%define __builder ninja
+%cmake
+%cmake_build
 
 %check
-make %{?_smp_mflags} check
+%ctest
 
 %install
-%make_install
+%cmake_install
 
 find %{buildroot} -type f -name "*.la" -delete -print
+rm "%{buildroot}%{_libdir}/libarchive.a"
 rm "%{buildroot}%{_mandir}/man5/"{tar,cpio,mtree}.5*
 sed -i -e '/Libs.private/d' %{buildroot}%{_libdir}/pkgconfig/libarchive.pc
 




Reply via email to